Skip to content

Commit 16e7f9a

Browse files
committed
chore: remove SC override to dedupe deps
1 parent e2a7e33 commit 16e7f9a

4 files changed

Lines changed: 261 additions & 468 deletions

File tree

.agents/skills/plugin-transfer/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Type-aware lint can fail (sometimes intermittently, especially on cold installs)
100100
To keep the plugin on the shared `sanity` variant, declare these in the plugin `devDependencies`:
101101

102102
- `"@types/node": "catalog:"`
103-
- `"styled-components": "catalog:"` (when the plugin depends on `@sanity/ui`, which peers on styled-components; without the declaration pnpm auto-installs the peer and bypasses the workspace `@sanity/styled-components` override)
103+
- `"styled-components": "catalog:"` (when the plugin depends on `@sanity/ui`, which peers on styled-components)
104104

105105
Verify alignment by checking that the plugin importer's `sanity` version string in `pnpm-lock.yaml` matches other plugins (e.g. `plugins/@sanity/sfcc`).
106106

plugins/@sanity/google-maps-input/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,12 @@
7474
"babel-plugin-react-compiler": "catalog:",
7575
"react": "catalog:",
7676
"react-dom": "catalog:",
77-
"sanity": "catalog:",
78-
"styled-components": "catalog:"
77+
"sanity": "catalog:"
7978
},
8079
"peerDependencies": {
8180
"react": "^19.2",
8281
"react-dom": "^19.2",
83-
"sanity": "^5 || ^6.0.0-0",
84-
"styled-components": "^6.1"
82+
"sanity": "^5 || ^6.0.0-0"
8583
},
8684
"engines": {
8785
"node": ">=20.19 <22 || >=22.12"

0 commit comments

Comments
 (0)