refactor: get rid of turborepo
This commit is contained in:
parent
7b5e820285
commit
8a21229940
83 changed files with 209 additions and 3143 deletions
13
.storybook/main.ts
Normal file
13
.storybook/main.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { StorybookConfig } from "@storybook/nextjs"
|
||||
const config: StorybookConfig = {
|
||||
stories: ["../stories/**/*.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx)"],
|
||||
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions"],
|
||||
framework: {
|
||||
name: "@storybook/nextjs",
|
||||
options: {},
|
||||
},
|
||||
docs: {
|
||||
autodocs: "tag",
|
||||
},
|
||||
}
|
||||
export default config
|
||||
15
.storybook/preview.ts
Normal file
15
.storybook/preview.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import type { Preview } from "@storybook/react"
|
||||
|
||||
const preview: Preview = {
|
||||
parameters: {
|
||||
actions: { argTypesRegex: "^on[A-Z].*" },
|
||||
controls: {
|
||||
matchers: {
|
||||
color: /(background|color)$/i,
|
||||
date: /Date$/,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default preview
|
||||
Loading…
Add table
Add a link
Reference in a new issue