There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(storybook): disable cloud for storybook (#5330)
Peng Xiao408b84109be7
diff --git a/tests/storybook/.storybook/main.ts b/tests/storybook/.storybook/main.tsindex 2e33a0028c..d32668187a 100644--- a/tests/storybook/.storybook/main.ts+++ b/tests/storybook/.storybook/main.ts@@ -34,6 +34,14 @@ export default {name: '@storybook/react-vite',},async viteFinal(config, _options) {+ const runtimeConfig = getRuntimeConfig({+ distribution: 'browser',+ mode: 'development',+ channel: 'canary',+ coverage: false,+ });+ // disable for storybook build+ runtimeConfig.enableCloud = false;return mergeConfig(config, {assetsInclude: ['**/*.md'],resolve: {@@ -59,12 +67,7 @@ export default {)}`,'process.env.TRACE_REPORT_ENDPOINT': `"${process.env.TRACE_REPORT_ENDPOINT}"`,'process.env.CAPTCHA_SITE_KEY': `"${process.env.CAPTCHA_SITE_KEY}"`,- runtimeConfig: getRuntimeConfig({- distribution: 'browser',- mode: 'development',- channel: 'canary',- coverage: false,- }),+ runtimeConfig: runtimeConfig,},});},