Skip to content

Commit

Permalink
Replace hardcoded versions with workspace syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jul 26, 2023
1 parent 8465b4d commit 33efd3d
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 26 deletions.
14 changes: 7 additions & 7 deletions code/addons/themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.2.0-rc.0",
"@storybook/components": "7.2.0-rc.0",
"@storybook/core-events": "7.2.0-rc.0",
"@storybook/manager-api": "7.2.0-rc.0",
"@storybook/preview-api": "7.2.0-rc.0",
"@storybook/theming": "7.2.0-rc.0",
"@storybook/types": "7.2.0-rc.0",
"@storybook/client-logger": "workspace:*",
"@storybook/components": "workspace:*",
"@storybook/core-events": "workspace:*",
"@storybook/manager-api": "workspace:*",
"@storybook/preview-api": "workspace:*",
"@storybook/theming": "workspace:*",
"@storybook/types": "workspace:*",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion code/lib/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/client-api": "7.2.0-rc.0",
"@storybook/client-api": "workspace:*",
"@types/cross-spawn": "^6.0.2",
"@types/prompts": "^2.0.9",
"@types/puppeteer-core": "^2.1.0",
Expand Down
1 change: 1 addition & 0 deletions code/lib/cli/src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
'@storybook/addon-mdx-gfm': '7.2.0-rc.0',
'@storybook/addon-measure': '7.2.0-rc.0',
'@storybook/addon-outline': '7.2.0-rc.0',
'@storybook/addon-themes': '7.2.0-rc.0',
'@storybook/addon-storyshots': '7.2.0-rc.0',
'@storybook/addon-storyshots-puppeteer': '7.2.0-rc.0',
'@storybook/addon-storysource': '7.2.0-rc.0',
Expand Down
2 changes: 1 addition & 1 deletion code/lib/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.2.0-rc.0",
"@storybook/client-logger": "workspace:*",
"memoizerific": "^1.11.3",
"qs": "^6.10.0"
},
Expand Down
34 changes: 17 additions & 17 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6032,13 +6032,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-themes@workspace:addons/themes"
dependencies:
"@storybook/client-logger": 7.2.0-rc.0
"@storybook/components": 7.2.0-rc.0
"@storybook/core-events": 7.2.0-rc.0
"@storybook/manager-api": 7.2.0-rc.0
"@storybook/preview-api": 7.2.0-rc.0
"@storybook/theming": 7.2.0-rc.0
"@storybook/types": 7.2.0-rc.0
"@storybook/client-logger": "workspace:*"
"@storybook/components": "workspace:*"
"@storybook/core-events": "workspace:*"
"@storybook/manager-api": "workspace:*"
"@storybook/preview-api": "workspace:*"
"@storybook/theming": "workspace:*"
"@storybook/types": "workspace:*"
ts-dedent: ^2.0.0
typescript: ~4.9.3
peerDependencies:
Expand Down Expand Up @@ -6447,7 +6447,7 @@ __metadata:
"@babel/preset-env": ^7.22.9
"@babel/types": ^7.22.5
"@ndelangen/get-tarball": ^3.0.7
"@storybook/client-api": 7.2.0-rc.0
"@storybook/client-api": "workspace:*"
"@storybook/codemod": "workspace:*"
"@storybook/core-common": "workspace:*"
"@storybook/core-server": "workspace:*"
Expand Down Expand Up @@ -6497,7 +6497,7 @@ __metadata:
languageName: unknown
linkType: soft

"@storybook/client-api@7.2.0-rc.0, @storybook/client-api@workspace:*, @storybook/client-api@workspace:deprecated/client-api":
"@storybook/client-api@workspace:*, @storybook/client-api@workspace:deprecated/client-api":
version: 0.0.0-use.local
resolution: "@storybook/client-api@workspace:deprecated/client-api"
dependencies:
Expand All @@ -6506,7 +6506,7 @@ __metadata:
languageName: unknown
linkType: soft

"@storybook/client-logger@7.2.0-rc.0, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger":
"@storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger":
version: 0.0.0-use.local
resolution: "@storybook/client-logger@workspace:lib/client-logger"
dependencies:
Expand Down Expand Up @@ -6551,7 +6551,7 @@ __metadata:
languageName: unknown
linkType: soft

"@storybook/components@7.2.0-rc.0, @storybook/components@workspace:*, @storybook/components@workspace:ui/components":
"@storybook/components@workspace:*, @storybook/components@workspace:ui/components":
version: 0.0.0-use.local
resolution: "@storybook/components@workspace:ui/components"
dependencies:
Expand Down Expand Up @@ -6627,7 +6627,7 @@ __metadata:
languageName: unknown
linkType: soft

"@storybook/core-events@7.2.0-rc.0, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events":
"@storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events":
version: 0.0.0-use.local
resolution: "@storybook/core-events@workspace:lib/core-events"
dependencies:
Expand Down Expand Up @@ -6932,7 +6932,7 @@ __metadata:
languageName: node
linkType: hard

"@storybook/manager-api@7.2.0-rc.0, @storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api":
"@storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api":
version: 0.0.0-use.local
resolution: "@storybook/manager-api@workspace:lib/manager-api"
dependencies:
Expand Down Expand Up @@ -7338,7 +7338,7 @@ __metadata:
languageName: unknown
linkType: soft

"@storybook/preview-api@7.2.0-rc.0, @storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api":
"@storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api":
version: 0.0.0-use.local
resolution: "@storybook/preview-api@workspace:lib/preview-api"
dependencies:
Expand Down Expand Up @@ -7694,7 +7694,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/router@workspace:lib/router"
dependencies:
"@storybook/client-logger": 7.2.0-rc.0
"@storybook/client-logger": "workspace:*"
"@storybook/global": ^5.0.0
dequal: ^2.0.2
lodash: ^4.17.21
Expand Down Expand Up @@ -7877,7 +7877,7 @@ __metadata:
languageName: node
linkType: hard

"@storybook/theming@7.2.0-rc.0, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming":
"@storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming":
version: 0.0.0-use.local
resolution: "@storybook/theming@workspace:lib/theming"
dependencies:
Expand All @@ -7902,7 +7902,7 @@ __metadata:
languageName: unknown
linkType: soft

"@storybook/types@7.2.0-rc.0, @storybook/types@workspace:*, @storybook/types@workspace:lib/types":
"@storybook/types@workspace:*, @storybook/types@workspace:lib/types":
version: 0.0.0-use.local
resolution: "@storybook/types@workspace:lib/types"
dependencies:
Expand Down

0 comments on commit 33efd3d

Please sign in to comment.