-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 5.29 KB
/
Copy pathpackage.json
File metadata and controls
179 lines (179 loc) · 5.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "commit-assistant",
"displayName": "Commit Assistant",
"description": "Smart commit message editor that helps you write better commit messages",
"version": "1.0.1",
"publisher": "sunzhongyi",
"license": "MIT",
"engines": {
"vscode": "^1.89.0"
},
"categories": [
"Other"
],
"keywords": [
"git",
"commit",
"message",
"assistant",
"smart",
"conventional"
],
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/joisun/commit-assistant"
},
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "commitAssistant.openEditor",
"title": "Open Commit Assistant",
"category": "Git",
"icon": "$(wand)"
},
{
"command": "commitAssistant.openSettings",
"title": "Open Commit Assistant Settings"
}
],
"menus": {
"scm/title": [
{
"command": "commitAssistant.openEditor",
"group": "navigation@1",
"title": "Assistant",
"when": "scmProvider == git"
}
]
},
"configuration": {
"title": "Commit Assistant",
"properties": {
"commitAssistant.commitTypes": {
"type": "array",
"default": [
{
"value": "feat",
"label": "feat",
"description": "A new feature"
},
{
"value": "fix",
"label": "fix",
"description": "A bug fix"
},
{
"value": "docs",
"label": "docs",
"description": "Documentation only changes"
},
{
"value": "style",
"label": "style",
"description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)"
},
{
"value": "refactor",
"label": "refactor",
"description": "A code change that neither fixes a bug nor adds a feature"
},
{
"value": "perf",
"label": "perf",
"description": "A code change that improves performance"
},
{
"value": "test",
"label": "test",
"description": "Adding missing tests or correcting existing tests"
},
{
"value": "build",
"label": "build",
"description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)"
},
{
"value": "ci",
"label": "ci",
"description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)"
},
{
"value": "chore",
"label": "chore",
"description": "Other changes that don't modify src or test files"
},
{
"value": "revert",
"label": "revert",
"description": "Reverts a previous commit"
}
],
"description": "The list of commit types to display in the type selector. Override this in your user or workspace settings."
},
"commitAssistant.flags": {
"type": "object",
"scope": "resource",
"default": {},
"description": "Custom flags for commit messages. Can be configured at global or workspace level.",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"deadline": {
"type": "string",
"format": "date",
"description": "Optional deadline for this theme."
},
"docUrl": {
"type": "string",
"description": "Optional documentation URL for this theme."
}
}
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"build:webview": "rollup -c",
"build": "npm run compile && npm run build:webview",
"build:watch": "npm run compile && npm run build:webview -- --watch",
"prepackage": "npm run build && node scripts/pre-publish-check.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/svelte": "^5.0.2",
"@types/node": "^24.1.0",
"@types/vscode": "^1.89.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"rollup": "^4.14.3",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-svelte": "^7.1.6",
"svelte": "^4.2.12",
"svelte-check": "^3.6.9",
"svelte-preprocess": "^5.1.3",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@ai-sdk/google": "^1.2.22",
"@ai-sdk/openai": "^1.3.23",
"ai": "^4.3.19",
"simple-git": "^3.24.0",
"zod": "^3.23.8"
}
}