Skip to content

Commit

Permalink
feat(storybook): update storybook to 7.1 (#18183)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini authored Jul 19, 2023
1 parent 3fcd84a commit ab11815
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 3 deletions.
109 changes: 109 additions & 0 deletions packages/storybook/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,115 @@
}
},
"packageJsonUpdates": {
"16.6.0": {
"version": "16.6.0-beta.6",
"packages": {
"@storybook/test-runner": {
"version": "^0.11.0",
"alwaysAddToPackageJson": false
},
"@storybook/core-server": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/angular": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/react": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/react-vite": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/react-webpack5": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/web-components-vite": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/web-components-webpack5": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-a11y": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-actions": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-backgrounds": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-controls": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-docs": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-essentials": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-interactions": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-mdx-gfm": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-highlight": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-jest": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-links": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-measure": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-outline": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-storyshots": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-storyshots-puppeteer": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-storysource": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-toolbars": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
},
"@storybook/addon-viewport": {
"version": "^7.1.0",
"alwaysAddToPackageJson": false
}
}
},
"16.5.0": {
"version": "16.5.0-beta.0",
"requires": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ export async function configurationGenerator(
const devDeps = {};

if (schema.tsConfiguration) {
devDeps['@storybook/core-common'] = storybookVersion;
devDeps['ts-node'] = tsNodeVersion;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`@nx/storybook:init dependencies for package.json should add angular rel
"devDependencies": {
"@angular/forms": "*",
"@nx/js": "0.0.1",
"@nx/storybook": "^7.0.24",
"@nx/storybook": "^7.1.0",
"@storybook/addon-essentials": "7.0.24",
"@storybook/angular": "7.0.24",
"@storybook/core-server": "7.0.24",
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const storybookJestVersion = '~0.1.0';
export const litVersion = '^2.6.1';
export const tsNodeVersion = '10.9.1';

export const storybookVersion = '^7.0.24';
export const storybookVersion = '^7.1.0';
export const reactVersion = '^18.2.0';
export const viteVersion = '~4.3.9';

Expand Down

1 comment on commit ab11815

@vercel
Copy link

@vercel vercel bot commented on ab11815 Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.