Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/lib/cli-storybook/src/upgrade.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('toUpgradedDependencies', () => {
return '8.0.0';
}
if (packageName === '@chromatic-com/storybook@next') {
return '4.0.0-0';
return '4.0.0';
}
if (packageName === '@chromatic-com/storybook') {
return '3.0.0';
Expand Down
2 changes: 1 addition & 1 deletion code/lib/create-storybook/src/generators/baseGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export async function baseGenerator(
const compiler = webpackCompiler ? webpackCompiler({ builder }) : undefined;

if (features.includes('test')) {
extraAddons.push('@chromatic-com/storybook@^4');
extraAddons.push('@chromatic-com/storybook');
}

// Add @storybook/addon-docs when docs feature is selected
Expand Down
2 changes: 1 addition & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"typescript": "^5.8.3"
},
"dependencies": {
"@chromatic-com/storybook": "^4.0.0-0",
"@chromatic-com/storybook": "^4.0.0",
"@happy-dom/global-registrator": "^17.4.4",
"@nx/vite": "20.2.2",
"@nx/workspace": "20.2.2",
Expand Down
42 changes: 12 additions & 30 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1997,18 +1997,18 @@ __metadata:
languageName: node
linkType: hard

"@chromatic-com/storybook@npm:^4.0.0-0":
version: 4.0.0-next.5
resolution: "@chromatic-com/storybook@npm:4.0.0-next.5"
"@chromatic-com/storybook@npm:^4.0.0":
version: 4.0.0
resolution: "@chromatic-com/storybook@npm:4.0.0"
dependencies:
chromatic: "npm:^11.27.0"
"@neoconfetti/react": "npm:^1.0.0"
chromatic: "npm:^12.0.0"
filesize: "npm:^10.0.12"
jsonfile: "npm:^6.1.0"
react-confetti: "npm:^6.1.0"
strip-ansi: "npm:^7.1.0"
peerDependencies:
storybook: ^9.0.0 || ^9.0.0-alpha.12 || ^0.0.0-0
checksum: 10c0/d99fa57a5a7c0d5a63c30632f956bc4861484a627c6894a83e802356d55b1e918231af574d800fd14999cb752c7ea64fb3d092e3a4c4338eb9586858de887f3c
storybook: ^0.0.0-0 || ^9.0.0 || ^9.1.0-0
checksum: 10c0/36c3cfb3cfb25522e888206c3fe20b3cd5053c418afd5917b5a3ad7d93b839312cebd5c1f0a42e5c931e18a400a701781a2692d4c61ddda3a91fff62edd969b6
languageName: node
linkType: hard

Expand Down Expand Up @@ -6700,7 +6700,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/root@workspace:."
dependencies:
"@chromatic-com/storybook": "npm:^4.0.0-0"
"@chromatic-com/storybook": "npm:^4.0.0"
"@happy-dom/global-registrator": "npm:^17.4.4"
"@nx/vite": "npm:20.2.2"
"@nx/workspace": "npm:20.2.2"
Expand Down Expand Up @@ -11003,9 +11003,9 @@ __metadata:
languageName: node
linkType: hard

"chromatic@npm:^11.27.0":
version: 11.28.2
resolution: "chromatic@npm:11.28.2"
"chromatic@npm:^12.0.0":
version: 12.0.0
resolution: "chromatic@npm:12.0.0"
peerDependencies:
"@chromatic-com/cypress": ^0.*.* || ^1.0.0
"@chromatic-com/playwright": ^0.*.* || ^1.0.0
Expand All @@ -11018,7 +11018,7 @@ __metadata:
chroma: dist/bin.js
chromatic: dist/bin.js
chromatic-cli: dist/bin.js
checksum: 10c0/0e30c01adae08708b871c5e27462af14a8426e0fe443d0c42afb2477326703504b02fa96a02e64c858072f535d149b96f207c43b147ba1492de83bb5f505e59e
checksum: 10c0/fb6022581f9d04b29b731a0696178f027cf7b37b90d34bcb6c493f158c7b66f5047b2702d06b4c5246d5ac8ae5712ff5996959b32061726f862c0ec9396adfdb
languageName: node
linkType: hard

Expand Down Expand Up @@ -22144,17 +22144,6 @@ __metadata:
languageName: node
linkType: hard

"react-confetti@npm:^6.1.0":
version: 6.4.0
resolution: "react-confetti@npm:6.4.0"
dependencies:
tween-functions: "npm:^1.2.0"
peerDependencies:
react: ^16.3.0 || ^17.0.1 || ^18.0.0 || ^19.0.0
checksum: 10c0/a0e1bfc826cc086e13c18f2f8997e1825025be8ea80f5b1ffdd4871babe89a6876eac99f43525d4d4cbf141fab2a9372f5d51d19fa5995b64e77e6717ac4b286
languageName: node
linkType: hard

"react-docgen-typescript@npm:^2.2.2":
version: 2.2.2
resolution: "react-docgen-typescript@npm:2.2.2"
Expand Down Expand Up @@ -25761,13 +25750,6 @@ __metadata:
languageName: node
linkType: hard

"tween-functions@npm:^1.2.0":
version: 1.2.0
resolution: "tween-functions@npm:1.2.0"
checksum: 10c0/7e59295b8b0ee4132ed2fe335f56a9db5c87056dad6b6fd3011be72239fd20398003ddb4403bc98ad9f5c94468890830f64016edbbde35581faf95b32cda8305
languageName: node
linkType: hard

"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
version: 0.4.0
resolution: "type-check@npm:0.4.0"
Expand Down
Loading