Skip to content

Commit

Permalink
chore(deps-dev): bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Dec 7, 2023
1 parent dae85af commit ddf4cc1
Show file tree
Hide file tree
Showing 12 changed files with 1,896 additions and 2,005 deletions.
14 changes: 7 additions & 7 deletions examples/react/with-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"dependencies": {
"@codemirror-toolkit/react": "^0.4.2",
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.15.3",
"@codemirror/state": "^6.3.3",
"@codemirror/view": "^6.22.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"typescript": "^5.1.6",
"vite": "^4.4.7"
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.3.3",
"vite": "^5.0.6"
}
}
14 changes: 7 additions & 7 deletions examples/react/with-extension-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"dependencies": {
"@codemirror-toolkit/extensions": "^0.6.1",
"@codemirror-toolkit/react": "^0.4.2",
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.15.3",
"@codemirror/state": "^6.3.3",
"@codemirror/view": "^6.22.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"typescript": "^5.1.6",
"vite": "^4.4.7"
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.3.3",
"vite": "^5.0.6"
}
}
14 changes: 7 additions & 7 deletions examples/react/with-update-listener/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"dependencies": {
"@codemirror-toolkit/extensions": "^0.6.1",
"@codemirror-toolkit/react": "^0.4.2",
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.15.3",
"@codemirror/state": "^6.3.3",
"@codemirror/view": "^6.22.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"typescript": "^5.1.6",
"vite": "^4.4.7"
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.3.3",
"vite": "^5.0.6"
}
}
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@
"foreach": "yarn workspaces foreach -vp --exclude '@codemirror-toolkit/(monorepo|example-*)'"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/user-event": "^14.4.3",
"@types/eslint": "^8.44.1",
"@types/node": "^20.4.5",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/user-event": "^14.5.1",
"@types/eslint": "^8.44.8",
"@types/node": "^20.10.3",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@typescript/lib-dom": "npm:@types/web@*",
"@vitest/coverage-v8": "^0.33.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-react": "^7.33.0",
"@vitest/coverage-v8": "^1.0.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-testing-library": "^5.11.0",
"eslint-plugin-testing-library": "^6.2.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"typescript": "^5.1.6",
"vite": "^4.4.7",
"vitest": "^0.33.0"
"jsdom": "^23.0.1",
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"vite": "^5.0.6",
"vitest": "^1.0.1"
},
"resolutions": {
"@testing-library/react@^14.0.0": "patch:@testing-library/react@npm%3A14.0.0#./.yarn/patches/@testing-library-react-npm-14.0.0-84fecd033b.patch"
Expand Down
2 changes: 1 addition & 1 deletion packages/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// Modules
"module": "ESNext",
"moduleResolution": "NodeNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"types": [],

Expand Down
4 changes: 2 additions & 2 deletions packages/extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@codemirror/view": "^6.0.0"
},
"devDependencies": {
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.15.3"
"@codemirror/state": "^6.3.3",
"@codemirror/view": "^6.22.1"
}
}
8 changes: 4 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
}
},
"devDependencies": {
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.15.3",
"@codemirror/state": "^6.3.3",
"@codemirror/view": "^6.22.1",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export function createCodeMirror<ContainerElement extends Element>(
if (!view) {
throw new TypeError('Cannot dispatch transaction without a view')
}
// @ts-expect-error: overloaded signature
view.dispatch(...specs)
}, [])

Expand Down
2 changes: 1 addition & 1 deletion packages/react/tests/setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '@testing-library/jest-dom'
import '@testing-library/jest-dom/vitest'

import { cleanup } from '@testing-library/react'
import { afterEach, beforeEach, vi } from 'vitest'
Expand Down
3 changes: 3 additions & 0 deletions packages/react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ export default createViteConfig({
},
test: {
setupFiles: './tests/setup.ts',
coverage: {
all: false,
},
},
})
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"@codemirror/state": "^6.0.0"
},
"devDependencies": {
"@codemirror/state": "^6.2.1"
"@codemirror/state": "^6.3.3"
}
}
Loading

0 comments on commit ddf4cc1

Please sign in to comment.