Skip to content

Commit

Permalink
feat: added components coupling graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Markkos89 committed Sep 4, 2023
1 parent 86f590a commit 0b42983
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ storybook-static/
.env.*
!.env.example
.eslintcache
**/graph.svg

# PWA files
**/public/sw.js
Expand Down
3 changes: 2 additions & 1 deletion apps/website-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"test:unit": {
"cache": false,
"dependsOn": ["^build"]
},
"coupling-graph": {
"cache": false,
"dependsOn": ["^build"]
}
}
}

0 comments on commit 0b42983

Please sign in to comment.