2024-07-30 23:59:06 +02:00
|
|
|
import type { StorybookConfig } from "@storybook/nextjs"
|
|
|
|
|
|
|
|
const config: StorybookConfig = {
|
|
|
|
core: {
|
|
|
|
disableTelemetry: true,
|
|
|
|
},
|
|
|
|
docs: {
|
|
|
|
defaultName: "Documentation",
|
|
|
|
},
|
2024-10-12 23:51:58 +02:00
|
|
|
stories: [
|
|
|
|
"../../../packages/ui/src/**/*.stories.tsx",
|
|
|
|
"../../../packages/blog/src/**/*.stories.tsx",
|
|
|
|
"../stories/*.mdx",
|
|
|
|
],
|
2024-07-30 23:59:06 +02:00
|
|
|
addons: [
|
2024-11-09 19:50:22 +01:00
|
|
|
"@chromatic-com/storybook",
|
2024-07-30 23:59:06 +02:00
|
|
|
"@storybook/addon-essentials",
|
|
|
|
"@storybook/addon-storysource",
|
|
|
|
"@storybook/addon-a11y",
|
|
|
|
"@storybook/addon-interactions",
|
|
|
|
"storybook-dark-mode",
|
|
|
|
],
|
|
|
|
framework: {
|
|
|
|
name: "@storybook/nextjs",
|
|
|
|
options: {},
|
|
|
|
},
|
|
|
|
features: {
|
|
|
|
experimentalRSC: true,
|
|
|
|
},
|
|
|
|
typescript: {
|
|
|
|
check: false,
|
|
|
|
reactDocgen: "react-docgen-typescript",
|
|
|
|
},
|
|
|
|
staticDirs: ["../../website/public"],
|
|
|
|
}
|
|
|
|
|
|
|
|
export default config
|