Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ import { createRequire } from "module";
import path from "path";
import { fileURLToPath } from "url";


const __dirname = path.dirname(fileURLToPath(import.meta.url));
const require = createRequire(import.meta.url);

// Base path for deployment to subpath (e.g. GitHub Pages: https://owner.github.io/repo/)
const basePath = process.env.STORYBOOK_BASE_PATH || "/";

const config: StorybookConfig = {
stories: ["../src/**/*.stories.@(ts|tsx|js|jsx)"],
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(ts|tsx|js|jsx)"],
staticDirs: ["./static"],
addons: [
"@storybook/addon-a11y",
Expand Down
1,203 changes: 1,148 additions & 55 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-loader": "^8.1.1",
"remark-gfm": "^4.0.1",
Comment thread
kzamanbd marked this conversation as resolved.
Outdated
"storybook": "^10.2.0",
"tailwindcss": "^4.1.18",
"typescript": "^5.0.0"
Expand All @@ -103,4 +104,4 @@
"type": "git",
"url": "https://github.com/getdokan/plugin-ui.git"
}
}
}
Loading