Skip to content

Commit

Permalink
Update dev dependencies (#513)
Browse files Browse the repository at this point in the history
- Bump the devdependencies group with 18 updates
- Add some new deps to dev deps
- Updated eslint config to count default towards exhaustive switch
checks

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Paul Sachs <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
paul-sachs and dependabot[bot] authored Feb 4, 2025
1 parent cb3a1a6 commit e70ddea
Show file tree
Hide file tree
Showing 9 changed files with 966 additions and 766 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ module.exports = {
"@typescript-eslint/strict-boolean-expressions": "error",
"@typescript-eslint/no-unnecessary-condition": "error",
"@typescript-eslint/array-type": "off", // we use complex typings, where Array is actually more readable than T[]
"@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/switch-exhaustiveness-check": [
"error",
{
considerDefaultExhaustiveForUnions: true,
},
],
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
"@typescript-eslint/no-invalid-void-type": "error",
Expand Down
2 changes: 2 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ updates:
- "typescript"
- "vite"
- "vitest"
- "@vitest/*"
reactQuery:
patterns:
- "@tanstack/react-query"
- "@tanstack/react-query-devtools"
- "@tanstack/query-core"
1,663 changes: 928 additions & 735 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@
},
"devDependencies": {
"@bufbuild/license-header": "^0.0.4",
"@types/node": "^22.8.6",
"@typescript-eslint/eslint-plugin": "7.15.0",
"@typescript-eslint/parser": "7.15.0",
"@typescript-eslint/utils": "7.15.0",
"@vitest/ui": "^2.1.4",
"cspell": "8.15.5",
"@types/node": "^22.13.0",
"@typescript-eslint/eslint-plugin": "8.22.0",
"@typescript-eslint/parser": "8.22.0",
"@typescript-eslint/utils": "8.22.0",
"@vitest/ui": "^3.0.5",
"cspell": "8.17.3",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-config-prettier": "10.0.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.10.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-vitest": "0.5.4",
"prettier": "3.3.3",
"turbo": "^2.2.3",
"typescript": "5.6.3",
"vitest": "^2.1.4"
"prettier": "3.4.2",
"turbo": "^2.4.0",
"typescript": "5.7.3",
"vitest": "^3.0.4"
},
"engineStrict": true,
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/connect-query-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@arethetypeswrong/cli": "^0.17.3",
"@bufbuild/buf": "1.46.0",
"@bufbuild/jest-environment-jsdom": "^0.1.1",
"@bufbuild/protobuf": "^2.2.1",
"@bufbuild/protoc-gen-es": "^2.2.1",
"@connectrpc/connect": "^2.0.0",
"@connectrpc/connect-web": "^2.0.0",
"test-utils": "*",
"typescript": "^5.6.3",
"typescript": "^5.7.3",
"@tanstack/query-core": "^5.62.7"
},
"peerDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions packages/connect-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@
"@connectrpc/connect-query-core": "^2.0.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@arethetypeswrong/cli": "^0.17.3",
"@bufbuild/buf": "1.46.0",
"@bufbuild/jest-environment-jsdom": "^0.1.1",
"@bufbuild/protobuf": "^2.2.1",
"@bufbuild/protoc-gen-es": "^2.2.1",
"@connectrpc/connect": "^2.0.0",
"@connectrpc/connect-web": "^2.0.0",
"@tanstack/react-query": "^5.66.0",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"@tanstack/react-query": "^5.62.7",
"@testing-library/react": "^16.2.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"test-utils": "*",
"typescript": "^5.6.3"
"typescript": "^5.7.3"
},
"peerDependencies": {
"@bufbuild/protobuf": "2.x",
Expand Down
10 changes: 5 additions & 5 deletions packages/examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-query-devtools": "^5.66.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"@testing-library/react": "^16.2.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.6.3",
"vite": "^5.4.14"
"typescript": "^5.7.3",
"vite": "^6.0.11"
}
}
4 changes: 2 additions & 2 deletions packages/protoc-gen-connect-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@bufbuild/protoc-gen-es": "^2.2.1",
"@connectrpc/connect": "^2.0.0",
"@connectrpc/connect-query": "^2.0.1",
"@tanstack/react-query": "^5.66.0",
"typescript": "^5.6.3"
"@tanstack/react-query": "^5.59.16",
"typescript": "^5.7.3"
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@bufbuild/protoc-gen-es": "^2.2.1",
"@connectrpc/connect": "^2.0.0",
"@connectrpc/connect-web": "^2.0.0",
"@types/react": "^19.0.1",
"@types/react": "^19.0.8",
"react": "^19.0.0"
},
"files": [
Expand Down

0 comments on commit e70ddea

Please sign in to comment.