From abfc5d23decfa59965d52b6c2423c5274ac9f8b9 Mon Sep 17 00:00:00 2001 From: Binoy Patel Date: Wed, 20 Mar 2024 12:28:11 -0400 Subject: [PATCH] Revert "fix: use workspace protocol for all workspace dependencies (#6088)" (#6092) This reverts commit 06531345b184746e2d3cd12becc913397fefa59b. --- dev/studio-e2e-testing/package.json | 2 +- dev/test-studio/package.json | 2 +- examples/ecommerce-studio/package.json | 2 +- packages/@sanity/block-tools/package.json | 4 +- packages/@sanity/cli/package.json | 2 +- packages/@sanity/export/package.json | 2 +- packages/@sanity/import-cli/package.json | 2 +- packages/@sanity/import/package.json | 2 +- packages/@sanity/migrate/package.json | 4 +- packages/@sanity/mutator/package.json | 2 +- .../@sanity/portable-text-editor/package.json | 8 +-- packages/@sanity/schema/package.json | 2 +- packages/@sanity/util/package.json | 2 +- packages/create-sanity/package.json | 2 +- packages/sanity/package.json | 22 +++---- pnpm-lock.yaml | 60 +++++++++---------- 16 files changed, 60 insertions(+), 60 deletions(-) diff --git a/dev/studio-e2e-testing/package.json b/dev/studio-e2e-testing/package.json index cee0327ac19..e9e688b1b8a 100644 --- a/dev/studio-e2e-testing/package.json +++ b/dev/studio-e2e-testing/package.json @@ -17,7 +17,7 @@ "@sanity/google-maps-input": "^3.0.1", "@sanity/icons": "^2.11.0", "@sanity/ui": "^2.0.10", - "@sanity/vision": "workspace:*", + "@sanity/vision": "3.35.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-is": "^18.2.0", diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index 8d5268fb9f8..2e1c7b65a60 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -21,7 +21,7 @@ "@react-three/drei": "^9.80.1", "@react-three/fiber": "^8.13.6", "@sanity/assist": "^2.0.0", - "@sanity/block-tools": "workspace:*", + "@sanity/block-tools": "3.35.0", "@sanity/client": "^6.15.6", "@sanity/color": "^3.0.0", "@sanity/google-maps-input": "^3.0.1", diff --git a/examples/ecommerce-studio/package.json b/examples/ecommerce-studio/package.json index 5eb095cb1e0..523f55a8ef2 100644 --- a/examples/ecommerce-studio/package.json +++ b/examples/ecommerce-studio/package.json @@ -29,7 +29,7 @@ "start": "sanity dev --port 3337" }, "dependencies": { - "@sanity/cli": "workspace:*", + "@sanity/cli": "3.35.0", "@sanity/ui": "^2.0.10", "react": "^18.2.0", "react-barcode": "^1.4.1", diff --git a/packages/@sanity/block-tools/package.json b/packages/@sanity/block-tools/package.json index c2f0886a93c..110e5fe2fd9 100644 --- a/packages/@sanity/block-tools/package.json +++ b/packages/@sanity/block-tools/package.json @@ -60,8 +60,8 @@ }, "devDependencies": { "@jest/globals": "^29.7.0", - "@sanity/schema": "workspace:*", - "@sanity/types": "workspace:*", + "@sanity/schema": "3.35.0", + "@sanity/types": "3.35.0", "@types/jsdom": "^20.0.0", "@types/lodash": "^4.14.149", "@types/react": "^18.2.37", diff --git a/packages/@sanity/cli/package.json b/packages/@sanity/cli/package.json index 784d12d0a87..726dcdd7964 100644 --- a/packages/@sanity/cli/package.json +++ b/packages/@sanity/cli/package.json @@ -64,7 +64,7 @@ "dependencies": { "@babel/traverse": "^7.23.5", "@sanity/telemetry": "^0.7.6", - "@sanity/util": "workspace:*", + "@sanity/util": "3.35.0", "chalk": "^4.1.2", "decompress": "^4.2.0", "esbuild": "^0.20.0", diff --git a/packages/@sanity/export/package.json b/packages/@sanity/export/package.json index 1aee35a8897..293f74846fe 100644 --- a/packages/@sanity/export/package.json +++ b/packages/@sanity/export/package.json @@ -31,7 +31,7 @@ "test": "jest" }, "dependencies": { - "@sanity/util": "workspace:*", + "@sanity/util": "3.35.0", "archiver": "^7.0.0", "debug": "^4.3.4", "get-it": "^8.4.14", diff --git a/packages/@sanity/import-cli/package.json b/packages/@sanity/import-cli/package.json index 54b3569194f..f99fc49f60e 100644 --- a/packages/@sanity/import-cli/package.json +++ b/packages/@sanity/import-cli/package.json @@ -32,7 +32,7 @@ ], "dependencies": { "@sanity/client": "^6.15.6", - "@sanity/import": "workspace:*", + "@sanity/import": "3.35.0", "get-it": "^8.4.14", "meow": "^9.0.0", "ora": "^5.4.1", diff --git a/packages/@sanity/import/package.json b/packages/@sanity/import/package.json index a8faf1a092d..d5bf4c4f6bf 100644 --- a/packages/@sanity/import/package.json +++ b/packages/@sanity/import/package.json @@ -34,7 +34,7 @@ "dependencies": { "@sanity/asset-utils": "^1.2.5", "@sanity/generate-help-url": "^3.0.0", - "@sanity/mutator": "workspace:*", + "@sanity/mutator": "3.35.0", "@sanity/uuid": "^3.0.1", "debug": "^4.3.4", "file-url": "^2.0.2", diff --git a/packages/@sanity/migrate/package.json b/packages/@sanity/migrate/package.json index 3095325d222..4f371421819 100644 --- a/packages/@sanity/migrate/package.json +++ b/packages/@sanity/migrate/package.json @@ -65,8 +65,8 @@ "dependencies": { "@bjoerge/mutiny": "^0.5.1", "@sanity/client": "^6.15.6", - "@sanity/types": "workspace:*", - "@sanity/util": "workspace:*", + "@sanity/types": "3.35.0", + "@sanity/util": "3.35.0", "arrify": "^2.0.1", "debug": "^4.3.4", "fast-fifo": "^1.3.2", diff --git a/packages/@sanity/mutator/package.json b/packages/@sanity/mutator/package.json index 38a26b261ad..097ee5bc7e7 100644 --- a/packages/@sanity/mutator/package.json +++ b/packages/@sanity/mutator/package.json @@ -62,7 +62,7 @@ }, "devDependencies": { "@jest/globals": "^29.7.0", - "@sanity/types": "workspace:*", + "@sanity/types": "3.35.0", "@types/debug": "^4.1.5", "@types/lodash": "^4.14.149", "rimraf": "^3.0.2" diff --git a/packages/@sanity/portable-text-editor/package.json b/packages/@sanity/portable-text-editor/package.json index 64b0f0925ac..57fca01ee33 100644 --- a/packages/@sanity/portable-text-editor/package.json +++ b/packages/@sanity/portable-text-editor/package.json @@ -64,10 +64,10 @@ "watch": "pkg-utils watch --tsconfig tsconfig.lib.json" }, "dependencies": { - "@sanity/block-tools": "workspace:*", - "@sanity/schema": "workspace:*", - "@sanity/types": "workspace:*", - "@sanity/util": "workspace:*", + "@sanity/block-tools": "3.35.0", + "@sanity/schema": "3.35.0", + "@sanity/types": "3.35.0", + "@sanity/util": "3.35.0", "debug": "^3.2.7", "is-hotkey": "^0.2.0", "lodash": "^4.17.21", diff --git a/packages/@sanity/schema/package.json b/packages/@sanity/schema/package.json index e4b38b1d3b1..e383ec241a6 100644 --- a/packages/@sanity/schema/package.json +++ b/packages/@sanity/schema/package.json @@ -75,7 +75,7 @@ }, "dependencies": { "@sanity/generate-help-url": "^3.0.0", - "@sanity/types": "workspace:*", + "@sanity/types": "3.35.0", "arrify": "^1.0.1", "groq-js": "^1.5.0", "humanize-list": "^1.0.1", diff --git a/packages/@sanity/util/package.json b/packages/@sanity/util/package.json index 501e4b2749f..c08d1722a9f 100644 --- a/packages/@sanity/util/package.json +++ b/packages/@sanity/util/package.json @@ -163,7 +163,7 @@ }, "dependencies": { "@sanity/client": "^6.15.6", - "@sanity/types": "workspace:*", + "@sanity/types": "3.35.0", "get-random-values-esm": "1.0.2", "moment": "^2.29.4", "rxjs": "^7.8.1" diff --git a/packages/create-sanity/package.json b/packages/create-sanity/package.json index 2ce83e8172a..228b33c2c80 100644 --- a/packages/create-sanity/package.json +++ b/packages/create-sanity/package.json @@ -26,7 +26,7 @@ "index.js" ], "dependencies": { - "@sanity/cli": "workspace:*", + "@sanity/cli": "3.35.0", "resolve-pkg": "^2.0.0" }, "engines": { diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 097f57127d1..29b1170ae89 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -199,29 +199,29 @@ "@rexxars/react-json-inspector": "^8.0.1", "@sanity/asset-utils": "^1.2.5", "@sanity/bifur-client": "^0.3.1", - "@sanity/block-tools": "workspace:*", - "@sanity/cli": "workspace:*", + "@sanity/block-tools": "3.35.0", + "@sanity/cli": "3.35.0", "@sanity/client": "^6.15.6", "@sanity/codegen": "workspace:*", "@sanity/color": "^3.0.0", - "@sanity/diff": "workspace:*", + "@sanity/diff": "3.35.0", "@sanity/diff-match-patch": "^3.1.1", "@sanity/eventsource": "^5.0.0", - "@sanity/export": "workspace:*", + "@sanity/export": "3.35.0", "@sanity/generate-help-url": "^3.0.0", "@sanity/icons": "^2.11.0", "@sanity/image-url": "^1.0.2", - "@sanity/import": "workspace:*", + "@sanity/import": "3.35.0", "@sanity/logos": "^2.1.4", - "@sanity/migrate": "workspace:*", - "@sanity/mutator": "workspace:*", - "@sanity/portable-text-editor": "workspace:*", + "@sanity/migrate": "3.35.0", + "@sanity/mutator": "3.35.0", + "@sanity/portable-text-editor": "3.35.0", "@sanity/presentation": "1.11.8", - "@sanity/schema": "workspace:*", + "@sanity/schema": "3.35.0", "@sanity/telemetry": "^0.7.6", - "@sanity/types": "workspace:*", + "@sanity/types": "3.35.0", "@sanity/ui": "^2.0.10", - "@sanity/util": "workspace:*", + "@sanity/util": "3.35.0", "@sanity/uuid": "^3.0.1", "@tanstack/react-virtual": "3.0.0-beta.54", "@types/is-hotkey": "^0.1.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c31f14b977d..c8102e7715f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -320,7 +320,7 @@ importers: specifier: ^2.0.10 version: 2.0.10(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/vision': - specifier: workspace:* + specifier: 3.35.0 version: link:../../packages/@sanity/vision react: specifier: ^18.2.0 @@ -384,7 +384,7 @@ importers: specifier: ^2.0.0 version: 2.0.4(react-dom@18.2.0)(react@18.2.0)(sanity@packages+sanity)(styled-components@6.1.8) '@sanity/block-tools': - specifier: workspace:* + specifier: 3.35.0 version: link:../../packages/@sanity/block-tools '@sanity/client': specifier: ^6.15.6 @@ -559,7 +559,7 @@ importers: examples/ecommerce-studio: dependencies: '@sanity/cli': - specifier: workspace:* + specifier: 3.35.0 version: link:../../packages/@sanity/cli '@sanity/ui': specifier: ^2.0.10 @@ -611,10 +611,10 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@sanity/schema': - specifier: workspace:* + specifier: 3.35.0 version: link:../schema '@sanity/types': - specifier: workspace:* + specifier: 3.35.0 version: link:../types '@types/jsdom': specifier: ^20.0.0 @@ -638,7 +638,7 @@ importers: specifier: ^0.7.6 version: 0.7.7 '@sanity/util': - specifier: workspace:* + specifier: 3.35.0 version: link:../util chalk: specifier: ^4.1.2 @@ -920,7 +920,7 @@ importers: packages/@sanity/export: dependencies: '@sanity/util': - specifier: workspace:* + specifier: 3.35.0 version: link:../util archiver: specifier: ^7.0.0 @@ -963,7 +963,7 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/mutator': - specifier: workspace:* + specifier: 3.35.0 version: link:../mutator '@sanity/uuid': specifier: ^3.0.1 @@ -1027,7 +1027,7 @@ importers: specifier: ^6.15.6 version: 6.15.6 '@sanity/import': - specifier: workspace:* + specifier: 3.35.0 version: link:../import get-it: specifier: ^8.4.14 @@ -1051,10 +1051,10 @@ importers: specifier: ^6.15.6 version: 6.15.6 '@sanity/types': - specifier: workspace:* + specifier: 3.35.0 version: link:../types '@sanity/util': - specifier: workspace:* + specifier: 3.35.0 version: link:../util arrify: specifier: ^2.0.1 @@ -1104,7 +1104,7 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@sanity/types': - specifier: workspace:* + specifier: 3.35.0 version: link:../types '@types/debug': specifier: ^4.1.5 @@ -1119,16 +1119,16 @@ importers: packages/@sanity/portable-text-editor: dependencies: '@sanity/block-tools': - specifier: workspace:* + specifier: 3.35.0 version: link:../block-tools '@sanity/schema': - specifier: workspace:* + specifier: 3.35.0 version: link:../schema '@sanity/types': - specifier: workspace:* + specifier: 3.35.0 version: link:../types '@sanity/util': - specifier: workspace:* + specifier: 3.35.0 version: link:../util debug: specifier: ^3.2.7 @@ -1240,7 +1240,7 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/types': - specifier: workspace:* + specifier: 3.35.0 version: link:../types arrify: specifier: ^1.0.1 @@ -1293,7 +1293,7 @@ importers: specifier: ^6.15.6 version: 6.15.6 '@sanity/types': - specifier: workspace:* + specifier: 3.35.0 version: link:../types get-random-values-esm: specifier: 1.0.2 @@ -1397,7 +1397,7 @@ importers: packages/create-sanity: dependencies: '@sanity/cli': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/cli resolve-pkg: specifier: ^2.0.0 @@ -1435,10 +1435,10 @@ importers: specifier: ^0.3.1 version: 0.3.1 '@sanity/block-tools': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/block-tools '@sanity/cli': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/cli '@sanity/client': specifier: ^6.15.6 @@ -1450,7 +1450,7 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/diff': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/diff '@sanity/diff-match-patch': specifier: ^3.1.1 @@ -1459,7 +1459,7 @@ importers: specifier: ^5.0.0 version: 5.0.1 '@sanity/export': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/export '@sanity/generate-help-url': specifier: ^3.0.0 @@ -1471,37 +1471,37 @@ importers: specifier: ^1.0.2 version: 1.0.2 '@sanity/import': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/import '@sanity/logos': specifier: ^2.1.4 version: 2.1.7(@sanity/color@3.0.0)(react@18.2.0) '@sanity/migrate': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/migrate '@sanity/mutator': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/mutator '@sanity/portable-text-editor': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/portable-text-editor '@sanity/presentation': specifier: 1.11.8 version: 1.11.8(@sanity/client@6.15.6)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/schema': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/schema '@sanity/telemetry': specifier: ^0.7.6 version: 0.7.7 '@sanity/types': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/types '@sanity/ui': specifier: ^2.0.10 version: 2.0.10(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/util': - specifier: workspace:* + specifier: 3.35.0 version: link:../@sanity/util '@sanity/uuid': specifier: ^3.0.1