Skip to content

Commit a9d26da

Browse files
NicolappsConvex, Inc.
authored andcommitted
Fix dependencies of @convex-dev/react-query (#41972)
Currently, importing @convex-dev/react-query makes npm emit warnings since it “depends” on deprecated dependencies. The dependency isn’t actually used by the production code of the package, so let’s fix that. - Remove unused dependency on @auth/core - Move dependencies on convex-helpers and @convex-dev/auth to devDependencies, as they are only used in examples. - Update the version of dependencies used. GitOrigin-RevId: 82c4565f13dbd6750367f9859901de359b123f3c
1 parent 6b5767b commit a9d26da

File tree

2 files changed

+15
-21
lines changed

2 files changed

+15
-21
lines changed

npm-packages/@convex-dev/react-query/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"convex": "^1.28.0"
4040
},
4141
"devDependencies": {
42+
"@convex-dev/auth": "^0.0.90",
4243
"@eslint/compat": "~1.3.0",
4344
"@eslint/eslintrc": "^3",
4445
"@eslint/js": "~9.34.0",
@@ -50,6 +51,7 @@
5051
"@types/react-dom": "^18.0.0",
5152
"@vitejs/plugin-react": "^4.2.1",
5253
"convex": "workspace:*",
54+
"convex-helpers": "^0.1.104",
5355
"eslint": "^9.37.0",
5456
"eslint-config-prettier": "^10.0.0",
5557
"npm-run-all2": "^7.0.0",
@@ -76,11 +78,7 @@
7678
"module": "./dist/esm/index.js",
7779
"main": "./dist/commonjs/index.js",
7880
"types": "./dist/commonjs/index.d.ts",
79-
"dependencies": {
80-
"@auth/core": "^0.37.0",
81-
"@convex-dev/auth": "^0.0.88",
82-
"convex-helpers": "^0.1.104"
83-
},
81+
"dependencies": {},
8482
"overrides": {
8583
"typescript": "~5.0.3"
8684
}

npm-packages/common/config/rush/pnpm-lock.yaml

Lines changed: 12 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)