chore: 切换包管理器为 pnpm

- 删除 node_modules 和 package-lock.json
- 添加 packageManager: pnpm@9.1.2
- 添加 engines 限制 (node>=18, pnpm>=9)
- 更新 docs/README.md 技术栈说明
- 生成 pnpm-lock.yaml
This commit is contained in:
李岩岩 2026-02-10 09:32:48 +08:00
parent 0995811155
commit 1f1b0a440f
5 changed files with 2053 additions and 4999 deletions

View File

@ -1,7 +1,7 @@
### ai对话常用语句 ### ai对话常用语句
继续任务M1.3,如果你的上下文不够了,记得提醒我新开对话。 继续任务M1.3必须严格遵守docs/README.md开发流程规范等我验收通过后才能提交代码。如果你的上下文不够了,记得提醒我新开对话。
M1.2验收通过,提交代码。 M1.2验收通过,提交代码。

View File

@ -17,6 +17,7 @@
- Vue.js ^3.4.0 (Popup/Options) - Vue.js ^3.4.0 (Popup/Options)
- Vite ^5.0.0 - Vite ^5.0.0
- Node.js >= 18.0.0 - Node.js >= 18.0.0
- pnpm >= 9.0.0 (包管理器)
--- ---

4998
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@
"description": "聚合词典划词翻译", "description": "聚合词典划词翻译",
"private": true, "private": true,
"type": "module", "type": "module",
"packageManager": "pnpm@9.1.2",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
@ -23,6 +24,10 @@
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-plugin-vue": "^9.19.0" "eslint-plugin-vue": "^9.19.0"
}, },
"engines": {
"node": ">=18.0.0",
"pnpm": ">=9.0.0"
},
"keywords": [ "keywords": [
"chrome-extension", "chrome-extension",
"dictionary", "dictionary",

2046
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff