Skip to content

Commit

Permalink
chore(misc): add storybook to conformance check
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo committed Feb 26, 2025
1 parent 7ac44e9 commit 86e8f05
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 1 deletion.
52 changes: 52 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,58 @@
"@typescript-eslint/rule-tester",
"@typescript-eslint/scope-manager",
"@typescript-eslint/typescript-estree"
],
[
"@storybook/addon-controls",
"@storybook/addon-essentials",
"@storybook/addon-jest",
"@storybook/addon-mdx-gfm",
"@storybook/addon-onboarding",
"@storybook/addon-themes",
"@storybook/angular",
"@storybook/blocks",
"@storybook/builder-manager",
"@storybook/builder-webpack5",
"@storybook/cli",
"@storybook/components",
"@storybook/core",
"@storybook/core-common",
"@storybook/core-events",
"@storybook/core-server",
"@storybook/core-webpack",
"@storybook/csf-tools",
"@storybook/html",
"@storybook/html-vite",
"@storybook/html-webpack5",
"@storybook/manager",
"@storybook/manager-api",
"@storybook/nextjs",
"@storybook/preact",
"@storybook/preact-vite",
"@storybook/preact-webpack5",
"@storybook/preset-create-react-app",
"@storybook/preset-html-webpack",
"@storybook/preset-preact-webpack",
"@storybook/preset-react-webpack",
"@storybook/preset-server-webpack",
"@storybook/preset-vue3-webpack",
"@storybook/react",
"@storybook/react-vite",
"@storybook/react-webpack5",
"@storybook/router",
"@storybook/server",
"@storybook/server-webpack5",
"@storybook/svelte",
"@storybook/svelte-vite",
"@storybook/sveltekit",
"@storybook/theming",
"@storybook/types",
"@storybook/vue3",
"@storybook/vue3-vite",
"@storybook/vue3-webpack5",
"@storybook/web-components",
"@storybook/web-components-vite",
"@storybook/web-components-webpack5"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ export default createConformanceRule<Options>({
const violations: ProjectFilesViolation[] = [];

for (const project of Object.values(projectGraph.nodes)) {
if (project.name !== 'angular' && project.name !== 'eslint') continue;
if (
project.name !== 'angular' &&
project.name !== 'eslint' &&
project.name !== 'storybook'
)
continue;
const migrationsPath = join(
workspaceRoot,
project.data.root,
Expand Down

0 comments on commit 86e8f05

Please sign in to comment.