feat(storybook): Refactor Storybook to use Typescript (#3341)

* feat(storybook): Refactor Storybook to use Typescript

This commit updates the Storybook configuration to use Typescript, including renaming `main.js` to `main.ts`, updating `core.builder` and `framework.name` to use `@storybook/builder-webpack5` and `@storybook/react-webpack5`, respectively. The code also adds options to `addon-docs` to enable adding GFM support to the generated docs. Additionally, the commit modifies `staticDir`, removes outdated addons, and makes various devDependencies and PostCSS updates to align with Storybook 7.x.x. Finally, the commit removes some unused code and relocates `Button` and `AboutModal` story files.

* apply review comments

* update yarn lock
This commit is contained in:
Alireza authored and GitHub committed 2023-04-27 12:13:27 -04:00
1 parent 51cb0519fc
commit dd3944a87c
9 files changed
+3007 -3567

No files matched your search

+1 -3
View File
@@ -24,9 +24,6 @@ module.exports = {
initial: 'initial',
inherit: 'inherit',
indigo: {
dark: '#0b1a42',
},
aqua: {
pale: '#7bb2ce',
},
@@ -155,6 +152,7 @@ module.exports = {
700: '#4c51bf',
800: '#434190',
900: '#3c366b',
dark: '#0b1a42',
},
purple: {
100: '#faf5ff',