Skip to content

Commit

Permalink
make packages peerDep on storybook package instead of `@storybook/c…
Browse files Browse the repository at this point in the history
…ore`
  • Loading branch information
ndelangen committed Jun 21, 2024
1 parent 525a98b commit 8e2db19
Show file tree
Hide file tree
Showing 74 changed files with 148 additions and 148 deletions.
4 changes: 2 additions & 2 deletions code/addons/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -95,4 +95,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^",
"storybook": "workspace:^",
"@storybook/test": "workspace:*"
},
"publishConfig": {
Expand All @@ -108,4 +108,4 @@
],
"icon": "https://user-images.githubusercontent.com/263385/101991666-479cc600-3c7c-11eb-837b-be4e5ffa1bb8.png"
}
}
}
4 changes: 2 additions & 2 deletions code/addons/backgrounds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -91,4 +91,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/controls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"react-dom": "^18.2.0"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -87,4 +87,4 @@
"ember"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"vite": "^4.0.4"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -144,4 +144,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -135,4 +135,4 @@
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
}
}
4 changes: 2 additions & 2 deletions code/addons/gfm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -62,4 +62,4 @@
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
}
}
4 changes: 2 additions & 2 deletions code/addons/highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -81,4 +81,4 @@
],
"icon": "https://user-images.githubusercontent.com/42671/162045505-9d06fe2e-8fcb-4c41-9486-e0553bce10cc.png"
}
}
}
4 changes: 2 additions & 2 deletions code/addons/interactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -94,4 +94,4 @@
],
"icon": "https://user-images.githubusercontent.com/263385/101991666-479cc600-3c7c-11eb-837b-be4e5ffa1bb8.png"
}
}
}
4 changes: 2 additions & 2 deletions code/addons/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -87,4 +87,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^",
"storybook": "workspace:^",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta"
},
"peerDependenciesMeta": {
Expand Down Expand Up @@ -108,4 +108,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/measure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -102,4 +102,4 @@
],
"icon": "https://user-images.githubusercontent.com/42671/119589951-dbcd9600-bda1-11eb-9227-078f3cfc1e74.png"
}
}
}
4 changes: 2 additions & 2 deletions code/addons/onboarding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -76,4 +76,4 @@
"./src/preset.ts"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/outline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -92,4 +92,4 @@
],
"icon": "https://user-images.githubusercontent.com/263385/101991674-48355c80-3c7c-11eb-9686-f684e755fcdd.png"
}
}
}
4 changes: 2 additions & 2 deletions code/addons/storysource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -84,4 +84,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -88,4 +88,4 @@
],
"icon": "https://user-images.githubusercontent.com/18172605/264114587-e4b32190-a9b7-4afa-b739-c873fc0498a6.png"
}
}
}
4 changes: 2 additions & 2 deletions code/addons/toolbars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -77,4 +77,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/addons/viewport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand All @@ -87,4 +87,4 @@
"react-native"
]
}
}
}
4 changes: 2 additions & 2 deletions code/builders/builder-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"peerDependenciesMeta": {
"typescript": {
Expand All @@ -120,4 +120,4 @@
"platform": "node"
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
}
}
4 changes: 2 additions & 2 deletions code/deprecated/builder-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"*.d.ts"
],
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions code/deprecated/channels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"*.d.ts"
],
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions code/deprecated/client-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"*.d.ts"
],
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions code/deprecated/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"*.d.ts"
],
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions code/deprecated/core-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"*.d.ts"
],
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions code/deprecated/core-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
"*.d.ts"
],
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions code/deprecated/core-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"*.d.ts"
],
"peerDependencies": {
"@storybook/core": "workspace:^"
"storybook": "workspace:^"
},
"publishConfig": {
"access": "public"
}
}
}
Loading

0 comments on commit 8e2db19

Please sign in to comment.