mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
refactor: use storybook v7 (#951)
This commit is contained in:
@@ -48,7 +48,7 @@ const nextConfig = {
|
||||
COMMIT_HASH: getCommitHash(),
|
||||
EDITOR_VERSION,
|
||||
},
|
||||
transpilePackages: ['@affine/component'],
|
||||
transpilePackages: ['@affine/component', '@affine/i18n'],
|
||||
webpack: config => {
|
||||
config.experiments = { ...config.experiments, topLevelAwait: true };
|
||||
config.resolve.alias['yjs'] = require.resolve('yjs');
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
"@affine/component": "workspace:*",
|
||||
"@affine/datacenter": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@blocksuite/blocks": "0.4.0-20230210031655-264744e",
|
||||
"@blocksuite/editor": "0.4.0-20230210031655-264744e",
|
||||
"@blocksuite/blocks": "0.4.0-20230212194855-047e1b9",
|
||||
"@blocksuite/editor": "0.4.0-20230212194855-047e1b9",
|
||||
"@blocksuite/icons": "^2.0.14",
|
||||
"@blocksuite/store": "0.4.0-20230210031655-264744e",
|
||||
"@blocksuite/store": "0.4.0-20230212194855-047e1b9",
|
||||
"@emotion/css": "^11.10.5",
|
||||
"@emotion/react": "^11.10.5",
|
||||
"@emotion/server": "^11.10.0",
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"@affine/component": ["../../packages/component/src/index"]
|
||||
"@affine/component": ["../../packages/component/src/index"],
|
||||
"@affine/i18n": ["../../packages/i18n/src/index"]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
|
||||
Reference in New Issue
Block a user