Skip to content

Commit

Permalink
chore: fix storybook build issue (#3380)
Browse files Browse the repository at this point in the history
Fixes: #3307
Related: storybookjs/storybook#15067

Co-authored-by: Jack Works <[email protected]>
  • Loading branch information
himself65 and Jack-Works committed Jul 15, 2021
1 parent 565b159 commit 07c295c
Show file tree
Hide file tree
Showing 5 changed files with 2,157 additions and 534 deletions.
8 changes: 0 additions & 8 deletions packages/dashboard/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,4 @@ module.exports = {
reactOptions: {
fastRefresh: true,
},
typescript: {
// todo, fixme:
// temporary workaround is disable doc gen
// related to PR:
// https://github.com/DimensionDev/Maskbook/issues/3253
// https://github.com/styleguidist/react-docgen-typescript/issues/356
reactDocgen: 'none',
},
}
12 changes: 6 additions & 6 deletions packages/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"@babel/core": "^7.14.3",
"@snowpack/plugin-dotenv": "^2.1.0",
"@snowpack/plugin-react-refresh": "^2.5.0",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/addons": "^6.2.9",
"@storybook/react": "^6.2.9",
"@storybook/theming": "^6.2.9",
"@storybook/addon-actions": "^6.3.0-rc.12",
"@storybook/addon-essentials": "^6.3.0-rc.12",
"@storybook/addon-links": "^6.3.0-rc.12",
"@storybook/addons": "^6.3.0-rc.12",
"@storybook/react": "^6.3.0-rc.12",
"@storybook/theming": "^6.3.0-rc.12",
"@types/snowpack-env": "^2.3.2",
"babel-loader": "^8.2.2",
"snowpack": "^3.5.1"
Expand Down
8 changes: 0 additions & 8 deletions packages/theme/.storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,4 @@ module.exports = {
reactOptions: {
fastRefresh: true,
},
typescript: {
// todo, fixme:
// temporary workaround is disable doc gen
// related to PR:
// https://github.com/DimensionDev/Maskbook/issues/3253
// https://github.com/styleguidist/react-docgen-typescript/issues/356
reactDocgen: 'none',
},
}
12 changes: 6 additions & 6 deletions packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/addons": "^6.2.9",
"@storybook/react": "^6.2.9",
"@storybook/theming": "^6.2.9",
"@storybook/addon-actions": "^6.3.0-rc.12",
"@storybook/addon-essentials": "^6.3.0-rc.12",
"@storybook/addon-links": "^6.3.0-rc.12",
"@storybook/addons": "^6.3.0-rc.12",
"@storybook/react": "^6.3.0-rc.12",
"@storybook/theming": "^6.3.0-rc.12",
"@types/qrcode": "^1.3.5",
"@types/tinycolor2": "^1.4.2",
"babel-loader": "^8.2.2",
Expand Down
Loading

0 comments on commit 07c295c

Please sign in to comment.