Skip to content

Commit

Permalink
chore(repo): Lift common devDeps to root (#4770)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekradko authored Dec 20, 2024
1 parent c6837d1 commit ecec6ad
Show file tree
Hide file tree
Showing 27 changed files with 253 additions and 525 deletions.
2 changes: 2 additions & 0 deletions .changeset/metal-tables-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@testing-library/user-event": "^14.5.2",
"@types/cross-spawn": "^6.0.3",
"@types/jest": "^29.3.1",
"@types/node": "^20.11.24",
"@types/node": "^20.17.10",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"@vitest/coverage-v8": "2.1.4",
Expand Down
4 changes: 1 addition & 3 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@
"nanostores": "0.11.3"
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"react": "catalog:react",
"typescript": "catalog:repo"
"@clerk/eslint-config-custom": "workspace:*"
},
"peerDependencies": {
"astro": "^4.15.0 || ^5.0.0"
Expand Down
3 changes: 0 additions & 3 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,8 @@
"@clerk/eslint-config-custom": "workspace:*",
"@edge-runtime/vm": "4.0.4",
"@types/cookie": "^0.6.0",
"@types/node": "^18.19.33",
"msw": "2.6.4",
"npm-run-all": "^4.1.5",
"tsup": "catalog:repo",
"typescript": "catalog:repo",
"vitest-environment-miniflare": "2.14.4"
},
"engines": {
Expand Down
7 changes: 1 addition & 6 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,8 @@
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@types/chrome": "*",
"@types/node": "^18.19.33",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"@types/webextension-polyfill": "^0.10.7",
"tsup": "catalog:repo",
"type-fest": "^4.8.3",
"typescript": "catalog:repo"
"type-fest": "^4.8.3"
},
"peerDependencies": {
"react": "catalog:peer-react",
Expand Down
3 changes: 0 additions & 3 deletions packages/clerk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,12 @@
"@rspack/core": "^1.0.14",
"@rspack/plugin-react-refresh": "^1.0.0",
"@svgr/webpack": "^6.2.1",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"@types/webpack-dev-server": "^4.7.2",
"@types/webpack-env": "^1.16.4",
"react-refresh": "^0.14.0",
"react-refresh-typescript": "^2.0.5",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.3.0",
"typescript": "catalog:repo",
"webpack-merge": "^5.9.0"
},
"peerDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions packages/dev-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
"jscodeshift": "^0.16.1"
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@types/node": "^20.14.8",
"typescript": "catalog:repo"
"@clerk/eslint-config-custom": "workspace:*"
},
"engines": {
"node": ">=18.17.0"
Expand Down
9 changes: 2 additions & 7 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,15 @@
"@radix-ui/react-slot": "^1.1.0",
"@xstate/react": "^4.1.1",
"client-only": "^0.0.1",
"tslib": "catalog:repo",
"xstate": "^5.15.0"
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@statelyai/inspect": "^0.4.0",
"@types/node": "^18.19.33",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"concurrently": "^8.2.2",
"next": "^14.2.18",
"tslib": "catalog:repo",
"tsup": "catalog:repo",
"type-fest": "^4.29.0",
"typescript": "catalog:repo"
"type-fest": "^4.29.0"
},
"peerDependencies": {
"next": "^13.5.4 || ^14.0.3 || ^15",
Expand Down
3 changes: 1 addition & 2 deletions packages/expo-passkeys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@
"@clerk/types": "workspace:^",
"expo-modules-core": "1.12.26"
},
"devDependencies": {},
"peerDependencies": {
"expo": "*",
"react": "*",
"react": "catalog:peer-react",
"react-native": "*"
}
}
10 changes: 3 additions & 7 deletions packages/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,24 +78,20 @@
"@clerk/eslint-config-custom": "workspace:*",
"@clerk/expo-passkeys": "workspace:*",
"@types/base-64": "^1.0.2",
"@types/node": "^20.11.24",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"expo-auth-session": "^5.4.0",
"expo-local-authentication": "^13.8.0",
"expo-secure-store": "^12.8.1",
"expo-web-browser": "^12.8.2",
"react-native": "^0.73.9",
"typescript": "catalog:repo"
"react-native": "^0.73.9"
},
"peerDependencies": {
"@clerk/expo-passkeys": ">=0.0.6",
"expo-auth-session": ">=5",
"expo-local-authentication": ">=13.5.0",
"expo-secure-store": ">=12.4.0",
"expo-web-browser": ">=12.5.0",
"react": ">=18",
"react-dom": ">=18",
"react": "catalog:peer-react",
"react-dom": "catalog:peer-react",
"react-native": ">=0.73"
},
"peerDependenciesMeta": {
Expand Down
5 changes: 1 addition & 4 deletions packages/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^18.19.33",
"@types/supertest": "^6.0.2",
"express": "^4.20.0",
"supertest": "^6.3.4",
"tsup": "catalog:repo",
"typescript": "catalog:repo"
"supertest": "^6.3.4"
},
"peerDependencies": {
"express": "^4.17.0 || ^5.0.0"
Expand Down
5 changes: 1 addition & 4 deletions packages/fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@types/node": "^20.14.8",
"fastify": "^5.0.0",
"tsup": "catalog:repo",
"typescript": "catalog:repo"
"fastify": "^5.0.0"
},
"peerDependencies": {
"fastify": ">=5"
Expand Down
4 changes: 1 addition & 3 deletions packages/localizations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@
"@clerk/types": "workspace:^"
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"tsup": "catalog:repo",
"typescript": "catalog:repo"
"@clerk/eslint-config-custom": "workspace:*"
},
"engines": {
"node": ">=18.17.0"
Expand Down
4 changes: 1 addition & 3 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@types/crypto-js": "4.2.2",
"@types/node": "^18.19.33",
"next": "^14.2.20",
"typescript": "catalog:repo"
"next": "^14.2.20"
},
"peerDependencies": {
"next": "^13.5.4 || ^14.0.3 || ^15.0.0",
Expand Down
6 changes: 1 addition & 5 deletions packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,8 @@
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@types/cookie": "^0.6.0",
"@types/node": "^18.19.33",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"esbuild-plugin-file-path-extensions": "^2.1.3",
"react-router": "7.0.2",
"typescript": "catalog:repo"
"react-router": "7.0.2"
},
"peerDependencies": {
"react": "catalog:peer-react",
Expand Down
4 changes: 1 addition & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@
"@clerk/eslint-config-custom": "workspace:*",
"@clerk/localizations": "workspace:*",
"@clerk/themes": "workspace:*",
"@types/node": "^18.19.33",
"@types/semver": "^7.5.8",
"typescript": "catalog:repo"
"@types/semver": "^7.5.8"
},
"peerDependencies": {
"react": "catalog:peer-react",
Expand Down
6 changes: 1 addition & 5 deletions packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,7 @@
"@clerk/eslint-config-custom": "workspace:*",
"@remix-run/react": "^2.0.0",
"@remix-run/server-runtime": "^2.0.0",
"@types/cookie": "^0.6.0",
"@types/node": "^18.19.33",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"typescript": "catalog:repo"
"@types/cookie": "^0.6.0"
},
"peerDependencies": {
"@remix-run/react": "^2.0.0",
Expand Down
5 changes: 1 addition & 4 deletions packages/sdk-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,8 @@
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@types/express": "^4.17.21",
"@types/node": "^18.19.33",
"nock": "^13.0.7",
"npm-run-all": "^4.1.5",
"tsup": "catalog:repo",
"typescript": "catalog:repo"
"npm-run-all": "^4.1.5"
},
"engines": {
"node": ">=18.17.0"
Expand Down
5 changes: 1 addition & 4 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,8 @@
"@clerk/eslint-config-custom": "workspace:*",
"@types/glob-to-regexp": "0.4.4",
"@types/js-cookie": "3.0.6",
"@types/node": "^18.19.33",
"cross-fetch": "^4.0.0",
"esbuild": "0.20.2",
"tsup": "catalog:repo",
"typescript": "catalog:repo"
"esbuild": "0.20.2"
},
"peerDependencies": {
"react": "catalog:peer-react",
Expand Down
4 changes: 0 additions & 4 deletions packages/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@
"@clerk/eslint-config-custom": "workspace:*",
"@tanstack/react-router": "^1.81.9",
"@tanstack/start": "^1.81.9",
"@types/node": "^18.19.43",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"esbuild-plugin-file-path-extensions": "^2.1.2",
"typescript": "catalog:repo",
"vinxi": "^0.4.1"
},
"peerDependencies": {
Expand Down
5 changes: 1 addition & 4 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@playwright/test": "^1.44.0",
"@types/node": "^18.19.33",
"cypress": "^13.9.0",
"tsup": "catalog:repo",
"typescript": "catalog:repo"
"cypress": "^13.9.0"
},
"peerDependencies": {
"@playwright/test": "^1",
Expand Down
3 changes: 1 addition & 2 deletions packages/themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"tslib": "catalog:repo"
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"typescript": "catalog:repo"
"@clerk/eslint-config-custom": "workspace:*"
},
"engines": {
"node": ">=18.17.0"
Expand Down
5 changes: 1 addition & 4 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@
"csstype": "3.1.1"
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
"@types/node": "^18.19.33",
"tsup": "catalog:repo",
"typescript": "catalog:repo"
"@clerk/eslint-config-custom": "workspace:*"
},
"engines": {
"node": ">=18.17.0"
Expand Down
4 changes: 0 additions & 4 deletions packages/ui/theme-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@
"zustand": "^4.5.5"
},
"devDependencies": {
"@types/node": "^20.12.12",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.1",
"typescript": "^5.6.3",
"zx": "^8.1.9"
}
}
1 change: 0 additions & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"devDependencies": {
"@testing-library/vue": "^8.1.0",
"@vue.ts/tsx-auto-props": "^0.6.0",
"typescript": "catalog:repo",
"vue": "3.5.12"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit ecec6ad

Please sign in to comment.