Skip to content

Commit

Permalink
chore: fix dependency issues
Browse files Browse the repository at this point in the history
The @sanity/client was added to a lot of packages that didn't require it,
causing dep-check to fail.

Also there was some leftovers from the revoval of block-tools
  • Loading branch information
skogsmaskin committed Jan 30, 2025
1 parent 293a6b8 commit 9d4c639
Show file tree
Hide file tree
Showing 24 changed files with 131 additions and 388 deletions.
5 changes: 1 addition & 4 deletions dev/depcheck-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
"version": "3.72.1",
"private": true,
"license": "MIT",
"author": "Sanity.io <[email protected]>",
"dependencies": {
"@sanity/client": "6.25.0-alpha.0"
}
"author": "Sanity.io <[email protected]>"
}
1 change: 0 additions & 1 deletion dev/design-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"start": "../.bin/sanity start --port 4000"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/icons": "^3.5.7",
"@sanity/ui": "^2.11.7",
"react": "^18.3.1",
Expand Down
1 change: 0 additions & 1 deletion dev/embedded-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"preview": "vite preview"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/ui": "^2.11.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
1 change: 0 additions & 1 deletion dev/page-building-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"start": "../.bin/sanity start"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/vision": "workspace:*",
"babel-plugin-react-compiler": "19.0.0-beta-27714ef-20250124",
"react": "^18.2.0",
Expand Down
1 change: 0 additions & 1 deletion dev/strict-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"start": "../.bin/sanity start"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sanity": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion dev/studio-e2e-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"start": "sanity preview --port 3339"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/color-input": "^4.0.1",
"@sanity/google-maps-input": "^4.0.0",
"@sanity/icons": "^3.5.7",
Expand Down
1 change: 0 additions & 1 deletion dev/test-create-integration-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"start": "../.bin/sanity start"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/code-input": "^5.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
1 change: 0 additions & 1 deletion examples/blog-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"start": "sanity dev --port 3336"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sanity": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion examples/clean-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"start": "sanity dev --port 3338"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sanity": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion examples/movies-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"start": "sanity dev --port 3334"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/google-maps-input": "^4.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@repo/package.config": "workspace:*",
"@repo/test-config": "workspace:*",
"@repo/tsconfig": "workspace:*",
"@sanity/client": "^6.27.2",
"@sanity/client": "6.25.0-alpha.0",
"@sanity/eslint-config-i18n": "1.0.0",
"@sanity/eslint-config-studio": "^4.0.0",
"@sanity/mutate": "^0.12.1",
Expand Down
5 changes: 1 addition & 4 deletions packages/@repo/dev-aliases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,5 @@
".": "./dev-aliases.cjs",
"./vite": "./vite.mjs"
},
"main": "./dev-aliases.cjs",
"dependencies": {
"@sanity/client": "6.25.0-alpha.0"
}
"main": "./dev-aliases.cjs"
}
3 changes: 0 additions & 3 deletions packages/@repo/package.bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
"types": "./src/package.bundle.ts",
"scripts": {
"check:types": "tsc --noEmit --skipLibCheck src/package.bundle.ts"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0"
}
}
3 changes: 0 additions & 3 deletions packages/@repo/package.config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
"types": "./src/package.config.ts",
"scripts": {
"check:types": "tsc --noEmit --skipLibCheck src/package.config.ts"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0"
}
}
3 changes: 0 additions & 3 deletions packages/@repo/test-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,5 @@
"devDependencies": {
"@repo/dev-aliases": "workspace:*",
"vitest": "^2.1.8"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0"
}
}
1 change: 0 additions & 1 deletion packages/@repo/test-exports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"dependencies": {
"@sanity/cli": "workspace:*",
"@sanity/client": "6.25.0-alpha.0",
"@sanity/codegen": "workspace:*",
"@sanity/diff": "workspace:*",
"@sanity/migrate": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion packages/@sanity/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"@babel/register": "^7.23.7",
"@babel/traverse": "^7.23.5",
"@babel/types": "^7.23.9",
"@sanity/client": "6.25.0-alpha.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"groq": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion packages/@sanity/diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"watch": "pkg-utils watch"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/diff-match-patch": "^3.1.1"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/@sanity/mutator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"watch": "pkg-utils watch"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/diff-match-patch": "^3.1.1",
"@sanity/types": "3.72.1",
"@sanity/uuid": "^3.0.1",
Expand Down
1 change: 0 additions & 1 deletion packages/@sanity/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"watch": "pkg-utils watch"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"@sanity/generate-help-url": "^3.0.0",
"@sanity/types": "3.72.1",
"arrify": "^2.0.1",
Expand Down
3 changes: 0 additions & 3 deletions packages/groq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,5 @@
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@sanity/client": "6.25.0-alpha.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "prj-with-react-18",
"private": true,
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"styled-components": "^6.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "prj-with-styled-components-5",
"private": true,
"dependencies": {
"@sanity/client": "6.25.0-alpha.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"styled-components": "^5.3.0"
Expand Down
Loading

0 comments on commit 9d4c639

Please sign in to comment.