feat: lodash 更换为 radash

This commit is contained in:
Rewrite0
2024-04-23 10:46:44 +08:00
parent ca676f9082
commit 31631214bd
4 changed files with 6988 additions and 6004 deletions

View File

@@ -22,7 +22,6 @@
"@vueuse/components": "^10.4.1",
"@vueuse/core": "^8.9.4",
"axios": "^0.27.2",
"lodash": "^4.17.21",
"naive-ui": "^2.34.4",
"pinia": "^2.1.3",
"rxjs": "^7.8.1",
@@ -42,7 +41,6 @@
"@storybook/testing-library": "0.0.14-next.2",
"@storybook/vue3": "^7.0.12",
"@storybook/vue3-vite": "^7.0.12",
"@types/lodash": "^4.14.194",
"@types/node": "^18.16.14",
"@unocss/preset-attributify": "^0.55.3",
"@unocss/preset-rem-to-px": "^0.51.13",
@@ -55,6 +53,7 @@
"eslint-plugin-storybook": "^0.6.12",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"radash": "^12.1.0",
"sass": "^1.62.1",
"storybook": "^7.0.12",
"typescript": "^4.9.5",

12985
webui/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
import { omit } from 'lodash';
import { omit } from 'radash';
import type { BangumiAPI, BangumiRule } from '#/bangumi';
import type { ApiSuccess } from '#/api';

View File

@@ -6,7 +6,7 @@ import {
ListboxOptions,
} from '@headlessui/vue';
import { Down, Up } from '@icon-park/vue-next';
import { isObject, isString } from 'lodash';
import { isObject, isString } from 'radash';
import type { SelectItem } from '#/components';
const props = withDefaults(