|
48 | 48 | "contributes": { |
49 | 49 | "//": "This is kept in alphabetical order. https://code.visualstudio.com/api/references/contribution-points", |
50 | 50 | "commands": [ |
| 51 | + { |
| 52 | + "command": "buf.build", |
| 53 | + "category": "Buf", |
| 54 | + "icon": "$(files)", |
| 55 | + "title": "Build", |
| 56 | + "description": "Run `buf build` across VS Code workspace(s)." |
| 57 | + }, |
| 58 | + { |
| 59 | + "command": "buf.configinit", |
| 60 | + "category": "Buf", |
| 61 | + "icon": "$(file-add)", |
| 62 | + "title": "Init", |
| 63 | + "description": "Run `buf config init` to initialize a new Buf workspace" |
| 64 | + }, |
| 65 | + { |
| 66 | + "command": "buf.configlsbreakingrules", |
| 67 | + "category": "Buf", |
| 68 | + "icon": "$(list-unordered)", |
| 69 | + "title": "List available breaking change detection rules." |
| 70 | + }, |
| 71 | + { |
| 72 | + "command": "buf.configlslintrules", |
| 73 | + "category": "Buf", |
| 74 | + "icon": "$(list-unordered)", |
| 75 | + "title": "List available lint rules." |
| 76 | + }, |
| 77 | + { |
| 78 | + "command": "buf.configlsmodules", |
| 79 | + "category": "Buf", |
| 80 | + "icon": "$(folder-library)", |
| 81 | + "title": "List modules in workspace." |
| 82 | + }, |
| 83 | + { |
| 84 | + "command": "buf.depprune", |
| 85 | + "category": "Buf", |
| 86 | + "icon": "$(gather)", |
| 87 | + "title": "Prune module dependencies.", |
| 88 | + "description": "Run `buf dep prune` across VS Code workspace(s) to prune unused buf.lock dependencies." |
| 89 | + }, |
| 90 | + { |
| 91 | + "command": "buf.depupdate", |
| 92 | + "category": "Buf", |
| 93 | + "icon": "$(repo-pull)", |
| 94 | + "title": "Update module dependencies.", |
| 95 | + "description": "Run `buf dep update` across VS Code workspace(s) to update buf.lock dependencies." |
| 96 | + }, |
51 | 97 | { |
52 | 98 | "command": "buf.generate", |
53 | 99 | "category": "Buf", |
54 | | - "icon": "$(run)", |
| 100 | + "icon": "$(file-submodule)", |
55 | 101 | "title": "Generate", |
56 | | - "description": "Run Buf to generate code with protoc plugins." |
| 102 | + "description": "Run `buf generate` across VS Code workspace(s)." |
57 | 103 | }, |
58 | 104 | { |
59 | | - "command": "buf.showOutput", |
| 105 | + "command": "buf.lsfiles", |
60 | 106 | "category": "Buf", |
61 | | - "icon": "$(output)", |
62 | | - "title": "Show Buf Output" |
| 107 | + "icon": "$(files)", |
| 108 | + "title": "List module files.", |
| 109 | + "description": "List module files across VS Code workspace(s)." |
| 110 | + }, |
| 111 | + { |
| 112 | + "command": "buf.price", |
| 113 | + "category": "Buf", |
| 114 | + "icon": "$(briefcase)", |
| 115 | + "title": "Price for BSR paid plans.", |
| 116 | + "description": "Check the price of BSR paid plans across VS Code workspace(s)." |
| 117 | + }, |
| 118 | + { |
| 119 | + "command": "buf.stats", |
| 120 | + "category": "Buf", |
| 121 | + "icon": "$(graph-line)", |
| 122 | + "title": "Module stats", |
| 123 | + "description": "Get stats for Buf modules across VS Code workspace(s)." |
63 | 124 | }, |
64 | 125 | { |
65 | 126 | "command": "buf.install", |
|
69 | 130 | "description": "Install the Buf CLI from GitHub releases." |
70 | 131 | }, |
71 | 132 | { |
72 | | - "command": "buf.update", |
| 133 | + "command": "buf.showOutput", |
73 | 134 | "category": "Buf", |
74 | | - "icon": "$(arrow-swap)", |
75 | | - "title": "Update CLI", |
76 | | - "description": "Check for updates and install the latest version of the Buf CLI." |
| 135 | + "icon": "$(output)", |
| 136 | + "title": "Show Buf Output" |
77 | 137 | }, |
78 | 138 | { |
79 | 139 | "command": "buf.startLanguageServer", |
|
86 | 146 | "category": "Buf", |
87 | 147 | "icon": "$(debug-stop)", |
88 | 148 | "title": "Stop Buf Language Server" |
| 149 | + }, |
| 150 | + { |
| 151 | + "command": "buf.update", |
| 152 | + "category": "Buf", |
| 153 | + "icon": "$(sync)", |
| 154 | + "title": "Update CLI", |
| 155 | + "description": "Check for updates and install the latest version of the Buf CLI." |
89 | 156 | } |
90 | 157 | ], |
91 | 158 | "configuration": { |
|
234 | 301 | "format": "biome format --write ." |
235 | 302 | }, |
236 | 303 | "devDependencies": { |
237 | | - "@biomejs/biome": "^2.1.2", |
| 304 | + "@biomejs/biome": "^2.1.4", |
238 | 305 | "@playwright/test": "^1.54.2", |
239 | | - "@types/mocha": "^10.0.6", |
240 | | - "@types/node": "^24.2.0", |
| 306 | + "@types/mocha": "^10.0.10", |
| 307 | + "@types/node": "^24.2.1", |
241 | 308 | "@types/semver": "^7.7.0", |
242 | 309 | "@types/vscode": "^1.102.0", |
243 | 310 | "@types/which": "^3.0.4", |
244 | 311 | "@vscode/test-cli": "^0.0.11", |
245 | 312 | "@vscode/test-electron": "^2.5.2", |
246 | 313 | "@vscode/vsce": "^3.6.0", |
247 | 314 | "cross-env": "^10.0.0", |
248 | | - "mocha": "^10.8.2", |
| 315 | + "mocha": "^11.7.1", |
249 | 316 | "msw": "^2.10.4", |
250 | 317 | "typescript": "^5.9.2" |
251 | 318 | }, |
252 | 319 | "dependencies": { |
253 | 320 | "@preact/signals-core": "^1.11.0", |
254 | 321 | "rimraf": "^6.0.1", |
255 | 322 | "semver": "^7.7.2", |
| 323 | + "tmp": "^0.2.4", |
256 | 324 | "vscode-languageclient": "^9.0.1", |
257 | 325 | "which": "^5.0.0" |
258 | 326 | } |
|
0 commit comments