Added "Madge" package for find circular dependencies
This commit is contained in:
parent
8627f6cb3b
commit
e1fb10491f
@ -23,7 +23,9 @@
|
|||||||
"storybook-serve": "yarn workspace @docspace/components run storybook-serve",
|
"storybook-serve": "yarn workspace @docspace/components run storybook-serve",
|
||||||
"test": "yarn workspace @docspace/components test",
|
"test": "yarn workspace @docspace/components test",
|
||||||
"wipe": "shx rm -rf node_modules yarn.lock packages/**/node_modules",
|
"wipe": "shx rm -rf node_modules yarn.lock packages/**/node_modules",
|
||||||
"licenses-audit": "yarn licenses audit --output-csv=licenses.csv --config=licenses.config.js --summary"
|
"licenses-audit": "yarn licenses audit --output-csv=licenses.csv --config=licenses.config.js --summary",
|
||||||
|
"check-circular": "yarn madge --circular ./packages",
|
||||||
|
"check-circular:graph": "yarn madge --circular --image graph.svg ./packages"
|
||||||
},
|
},
|
||||||
"old-scripts": {
|
"old-scripts": {
|
||||||
"build:test": "yarn workspaces foreach -vptiR --from '{@docspace/client,@docspace/login,@docspace/editor}' run build:test",
|
"build:test": "yarn workspaces foreach -vptiR --from '{@docspace/client,@docspace/login,@docspace/editor}' run build:test",
|
||||||
@ -35,6 +37,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"he": "^1.2.0",
|
"he": "^1.2.0",
|
||||||
|
"madge": "^6.1.0",
|
||||||
"shx": "^0.3.4",
|
"shx": "^0.3.4",
|
||||||
"terser": "^5.16.6"
|
"terser": "^5.16.6"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user