feat: migrate from npm to pnpm

This commit is contained in:
杨帆 2024-08-30 10:33:31 +08:00
parent 6821b2ca81
commit 4c781758eb
6 changed files with 2931 additions and 4021 deletions

4016
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,7 @@
"dayjs": "^1.11.10",
"echarts": "^5.5.0",
"element-plus": "^2.6.2",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"pinia": "^2.1.7",
"vue": "^3.4.21",
@ -23,6 +24,7 @@
"vue-router": "^4.3.0"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"@types/mockjs": "^1.0.10",
"@types/node": "^20.11.30",
"@vitejs/plugin-vue": "^5.0.4",

2924
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<script setup lang="ts">
import { computed, ref ,onBeforeUpdate, nextTick} from "vue";
import merge from "lodash/merge";
import { merge } from "lodash-es";
import { useElementSize } from "@vueuse/core";
import type { PropType } from "vue";

View File

@ -1,8 +1,8 @@
<script setup lang="ts">
import { onMounted, reactive, ref, watch } from "vue";
import type { DefaultConfigType } from "./index.d";
import cloneDeep from "lodash/cloneDeep";
import merge from "lodash/merge";
import { cloneDeep } from "lodash-es";
import { merge } from "lodash-es";
const mergedConfig = ref<any>(null);
const capsuleLength = ref<any>([]);
const capsuleValue = ref<any>([]);

View File

@ -9,7 +9,7 @@ import {
nextTick,
} from "vue";
import type { CSSProperties } from "vue";
import throttle from "lodash/throttle";
import { throttle } from "lodash-es";
type propsType = {
modelValue?: boolean;
list: Array<any>;