Added "Madge" package for find circular dependencies

This commit is contained in:
Alexey Safronov 2023-11-16 14:39:47 +04:00
parent 8627f6cb3b
commit e1fb10491f
2 changed files with 1255 additions and 557 deletions

View File

@ -23,7 +23,9 @@
"storybook-serve": "yarn workspace @docspace/components run storybook-serve",
"test": "yarn workspace @docspace/components test",
"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": {
"build:test": "yarn workspaces foreach -vptiR --from '{@docspace/client,@docspace/login,@docspace/editor}' run build:test",
@ -35,6 +37,7 @@
},
"devDependencies": {
"he": "^1.2.0",
"madge": "^6.1.0",
"shx": "^0.3.4",
"terser": "^5.16.6"
},

1807
yarn.lock

File diff suppressed because it is too large Load Diff