-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
327 lines (327 loc) · 9.97 KB
/
package.json
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
{
"name": "raspberry-pi-pico",
"displayName": "Raspberry Pi Pico",
"description": "The official VS Code extension for Raspberry Pi Pico development. It includes several features to simplify project creation and deployment. (Single folder workspaces only)",
"version": "0.17.0",
"author": "paulober",
"publisher": "raspberry-pi",
"icon": "./images/extension-icon.png",
"license": "MPL-2.0",
"homepage": "https://github.com/raspberrypi/pico-vscode/blob/master/README.md",
"bugs": {
"url": "https://github.com/raspberrypi/pico-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/raspberrypi/pico-vscode/"
},
"engines": {
"vscode": "^1.92.1",
"node": ">=20.14.0"
},
"os": [
"win32",
"darwin",
"linux"
],
"cpu": [
"x64",
"arm64"
],
"keywords": [
"raspberry",
"pi",
"raspberry pi",
"pico",
"pico w",
"raspberry pi pico",
"raspberry pi pico w",
"pico sdk"
],
"categories": [
"Snippets",
"Other"
],
"extensionDependencies": [
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"ms-vscode.vscode-serial-monitor",
"marus25.cortex-debug",
"paulober.pico-w-go",
"ms-python.python"
],
"main": "./dist/extension.cjs",
"markdown": "github",
"minimumNodeVersion": 20,
"capabilities": {
"virtualWorkspaces": {
"supported": false,
"description": "Raspberry Pi Pico extension is intended to be used localy."
},
"untrustedWorkspaces": {
"supported": false,
"description": "Raspberry Pi Pico extension is intended to be used in trusted workspaces."
}
},
"activationEvents": [
"workspaceContains:./pico_sdk_import.cmake",
"onWebviewPanel:newPicoProject",
"onWebviewPanel:newPicoMicroPythonProject"
],
"contributes": {
"commands": [
{
"command": "raspberry-pi-pico.newProject",
"title": "New Pico Project",
"category": "Raspberry Pi Pico"
},
{
"command": "raspberry-pi-pico.switchSDK",
"title": "Switch Pico SDK",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject"
},
{
"command": "raspberry-pi-pico.switchBoard",
"title": "Switch Board",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject"
},
{
"command": "raspberry-pi-pico.launchTargetPath",
"title": "Get path of the project executable",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getPythonPath",
"title": "Get python path",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getEnvPath",
"title": "Get environment path",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getGDBPath",
"title": "Get GDB path",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getCompilerPath",
"title": "Get compiler path",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getCxxCompilerPath",
"title": "Get C++ compiler path",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getChip",
"title": "Get Chip",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getChipUppercase",
"title": "Get Chip Uppercase",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getTarget",
"title": "Get OpenOCD Target",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.getPicotoolPath",
"title": "Get Picotool path",
"category": "Raspberry Pi Pico",
"enablement": "false"
},
{
"command": "raspberry-pi-pico.compileProject",
"title": "Compile Pico Project",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject"
},
{
"command": "raspberry-pi-pico.runProject",
"title": "Run Pico Project (USB)",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject"
},
{
"command": "raspberry-pi-pico.clearGithubApiCache",
"title": "Clear GitHub API cache",
"category": "Raspberry Pi Pico"
},
{
"command": "raspberry-pi-pico.conditionalDebugging",
"title": "Conditional Debugging",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject && !inQuickOpen"
},
{
"command": "raspberry-pi-pico.debugLayout",
"title": "Debug Layout",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject"
},
{
"command": "raspberry-pi-pico.openSdkDocumentation",
"title": "Open SDK Documentation",
"category": "Raspberry Pi Pico"
},
{
"command": "raspberry-pi-pico.configureCmake",
"title": "Configure CMake",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject"
},
{
"command": "raspberry-pi-pico.importProject",
"title": "Import Pico Project",
"category": "Raspberry Pi Pico"
},
{
"command": "raspberry-pi-pico.newExampleProject",
"title": "New Example Pico Project",
"category": "Raspberry Pi Pico"
},
{
"command": "raspberry-pi-pico.uninstallPicoSDK",
"title": "Uninstall Pico SDK",
"category": "Raspberry Pi Pico"
},
{
"command": "raspberry-pi-pico.flashProject",
"title": "Flash Pico Project (SWD)",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject"
},
{
"command": "raspberry-pi-pico.cleanCmake",
"title": "Clean CMake",
"category": "Raspberry Pi Pico",
"enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject"
}
],
"configuration": {
"title": "Raspberry Pi Pico Extension",
"properties": {
"raspberry-pi-pico.cmakePath": {
"type": "string",
"default": "",
"description": "Path to the CMake executable [no spaces]"
},
"raspberry-pi-pico.python3Path": {
"type": "string",
"default": "",
"scope": "machine",
"description": "Path to the Python executable [no spaces]"
},
"raspberry-pi-pico.ninjaPath": {
"type": "string",
"default": "",
"description": "Path to Ninja executable [no spaces]"
},
"raspberry-pi-pico.gitPath": {
"type": "string",
"default": "",
"description": "Path to git executable [no spaces]"
},
"raspberry-pi-pico.cmakeAutoConfigure": {
"type": "boolean",
"default": true,
"markdownDescription": "Automatically run configure when opening a Pico project"
},
"raspberry-pi-pico.useCmakeTools": {
"type": "boolean",
"default": false,
"markdownDescription": "Use the CMake Tools extension for CMake configuration, instead of this extension"
},
"raspberry-pi-pico.githubToken": {
"type": "string",
"default": "",
"markdownDescription": "A GitHub personal access token (classic) with the `public_repo` scope. Used to check GitHub for available versions of the Pico SDK and other tools."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "raspberry-pi-pico-project",
"title": "Raspberry Pi Pico Project",
"icon": "images/24x24-RPi-Pico.svg"
}
]
},
"views": {
"raspberry-pi-pico-project": [
{
"id": "raspberry-pi-pico-project-quick-access",
"name": "Quick Access",
"type": "tree"
}
]
},
"viewsWelcome": [
{
"view": "explorer",
"contents": "[Create Pico Project](command:raspberry-pi-pico.newProject)\r\nTo learn more about working with the Raspberry Pi Pico SDK see our [Getting Started](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf) guide.",
"when": "workspaceFolderCount == 0"
}
]
},
"scripts": {
"postinstall": "yarn dlx @yarnpkg/sdks vscode",
"vscode:uninstall": "node ./dist/vscodeUninstaller.mjs",
"vscode:prepublish": "yarn run package",
"compile-uninstaller": "rollup -c uninstall.rollup.config.mjs --environment BUILD:production",
"compile": "rollup -c",
"watch": "rollup -cw",
"package": "rimraf dist && node scripts/build.mjs && yarn run compile-uninstaller",
"lint": "eslint src",
"test": "yarn run lint"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/adm-zip": "^0.5.5",
"@types/ini": "^4.1.1",
"@types/node": "20.14.0",
"@types/uuid": "^10.0.0",
"@types/vscode": "^1.92.0",
"@types/which": "^3.0.4",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.9.0",
"rollup": "^4.21.0",
"tslib": "^2.6.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0"
},
"dependencies": {
"@vscode/python-extension": "^1.0.5",
"adm-zip": "^0.5.14 <0.5.15",
"got": "^14.4.2",
"ini": "^4.1.3",
"rimraf": "^5.0.7",
"undici": "^6.19.7",
"uuid": "^10.0.0",
"which": "^4.0.0"
},
"packageManager": "[email protected]"
}