Skip to content

Commit

Permalink
Konnorrogers/upgrade packages (#201)
Browse files Browse the repository at this point in the history
* upgrade packages

* upgrade packages

* fix build

* downgrade prosemirror-view

* prettier

* fix test suite

* update test suite

* fix playwright

* fix playwright

* Fix test suite

* remove activenode

* working on tests

* fixing test suite

* fixing test suite

* prettier

* add a click to delay in CI

* galleries

* playwright install

* playwright install

* fix playwright

* skip in CI
  • Loading branch information
KonnorRogers authored Oct 12, 2024
1 parent 7de4762 commit 0611c16
Show file tree
Hide file tree
Showing 21 changed files with 2,980 additions and 3,141 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-rice-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rhino-editor": minor
---

Update package versions
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
- name: Install via pnpm
run: |
pnpm run setup
pnpm exec playwright install
- name: Lint
run: |
pnpm run lint
Expand All @@ -97,7 +98,6 @@ jobs:
pnpm run test:rails
- name: Doc Tests
run: |
pnpm exec playwright install --with-deps
pnpm run test:docs
- name: Unit Tests
run: |
Expand Down
15 changes: 9 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"devDependencies": {
"esbuild": "^0.21.5",
"glob": "^8.1.0",
"hast-util-to-html": "^9.0.1",
"hast-util-to-html": "^9.0.3",
"light-pen": "^4.1.0",
"postcss": "^8.4.39",
"postcss": "^8.4.47",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^14.1.0",
"postcss-load-config": "^3.1.4",
Expand All @@ -24,16 +24,19 @@
"@hotwired/stimulus": "^3.2.2",
"@hotwired/turbo": "^7.3.0",
"@konnorr/bridgetown-quick-search": "^3.10.4",
"@shoelace-style/shoelace": "^2.15.1",
"@tiptap/extension-character-count": "~2.4.0",
"@tiptap/extension-code-block-lowlight": "~2.4.0",
"@shoelace-style/shoelace": "^2.17.1",
"@tiptap/core": "^2.8.0",
"@tiptap/extension-character-count": "^2.8.0",
"@tiptap/extension-code-block": "^2.8.0",
"@tiptap/extension-code-block-lowlight": "^2.8.0",
"@tiptap/pm": "^2.8.0",
"bridgetown-quick-search": "3.0.3",
"esbuild-plugin-copy": "^2.1.1",
"linkifyjs": "^4.1.3",
"lit": "^3.2.0",
"lowlight": "^3.1.0",
"prism-esm": "1.29.0-fix.6",
"prosemirror-view": "1.33.6",
"prosemirror-view": "^1.34.3",
"read-cache": "^1.0.0",
"rhino-editor": "link:..",
"web-component-lazy-loader": "^1.0.1"
Expand Down
980 changes: 470 additions & 510 deletions docs/pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions esbuild.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function BuildTimer () {
outdir: 'exports',
format: 'esm',
target: "es2020",
bundle: true,
external: deps,
splitting: true,
minify: false,
Expand Down
69 changes: 35 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "exports/index.js",
"module": "exports/index.js",
"scripts": {
"setup": "pnpm install && cd tests/rails && pnpm install && pnpm playwright install --with-deps && bundle install && cd - && cd docs && bundle install && pnpm install",
"setup": "pnpm install && pnpm exec playwright install --with-deps && cd tests/rails && pnpm install && pnpm exec playwright install --with-deps && bundle install && cd - && cd docs && bundle install && pnpm install",
"setup:docs": "pnpm install && pnpm run build && cd docs && bundle install && pnpm install",
"build": "rm -rf {cdn,internal,exports} && pnpm build:types && node esbuild.config.js",
"build:types": "tsc && tsc --declarationDir ./cdn",
Expand Down Expand Up @@ -39,47 +39,48 @@
],
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@custom-elements-manifest/analyzer": "^0.10.2",
"@changesets/cli": "^2.27.8",
"@custom-elements-manifest/analyzer": "^0.10.3",
"@esm-bundle/chai": "4.3.4-fix.0",
"@open-wc/testing": "^3.2.0",
"@playwright/test": "^1.37.1",
"@types/rails__activestorage": "^7.0.1",
"@typescript-eslint/parser": "^6.5.0",
"@web/dev-server": "^0.3.1",
"@web/dev-server-esbuild": "^0.4.1",
"@web/test-runner": "^0.17.1",
"@web/test-runner-commands": "^0.8.0",
"@web/test-runner-playwright": "^0.10.1",
"@open-wc/testing": "^3.2.2",
"@playwright/test": "^1.48.0",
"@types/rails__activestorage": "^7.1.1",
"@typescript-eslint/parser": "^6.21.0",
"@web/dev-server": "^0.3.7",
"@web/dev-server-esbuild": "^0.4.4",
"@web/test-runner": "^0.19.0",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-playwright": "^0.11.0",
"chalk": "^5.3.0",
"concurrently": "^8.2.1",
"esbuild": "^0.19.2",
"eslint": "^8.48.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"prettier": "^3.0.3",
"rhino-editor": "link:.",
"concurrently": "^8.2.2",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"glob": "^10.4.5",
"mocha": "^10.7.3",
"playwright": "^1.48.0",
"prettier": "^3.3.3",
"rhino-editor": "link:",
"sinon": "^15.2.0",
"standard-version": "^9.5.0",
"typescript": "^5.2.2"
"typescript": "^5.6.2"
},
"dependencies": {
"@rails/activestorage": "^7.0.6",
"@tiptap/core": "~2.4.0",
"@tiptap/extension-code-block": "~2.4.0",
"@tiptap/extension-focus": "~2.4.0",
"@tiptap/extension-image": "~2.4.0",
"@tiptap/extension-link": "~2.4.0",
"@tiptap/extension-placeholder": "~2.4.0",
"@tiptap/extension-strike": "~2.4.0",
"@tiptap/pm": "~2.4.0",
"@tiptap/starter-kit": "~2.4.0",
"linkifyjs": "^4.1.1",
"lit": "^2.8.0",
"@rails/activestorage": "^7.2.100",
"@tiptap/core": "^2.2.0",
"@tiptap/extension-code-block": "^2.2.0",
"@tiptap/extension-focus": "^2.2.0",
"@tiptap/extension-image": "^2.2.0",
"@tiptap/extension-link": "^2.2.0",
"@tiptap/extension-placeholder": "^2.2.0",
"@tiptap/extension-strike": "^2.2.0",
"@tiptap/pm": "^2.2.0",
"@tiptap/starter-kit": "^2.2.0",
"linkifyjs": "^4.1.3",
"lit": "^3.2.0",
"prosemirror-utils": "^1.2.2",
"prosemirror-view": "~1.28.0",
"role-components": "3.0.0",
"tslib": "^2.6.2"
"role-components": "^3.0.1",
"tslib": "^2.7.0"
},
"pnpm": {
"overrides": {
Expand Down
Loading

0 comments on commit 0611c16

Please sign in to comment.