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

@@ -1,15 +1,11 @@
<script lang="ts" setup>
import type { RadioGroupProps } from 'antdv-next';
import type { FormLayout } from '@vben/common-ui';
import type { CollapsibleParamSchema } from '@vben-core/shadcn-ui';
import type { CollapsibleParamSchema, FormLayout } from '@vben/common-ui';
import { h, ref } from 'vue';
import { Page } from '@vben/common-ui';
import { VbenCollapsibleParams } from '@vben-core/shadcn-ui';
import { Page, VbenCollapsibleParams } from '@vben/common-ui';
import { Button, Card, message, RadioGroup } from 'antdv-next';