Skip to content

Commit

Permalink
fix(repo): Use semver ^ for internal dependencies (#4664)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekradko authored Dec 10, 2024
1 parent 1f4577a commit ffa631d
Show file tree
Hide file tree
Showing 24 changed files with 325 additions and 894 deletions.
25 changes: 25 additions & 0 deletions .changeset/quick-bobcats-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
'@clerk/chrome-extension': minor
'@clerk/tanstack-start': minor
'@clerk/expo-passkeys': minor
'@clerk/localizations': minor
'@clerk/react-router': minor
'@clerk/clerk-js': minor
'@clerk/elements': minor
'@clerk/clerk-sdk-node': minor
'@clerk/backend': minor
'@clerk/fastify': minor
'@clerk/testing': minor
'@clerk/nextjs': minor
'@clerk/shared': minor
'@clerk/themes': minor
'@clerk/astro': minor
'@clerk/clerk-react': minor
'@clerk/remix': minor
'@clerk/clerk-expo': minor
'@clerk/nuxt': minor
'@clerk/vue': minor
'@clerk/ui': minor
---

Switching to use ^ for semver ranges of internal @clerk/ production dependencies.
6 changes: 3 additions & 3 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
"publish:local": "pnpm yalc push --replace --sig"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"nanoid": "5.0.9",
"nanostores": "0.11.3"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
"test:cloudflare-miniflare": "vitest --environment miniflare"
},
"dependencies": {
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"cookie": "0.7.0",
"snakecase-keys": "5.4.4",
"tslib": "catalog:repo"
Expand Down
6 changes: 3 additions & 3 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "workspace:*",
"@clerk/clerk-react": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/clerk-js": "workspace:^",
"@clerk/clerk-react": "workspace:^",
"@clerk/shared": "workspace:^",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/clerk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
},
"browserslist": "last 2 years, Safari > 12, iOS > 12",
"dependencies": {
"@clerk/localizations": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/localizations": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"@coinbase/wallet-sdk": "4.0.4",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/clerk-react": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"@radix-ui/primitive": "^1.1.0",
"@radix-ui/react-form": "^0.1.0",
"@radix-ui/react-slot": "^1.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/expo-passkeys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"publish:local": "pnpm yalc push --replace --sig"
},
"dependencies": {
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"expo-modules-core": "1.12.26"
},
"devDependencies": {},
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
"publish:local": "pnpm yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "workspace:*",
"@clerk/clerk-react": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/clerk-js": "workspace:^",
"@clerk/clerk-react": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0",
"tslib": "catalog:repo"
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"cookies": "0.8.0",
"fastify-plugin": "^5.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/localizations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"lint": "eslint src/"
},
"dependencies": {
"@clerk/types": "workspace:*"
"@clerk/types": "workspace:^"
},
"devDependencies": {
"@clerk/eslint-config-custom": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
"test": "vitest"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/clerk-react": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/clerk-react": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"crypto-js": "4.2.0",
"server-only": "0.0.1",
"tslib": "catalog:repo"
Expand Down
8 changes: 4 additions & 4 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"test": "vitest"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/vue": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"@clerk/vue": "workspace:^",
"@nuxt/kit": "^3.14.159",
"@nuxt/schema": "^3.14.159",
"h3": "^1.13.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
"publish:local": "pnpm dlx yalc push --replace --sig"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/clerk-react": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/clerk-react": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"cookie": "0.7.0",
"tslib": "catalog:repo"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"test:ci": "jest --maxWorkers=70%"
},
"dependencies": {
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"tslib": "catalog:repo"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
"publish:local": "pnpm yalc push --replace --sig"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/clerk-react": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/clerk-react": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"cookie": "0.7.0",
"tslib": "catalog:repo"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
"test:ci": "jest --maxWorkers=70%"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"tslib": "catalog:repo"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/types": "workspace:*",
"@clerk/types": "workspace:^",
"dequal": "2.0.3",
"glob-to-regexp": "0.4.1",
"js-cookie": "3.0.5",
Expand Down
8 changes: 4 additions & 4 deletions packages/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
"publish:local": "pnpm yalc push --replace --sig"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/clerk-react": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/clerk-react": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"tslib": "catalog:repo"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
"lint": "eslint src/"
},
"dependencies": {
"@clerk/backend": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/backend": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"dotenv": "16.4.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"lint": "eslint src/"
},
"dependencies": {
"@clerk/types": "workspace:*",
"@clerk/types": "workspace:^",
"tslib": "catalog:repo"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
"test": "vitest"
},
"dependencies": {
"@clerk/elements": "workspace:*",
"@clerk/localizations": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@clerk/elements": "workspace:^",
"@clerk/localizations": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"@formkit/auto-animate": "^0.8.2",
"@radix-ui/react-slot": "^1.1.0",
"clsx": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"test:ci": "vitest --maxWorkers=70%"
},
"dependencies": {
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*"
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^"
},
"devDependencies": {
"@testing-library/vue": "^8.1.0",
Expand Down
8 changes: 4 additions & 4 deletions playground/fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"start": "ts-node ./src/server.ts"
},
"dependencies": {
"@clerk/backend": "workspace:^",
"@clerk/fastify": "workspace:^",
"@clerk/shared": "workspace:^",
"@clerk/types": "workspace:^",
"@clerk/backend": "workspace:*",
"@clerk/fastify": "workspace:*",
"@clerk/shared": "workspace:*",
"@clerk/types": "workspace:*",
"@fastify/view": "^10.0.1",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
Expand Down
Loading

0 comments on commit ffa631d

Please sign in to comment.