1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

bugfix: 解决 compile 时报错 activationEvents 不存在问题及其他若干问题

ERROR  Manifest needs the 'activationEvents' property, given it has a 'main' property.

 ERROR  Make sure to edit the README.md file before you package or publish your extension.

 WARNING  A 'repository' field is missing from the 'package.json' manifest file.

 WARNING  LICENSE.md, LICENSE.txt or LICENSE not found
This commit is contained in:
2024-04-03 00:57:54 +08:00
parent 92c3268707
commit a2662a7f87
3 changed files with 40 additions and 4 deletions

View File

@@ -9,7 +9,12 @@
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/coder-xiaomo/text-conversion-vscode-extension.git"
},
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
"commands": [
{
@@ -164,7 +169,8 @@
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
"test": "vscode-test",
"package": "echo \"start `vsce package`\" & vsce package"
},
"devDependencies": {
"@types/mocha": "^10.0.6",