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:
@@ -36,14 +36,13 @@ import type { Component, Ref } from 'vue';
|
||||
import type {
|
||||
ApiComponentSharedProps,
|
||||
BaseFormComponentType,
|
||||
CollapsibleParamsProps,
|
||||
IconPickerProps,
|
||||
} from '@vben/common-ui';
|
||||
import type { Sortable } from '@vben/hooks';
|
||||
import type { TipTapProps } from '@vben/plugins/tiptap';
|
||||
import type { Recordable } from '@vben/types';
|
||||
|
||||
import type { CollapsibleParamsProps } from '@vben-core/shadcn-ui';
|
||||
|
||||
import {
|
||||
computed,
|
||||
defineAsyncComponent,
|
||||
@@ -62,6 +61,7 @@ import {
|
||||
ApiComponent,
|
||||
globalShareState,
|
||||
IconPicker,
|
||||
VbenCollapsibleParams,
|
||||
VCropper,
|
||||
} from '@vben/common-ui';
|
||||
import { useSortable } from '@vben/hooks';
|
||||
@@ -70,8 +70,6 @@ import { $t } from '@vben/locales';
|
||||
import { VbenTiptap } from '@vben/plugins/tiptap';
|
||||
import { isEmpty } from '@vben/utils';
|
||||
|
||||
import { VbenCollapsibleParams } from '@vben-core/shadcn-ui';
|
||||
|
||||
import { message, Modal, notification } from 'antdv-next';
|
||||
|
||||
import { upload_file } from '#/api/examples/upload';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user