chore(client): add tool to view circular deps

This commit is contained in:
Elian Doran 2025-06-19 22:03:01 +03:00
parent efdf79feaa
commit 8ab21f3bab
No known key found for this signature in database
3 changed files with 22 additions and 1 deletions

View File

@ -75,6 +75,9 @@
"dependsOn": [ "dependsOn": [
"^build" "^build"
] ]
},
"circular-deps": {
"command": "pnpx dpdm -T {projectRoot}/src/**/*.ts --tree=false --warning=false"
} }
} }
} }

View File

@ -45,6 +45,7 @@
"@vitest/ui": "^3.0.0", "@vitest/ui": "^3.0.0",
"chalk": "5.4.1", "chalk": "5.4.1",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"dpdm": "3.14.0",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"eslint": "^9.8.0", "eslint": "^9.8.0",
"eslint-config-prettier": "^10.0.0", "eslint-config-prettier": "^10.0.0",

19
pnpm-lock.yaml generated
View File

@ -92,6 +92,9 @@ importers:
cross-env: cross-env:
specifier: 7.0.3 specifier: 7.0.3
version: 7.0.3 version: 7.0.3
dpdm:
specifier: 3.14.0
version: 3.14.0
esbuild: esbuild:
specifier: ^0.25.0 specifier: ^0.25.0
version: 0.25.5 version: 0.25.5
@ -7650,6 +7653,10 @@ packages:
resolution: {integrity: sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==} resolution: {integrity: sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==}
hasBin: true hasBin: true
dpdm@3.14.0:
resolution: {integrity: sha512-YJzsFSyEtj88q5eTELg3UWU7TVZkG1dpbF4JDQ3t1b07xuzXmdoGeSz9TKOke1mUuOpWlk4q+pBh+aHzD6GBTg==}
hasBin: true
draggabilly@3.0.0: draggabilly@3.0.0:
resolution: {integrity: sha512-aEs+B6prbMZQMxc9lgTpCBfyCUhRur/VFucHhIOvlvvdARTj7TcDmX/cdOUtqbjJJUh7+agyJXR5Z6IFe1MxwQ==} resolution: {integrity: sha512-aEs+B6prbMZQMxc9lgTpCBfyCUhRur/VFucHhIOvlvvdARTj7TcDmX/cdOUtqbjJJUh7+agyJXR5Z6IFe1MxwQ==}
@ -23056,6 +23063,16 @@ snapshots:
dependencies: dependencies:
minimatch: 3.1.2 minimatch: 3.1.2
dpdm@3.14.0:
dependencies:
chalk: 4.1.2
fs-extra: 11.3.0
glob: 10.4.5
ora: 5.4.1
tslib: 2.8.1
typescript: 5.8.3
yargs: 17.7.2
draggabilly@3.0.0: draggabilly@3.0.0:
dependencies: dependencies:
get-size: 3.0.0 get-size: 3.0.0
@ -24332,7 +24349,7 @@ snapshots:
fs.realpath: 1.0.0 fs.realpath: 1.0.0
inflight: 1.0.6 inflight: 1.0.6
inherits: 2.0.4 inherits: 2.0.4
minimatch: 3.0.4 minimatch: 3.1.2
once: 1.4.0 once: 1.4.0
path-is-absolute: 1.0.1 path-is-absolute: 1.0.1