Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
modify: upgrade to v13
Browse files Browse the repository at this point in the history
  • Loading branch information
sota1235 committed Dec 3, 2022
1 parent 28b66d1 commit b767a7b
Show file tree
Hide file tree
Showing 6 changed files with 6,069 additions and 16,965 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": [
"@sota1235/eslint-config/react",
"plugin:@next/next/recommended"
"plugin:@next/next/recommended",
"plugin:storybook/recommended"
],
"rules": {
"react/react-in-jsx-scope": "off",
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
26 changes: 11 additions & 15 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
import { StorybookConfig } from '@storybook/react/types/index';

import { StorybookConfig } from '@storybook/types';
const config: StorybookConfig = {
stories: ['../src/**/*.stories.tsx'],
addons: ['@storybook/addon-actions', '@storybook/addon-links'],
typescript: {
check: false,
check: false
},
// @ts-ignore
babel: async (options) => ({
framework: '@storybook/react-vite',
babel: async options => ({
...options,
presets: [
[
'@babel/preset-env',
{
useBuiltIns: 'usage',
corejs: 3,
},
],
],
presets: [['@babel/preset-env', {
useBuiltIns: 'usage',
corejs: 3
}]]
}),
docs: {
docsPage: 'automatic'
}
};

export default config;
Loading

0 comments on commit b767a7b

Please sign in to comment.