refactor: replace depcheck with knip for dependency checking

Migrate vsh check-dep from depcheck to knip, reducing
315 transitive dependencies. Config is inlined in
DEFAULT_CONFIG, matching the check-circular pattern.
Also re-export CollapsibleParams from @vben/common-ui.
This commit is contained in:
xingyu4j
2026-05-20 16:14:21 +08:00
parent f71094e878
commit 9ec98f0846
8 changed files with 617 additions and 429 deletions

View File

@@ -115,7 +115,6 @@ catalog:
czg: ^1.13.1
dayjs: ^1.11.20
defu: ^6.1.7
depcheck: ^1.4.7
dotenv: ^17.4.2
echarts: ^6.1.0
element-plus: ^2.14.0
@@ -141,6 +140,7 @@ catalog:
is-ci: ^4.1.0
json-bigint: ^1.0.0
jsonwebtoken: ^9.0.3
knip: ^6.14.1
lefthook: ^2.1.8
lodash.clonedeep: ^4.5.0
lucide-vue-next: ^0.577.0