Skip to content

Commit

Permalink
feat(storybook): update storybook packages to support typescript v5
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed May 8, 2023
1 parent 0654776 commit 2e90e6c
Show file tree
Hide file tree
Showing 5 changed files with 385 additions and 277 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-url": "^7.0.0",
"@schematics/angular": "~16.0.0",
"@storybook/addon-essentials": "^7.0.8",
"@storybook/core-server": "^7.0.8",
"@storybook/react": "^7.0.8",
"@storybook/react-webpack5": "^7.0.8",
"@storybook/types": "^7.0.8",
"@storybook/addon-essentials": "^7.0.9",
"@storybook/core-server": "^7.0.9",
"@storybook/react": "^7.0.9",
"@storybook/react-webpack5": "^7.0.9",
"@storybook/types": "^7.0.9",
"@svgr/rollup": "^6.1.2",
"@svgr/webpack": "^6.1.2",
"@swc-node/register": "^1.4.2",
Expand Down
108 changes: 108 additions & 0 deletions packages/storybook/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,114 @@
}
},
"packageJsonUpdates": {
"16.1.2": {
"version": "16.1.2-beta.0",
"requires": {
"@storybook/core-server": ">=7.0.0 <7.0.9"
},
"packages": {
"@storybook/core-server": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/angular": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/react": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/web-components-vite": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/web-components-webpack5": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/builder-vite": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/builder-webpack5": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-a11y": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-actions": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-backgrounds": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-controls": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-docs": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-essentials": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-mdx-gfm": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-highlight": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-interactions": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-jest": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-links": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-measure": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-outline": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-storyshots": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-storyshots-puppeteer": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-storysource": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-toolbars": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
},
"@storybook/addon-viewport": {
"version": "^7.0.9",
"alwaysAddToPackageJson": false
}
}
},
"16.1.0": {
"version": "16.1.0-beta.0",
"requires": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ exports[`@nx/storybook:init dependencies for package.json should add angular rel
"devDependencies": {
"@angular/forms": "*",
"@nx/js": "0.0.1",
"@nx/storybook": "^7.0.8",
"@storybook/addon-essentials": "7.0.8",
"@storybook/angular": "7.0.8",
"@storybook/core-server": "7.0.8",
"@nx/storybook": "^7.0.9",
"@storybook/addon-essentials": "7.0.9",
"@storybook/angular": "7.0.9",
"@storybook/core-server": "7.0.9",
"existing": "1.0.0",
"prettier": "^2.6.2",
"typescript": "~5.0.2",
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 @@ -5,5 +5,5 @@ export const storybookTestRunnerVersion = '^0.7.2';
export const litVersion = '^2.6.1';
export const tsNodeVersion = '10.9.1';

export const storybookVersion = '^7.0.8';
export const storybookVersion = '^7.0.9';
export const reactVersion = '^18.2.0';
Loading

0 comments on commit 2e90e6c

Please sign in to comment.