diff --git a/.gitignore b/.gitignore index 9be2caf..4a0dcc8 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ storybook-static/ .env.* !.env.example .eslintcache +**/graph.svg # PWA files **/public/sw.js diff --git a/apps/website-ssr/package.json b/apps/website-ssr/package.json index 45f1673..87b3db1 100644 --- a/apps/website-ssr/package.json +++ b/apps/website-ssr/package.json @@ -11,7 +11,8 @@ "test:unit": "jest --ci --coverage", "test:watch": "jest --watch", "storybook:dev": "storybook dev --quiet --port 6001", - "storybook:build": "storybook build" + "storybook:build": "storybook build", + "coupling-graph": "npx madge --extensions js,jsx,ts,tsx,css,md,mdx ./ --exclude '.next|tailwind.config.js|reset.d.ts|prettier.config.js|postcss.config.js|playwright.config.ts|next.config.js|next-env.d.ts|instrumentation.ts|e2e/|README.md|.storybook/|.eslintrc.js' --image graph.svg" }, "dependencies": { "@headlessui/react": "1.7.15", diff --git a/apps/website/package.json b/apps/website/package.json index 9a74a52..22edaa8 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -11,7 +11,8 @@ "test:unit": "jest --ci --coverage", "test:watch": "jest --watch", "storybook:dev": "storybook dev --quiet --port 6002", - "storybook:build": "storybook build" + "storybook:build": "storybook build", + "coupling-graph": "npx madge --extensions js,jsx,ts,tsx,css,md,mdx ./ --exclude '.next|tailwind.config.js|reset.d.ts|prettier.config.js|postcss.config.js|playwright.config.ts|next.config.js|next-env.d.ts|instrumentation.ts|e2e/|README.md|.storybook/|.eslintrc.js' --image graph.svg" }, "dependencies": { "@headlessui/react": "1.7.15", diff --git a/turbo.json b/turbo.json index bae06ef..5bd85c2 100644 --- a/turbo.json +++ b/turbo.json @@ -32,6 +32,10 @@ "test:unit": { "cache": false, "dependsOn": ["^build"] + }, + "coupling-graph": { + "cache": false, + "dependsOn": ["^build"] } } }