build: 更新项目版本并添加打包命令

- 将 package.json 中的版本号从 0.0.2 修改为 0.0.5
- 在 package.json 的 scripts 中添加 package 命令,用于打包扩展
- 更新 package-lock.json 中的版本号和依赖信息
refactor
钟良源 6 months ago
parent 76b55ec905
commit 6074d35ef8

7
package-lock.json generated

@ -1,12 +1,12 @@
{ {
"name": "ai-chat", "name": "ai-chat",
"version": "0.0.1", "version": "0.0.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ai-chat", "name": "ai-chat",
"version": "0.0.1", "version": "0.0.3",
"dependencies": { "dependencies": {
"diff": "^8.0.2", "diff": "^8.0.2",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
@ -19,6 +19,9 @@
"@typescript-eslint/parser": "^5.45.0", "@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0", "eslint": "^8.28.0",
"typescript": "^4.9.4" "typescript": "^4.9.4"
},
"engines": {
"vscode": "^1.60.0"
} }
}, },
"node_modules/@eslint-community/eslint-utils": { "node_modules/@eslint-community/eslint-utils": {

@ -2,7 +2,7 @@
"name": "ai-chat", "name": "ai-chat",
"displayName": "AI Chat", "displayName": "AI Chat",
"description": "Open an AI chat webview panel from the status bar", "description": "Open an AI chat webview panel from the status bar",
"version": "0.0.2", "version": "0.0.5",
"publisher": "your-publisher", "publisher": "your-publisher",
"main": "./out/extension.js", "main": "./out/extension.js",
"engines": { "engines": {
@ -77,7 +77,8 @@
"compile": "tsc -p ./", "compile": "tsc -p ./",
"watch": "tsc -w -p ./", "watch": "tsc -w -p ./",
"pretest": "npm run compile && npm run lint", "pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts" "lint": "eslint src --ext ts",
"package": "vsce package"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^16.11.7", "@types/node": "^16.11.7",

Loading…
Cancel
Save