From 5ba54c70970b8dce2861de857d216d6a6c75e5d2 Mon Sep 17 00:00:00 2001 From: Utopia Date: Tue, 2 Dec 2025 09:18:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E6=97=B6=EF=BC=8Cvscode=20=E6=8F=90=E7=A4=BA=E2=80=9C?= =?UTF-8?q?=E6=9C=AA=E6=8C=87=E5=AE=9A=E6=9C=89=E6=95=88=E7=9A=84=20tsserv?= =?UTF-8?q?er=20=E5=AE=89=E8=A3=85=E2=80=9D=20(#361)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 修复项目启动时,vscode 提示“未指定有效的 tsserver 安装” * chore: 删除未使用的依赖 js-cookie --- .vscode/settings.json | 2 +- package.json | 1 - pnpm-lock.yaml | 9 --------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1c88538..b484267 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,7 @@ "scss.validate": false, // 禁用 SCSS 内置验证 "less.validate": false, // 禁用 LESS 内置验证 - "typescript.tsdk": "node_modules\\typescript\\lib", + "typescript.tsdk": "node_modules/typescript/lib", "explorer.fileNesting.enabled": true, "explorer.fileNesting.expand": false, "explorer.fileNesting.patterns": { diff --git a/package.json b/package.json index 5f83b88..04e74fd 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,6 @@ "abortcontroller-polyfill": "^1.7.8", "alova": "^3.3.3", "dayjs": "1.11.10", - "js-cookie": "^3.0.5", "pinia": "2.0.36", "pinia-plugin-persistedstate": "3.2.1", "vue": "^3.4.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 491276b..9c5e12d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,9 +75,6 @@ importers: dayjs: specifier: 1.11.10 version: 1.11.10 - js-cookie: - specifier: ^3.0.5 - version: 3.0.5 pinia: specifier: 2.0.36 version: 2.0.36(typescript@5.8.3)(vue@3.4.21(typescript@5.8.3)) @@ -4291,10 +4288,6 @@ packages: jpeg-js@0.3.7: resolution: {integrity: sha512-9IXdWudL61npZjvLuVe/ktHiA41iE8qFyLB+4VDTblEsWBzeg8WQTlktdUK4CdncUqtUgUg0bbOmTE2bKBKaBQ==} - js-cookie@3.0.5: - resolution: {integrity: sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==} - engines: {node: '>=14'} - js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -11818,8 +11811,6 @@ snapshots: jpeg-js@0.3.7: {} - js-cookie@3.0.5: {} - js-tokens@4.0.0: {} js-tokens@9.0.1: {}