-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
308 lines (308 loc) · 8.25 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
{
"name": "vscode-piral",
"publisher": "smapiot",
"displayName": "Piral",
"description": "Makes it easy to create, manage, and debug microfrontends using the Piral framework.",
"license": "MIT",
"icon": "resources/piral.png",
"version": "0.3.0",
"homepage": "https://github.com/smapiot/vscode-piral/blob/main/README.md",
"repository": {
"type": "git",
"url": "https://github.com/smapiot/vscode-piral"
},
"bugs": {
"url": "https://github.com/smapiot/vscode-piral/issues",
"email": "[email protected]"
},
"galleryBanner": {
"color": "#56aa1c",
"theme": "dark"
},
"engines": {
"vscode": "^1.63.0"
},
"keywords": [
"piral",
"debug",
"microfrontends",
"micro-frontend",
"webapp",
"webdev"
],
"categories": [
"Debuggers",
"Snippets",
"Linters"
],
"extensionKind": [
"workspace"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension",
"contributes": {
"languages": [
{
"id": "javascript",
"extensions": [
".codegen"
]
}
],
"viewsWelcome": [
{
"view": "piral-available-commands",
"contents": "Please open a workspace folder of a piral or pilet project for specific commands.\n[Open Folder](command:vscode.openFolder)\n\nAlternatively create a new instance.\n\n[Create Piral Instance or Pilet](command:vscode-piral.cli.create)"
},
{
"view": "piral-workspace-info",
"contents": "No information available.\nPlease open a workspace folder of a piral or pilet project.\n[Open Folder](command:vscode.openFolder)"
}
],
"commands": [
{
"command": "vscode-piral.cli.piral.debug",
"title": "Debug Piral Instance",
"category": "Piral"
},
{
"command": "vscode-piral.cli.pilet.debug",
"title": "Debug Pilet",
"category": "Piral"
},
{
"command": "vscode-piral.cli.piral.validate",
"title": "Validate Piral Instance",
"category": "Piral"
},
{
"command": "vscode-piral.cli.piral.build",
"title": "Build Piral Instance",
"category": "Piral"
},
{
"command": "vscode-piral.cli.piral.build.emulator",
"title": "Build Piral Instance (Emulator)",
"category": "Piral"
},
{
"command": "vscode-piral.cli.piral.build.release",
"title": "Build Piral Instance (Release)",
"category": "Piral"
},
{
"command": "vscode-piral.cli.create",
"title": "Create Piral Instance or Pilet",
"category": "Piral"
},
{
"command": "vscode-piral.cli.pilet.build",
"title": "Build Pilet",
"category": "Piral"
},
{
"command": "vscode-piral.cli.pilet.validate",
"title": "Validate Pilet",
"category": "Piral"
},
{
"command": "vscode-piral.cli.piral.declaration",
"title": "Generate Piral Instance Declaration",
"category": "Piral"
},
{
"command": "vscode-piral.cli.pilet.publish",
"title": "Publish Pilet",
"category": "Piral"
},
{
"command": "vscode-piral.cli.available-commands.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "vscode-piral.cli.workspace-info.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "vscode-piral.available-commands.generic",
"title": "Run",
"icon": {
"light": "resources/light/run.svg",
"dark": "resources/dark/run.svg"
}
},
{
"command": "vscode-piral.plugin-show-readme.generic",
"title": "Run",
"icon": {
"light": "resources/light/file-code.svg",
"dark": "resources/dark/file-code.svg"
}
},
{
"command": "vscode-piral.plugin-show-docs.generic",
"title": "Run",
"icon": {
"light": "resources/light/link-external.svg",
"dark": "resources/dark/link-external.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "vscode-piral.cli.available-commands.refreshEntry",
"when": "view == piral-available-commands",
"group": "navigation"
},
{
"command": "vscode-piral.cli.workspace-info.refreshEntry",
"when": "view == piral-workspace-info",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "vscode-piral.available-commands.generic",
"when": "view == piral-available-commands",
"group": "inline"
},
{
"command": "vscode-piral.plugin-show-readme.generic",
"when": "view == piral-workspace-info && viewItem == showFullContextPlugin",
"group": "inline"
},
{
"command": "vscode-piral.plugin-show-docs.generic",
"when": "view == piral-workspace-info && viewItem == showFullContextPlugin",
"group": "inline"
},
{
"command": "vscode-piral.plugin-show-docs.generic",
"when": "view == piral-workspace-info && viewItem == showWebLinkContextPlugin",
"group": "inline"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "piral-commands",
"title": "Piral",
"icon": "resources/piral.png"
}
]
},
"views": {
"piral-commands": [
{
"id": "piral-available-commands",
"name": "Available Commands"
},
{
"id": "piral-workspace-info",
"name": "Workspace Info"
}
]
},
"taskDefinitions": [
{
"type": "piral",
"required": ["command"],
"properties": {
"command": {
"type": "string",
"description": "The command to run (debug, build, validate, declaration)."
},
"flags": {
"type": "array",
"description": "Additional flags for running piral debug."
}
},
"when": "shellExecutionSupported"
},
{
"type": "pilet",
"required": ["command"],
"properties": {
"command": {
"type": "string",
"description": "The command to run (debug, build, validate, pack)."
},
"flags": {
"type": "array",
"description": "Additional flags for running pilet debug."
}
},
"when": "shellExecutionSupported"
}
],
"problemMatchers": [
{
"name": "piral-cli-debug",
"owner": "piral-cli",
"severity": "error",
"fileLocation": "absolute",
"pattern": [
{
"regexp": "ERROR in (.*)",
"file": 1
},
{
"regexp": "\\((\\d+),(\\d+)\\):(.*)",
"line": 1,
"column": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "🚀 Running at",
"endsPattern": "✔ Ready!"
}
}
]
},
"pricing": "Free",
"sponsor": {
"url": "https://github.com/sponsors/smapiot"
},
"scripts": {
"vscode:prepublish": "npm run build",
"ci:publish": "vsce publish -p $VSCODE_TOKEN",
"ci:version": "node tools/version.mjs",
"check": "tsc --noEmit",
"build": "node tools/build.mjs",
"watch": "node tools/watch.mjs",
"test": "npm run check && npm run build"
},
"devDependencies": {
"@emotion/css": "^11",
"@emotion/react": "^11",
"@types/node": "^16",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/vscode": "1.63.1",
"@types/vscode-webview": "1.57.4",
"@vscode/vsce": "2.22.0",
"@vscode/webview-ui-toolkit": "1.2.2",
"axios": "^1.6.0",
"esbuild": "^0.19",
"react": "^18",
"react-dom": "^18",
"typescript": "^5",
"vscode-test": "^1.6.1",
"zustand": "^4"
},
"dependencies": {}
}