Skip to content

Commit 5890537

Browse files
committed
feat: Add metadata and publishing information to package.json
This commit adds essential metadata to the `package.json` file, including: * A `publisher` field for clarity. * A `repository` URL for the project's GitHub repository. * A `homepage` URL for the project's website. * A `bugs` URL to direct users to the issue tracker. * A `license` for specifying the project's licensing terms. * `build` and `ext` scripts for creating the VS Code extension and installing it.
1 parent 8115794 commit 5890537

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

package.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@
33
"displayName": "llm-commit-msg",
44
"description": "Generate commit message using a local LLM",
55
"version": "0.0.1",
6+
"publisher": "michaelcurrin",
67
"engines": {
78
"vscode": "^1.104.0"
89
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/MichaelCurrin/llm-commit-msg-vs-code"
13+
},
14+
"homepage": "https://michaelcurrin.github.io/llm-commit-msg-vs-code/",
15+
"bugs": {
16+
"url": "https://github.com/MichaelCurrin/llm-commit-msg-vs-code/issues"
17+
},
18+
"license": "MIT",
919
"categories": [
1020
"Other"
1121
],
@@ -44,15 +54,20 @@
4454
},
4555
"scripts": {
4656
"lint": "eslint .",
57+
"fmt": "prettier --write *.js",
4758
"pretest": "npm run lint",
48-
"test": "vscode-test"
59+
"test": "vscode-test",
60+
"build": "vsce package --out build/llm-commit-msg.vsix",
61+
"ext": "npm run build && code --install-extension build/llm-commit-msg.vsix --force"
4962
},
5063
"devDependencies": {
51-
"@types/vscode": "^1.104.0",
5264
"@types/mocha": "^10.0.10",
5365
"@types/node": "22.x",
54-
"eslint": "^9.34.0",
66+
"@types/vscode": "^1.104.0",
5567
"@vscode/test-cli": "^0.0.11",
56-
"@vscode/test-electron": "^2.5.2"
68+
"@vscode/test-electron": "^2.5.2",
69+
"@vscode/vsce": "^3.6.2",
70+
"eslint": "^9.34.0",
71+
"prettier": "^3.6.2"
5772
}
5873
}

0 commit comments

Comments
 (0)