aboutsummaryrefslogtreecommitdiff
path: root/apps/storybook/.storybook/main.ts
blob: 9a50fb506dc67dc5014c1bbc8274e57c60a814ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import type { StorybookConfig } from '@storybook/react-vite';

const config: StorybookConfig = {
	stories: [
		{
			directory: '../../../packages/ui/src/**',
			titlePrefix: 'UI',
			files: '*.stories.*'
		},
		{
			directory: '../../../interface/app/**',
			titlePrefix: 'Interface',
			files: '*.stories.*'
		}
	],
	addons: [
		'@storybook/addon-links',
		'@storybook/addon-essentials',
		'@storybook/addon-interactions',
		'@storybook/addon-styling'
	],
	framework: {
		name: '@storybook/react-vite',
		options: {}
	},
	docs: {
		autodocs: 'tag'
	},
	core: {
		disableTelemetry: true
	}
};

export default config;