Remove Storybook
This commit is contained in:
parent
18a8941c0e
commit
c553cf0e35
5 changed files with 30 additions and 29516 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"presets": ["@babel/preset-env", "@babel/preset-typescript"]
|
|
||||||
}
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
import type { StorybookViteConfig } from '@storybook/builder-vite';
|
|
||||||
import postcss from 'postcss';
|
|
||||||
import { mergeConfig } from 'vite';
|
|
||||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
||||||
|
|
||||||
const storybookViteConfig: StorybookViteConfig = {
|
|
||||||
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
||||||
addons: [
|
|
||||||
'@storybook/addon-essentials',
|
|
||||||
{
|
|
||||||
name: '@storybook/addon-postcss',
|
|
||||||
options: { postcssLoaderOptions: { implementation: postcss } },
|
|
||||||
},
|
|
||||||
],
|
|
||||||
framework: '@storybook/react',
|
|
||||||
typescript: { check: false },
|
|
||||||
core: { builder: '@storybook/builder-vite' },
|
|
||||||
features: { storyStoreV7: true },
|
|
||||||
viteFinal: (config) => mergeConfig(config, { plugins: [tsconfigPaths()] }),
|
|
||||||
};
|
|
||||||
|
|
||||||
export default storybookViteConfig;
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
import 'tailwindcss/tailwind.css';
|
|
||||||
29512
package-lock.json
generated
29512
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -23,11 +23,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/react": "^1.0.0",
|
"@astrojs/react": "^1.0.0",
|
||||||
"@astrojs/tailwind": "^1.0.0",
|
"@astrojs/tailwind": "^1.0.0",
|
||||||
"@storybook/addon-actions": "^6.5.10",
|
|
||||||
"@storybook/addon-essentials": "^6.5.10",
|
|
||||||
"@storybook/addon-postcss": "^2.0.0",
|
|
||||||
"@storybook/builder-vite": "^0.2.2",
|
|
||||||
"@storybook/react": "^6.5.10",
|
|
||||||
"@types/react": "^18.0.17",
|
"@types/react": "^18.0.17",
|
||||||
"@types/react-dom": "^18.0.6",
|
"@types/react-dom": "^18.0.6",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.35.1",
|
"@typescript-eslint/eslint-plugin": "^5.35.1",
|
||||||
|
|
@ -47,7 +42,6 @@
|
||||||
"eslint-plugin-react": "^7.31.0",
|
"eslint-plugin-react": "^7.31.0",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"eslint-plugin-simple-import-sort": "^7.0.0",
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
||||||
"eslint-plugin-storybook": "^0.6.4",
|
|
||||||
"postcss": "^8.4.16",
|
"postcss": "^8.4.16",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tailwindcss": "^3.1.8",
|
"tailwindcss": "^3.1.8",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue