-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
400 lines (394 loc) · 15.3 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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
{
"name": "dataverse-powertools",
"displayName": "Dataverse PowerTools",
"description": "Tools to help build and manage Dataverse, CDS, Power Platform, PowerApps, and Dynamics 365 CE projects",
"publisher": "dataversepowertools",
"icon": "media/logo_new.png",
"pricing": "Free",
"repository": {
"type": "git",
"url": "https://github.com/pete-mc/dataverse-powertools"
},
"version": "0.2.2",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:dataverse-powertools.readProject",
"onCommand:dataverse-powertools.generateTemplate",
"workspaceContains:**/dataverse-powertools.json"
],
"main": "./dist/extension.js",
"contributes": {
"menus": {
"explorer/context": [
{
"command": "dataverse-powertools.createWebResourceClass",
"group": "navigation@9",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"command": "dataverse-powertools.createWebResourceTest",
"group": "navigation@10",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"command": "dataverse-powertools.createPluginClass",
"group": "navigation@9",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.createWorkflowClass",
"group": "navigation@10",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
}
],
"view/title": [
{
"command": "dataversePowerToolsTableIntersectTree.updateTree",
"when": "view == dataversePowerToolsTableIntersectTree",
"group": "navigation"
},
{
"command": "dataversePowerToolsTableIntersectTree.addNewFormIntersect",
"when": "view == dataversePowerToolsTableIntersectTree",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "dataversePowerToolsTree.addEntry",
"when": "view == dataversePowerToolsTree && viewItem == Available",
"group": "inline"
},
{
"command": "dataversePowerToolsTree.deleteEntry",
"when": "view == dataversePowerToolsTree && viewItem == Selected",
"group": "inline"
},
{
"command": "dataversePowerToolsTree.manualAddToTree",
"when": "view == dataversePowerToolsTree && viewItem == SelectedRoot",
"group": "inline"
},
{
"command": "dataversePowerToolsTree.updateTree",
"when": "view == dataversePowerToolsTree && viewItem == AvailableRoot",
"group": "inline"
},
{
"command": "dataversePowerToolsTableIntersectTree.removeNewFormIntersect",
"when": "view == dataversePowerToolsTableIntersectTree && viewItem == formintersect",
"group": "inline"
},
{
"command": "dataversePowerToolsTableIntersectTree.addForm",
"when": "view == dataversePowerToolsTableIntersectTree && viewItem == formintersect",
"group": "inline"
},
{
"command": "dataversePowerToolsTableIntersectTree.removeForm",
"when": "view == dataversePowerToolsTableIntersectTree && viewItem == form",
"group": "inline"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "dataverse-powertools",
"title": "Dataverse PowerTools",
"icon": "media/logo_new.svg"
}
]
},
"views": {
"dataverse-powertools": [
{
"id": "dataversePowerToolsMenu",
"name": "Menu",
"icon": "media/dep.svg",
"contextualTitle": "Package Explorer",
"type": "tree"
},
{
"id": "dataversePowerToolsTree",
"name": "Earlybound Options",
"icon": "media/dep.svg",
"contextualTitle": "Package Explorer",
"type": "tree",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"id": "dataversePowerToolsTableIntersectTree",
"name": "Form Intersects",
"icon": "media/dep.svg",
"contextualTitle": "Package Explorer",
"type": "tree",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
}
],
"explorer": []
},
"viewsWelcome": [
{
"view": "dataversePowerToolsMenu",
"contents": "Dataverse PowerTools \n[Initialise Project](command:dataverse-powertools.initialiseProject)",
"when": "!dataverse-powertools.showLoaded"
},
{
"view": "dataversePowerToolsMenu",
"contents": "Plugin Menu\n[Build and Deploy Plugins](command:dataverse-powertools.buildDeployPlugin)\n[Build and Deploy Workflows](command:dataverse-powertools.buildDeployWorkflow)\n[Build Project](command:dataverse-powertools.buildProject)\n[Generate Early Bound](command:dataverse-powertools.generateEarlyBound)\n[Create Plugin Class](command:dataverse-powertools.createPluginClass)\n[Create Workflow Class](command:dataverse-powertools.createWorkflowClass)\n[Add Plugin Step Decoration](command:dataverse-powertools.addPluginDecoration)\n[Add Workflow Decoration](command:dataverse-powertools.addWorkflowDecoration)",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"view": "dataversePowerToolsMenu",
"contents": "Solution Menu\n[Extract Solution](command:dataverse-powertools.extractSolution)\n[Pack Solution](command:dataverse-powertools.packSolution)\n[Deploy Solution](command:dataverse-powertools.deploySolution)",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isSolution"
},
{
"view": "dataversePowerToolsMenu",
"contents": "Webresource Menu\n[Create New Class](command:dataverse-powertools.createWebResourceClass)\n[Create New Test](command:dataverse-powertools.createWebResourceTest)\n[Build Web Resources](command:dataverse-powertools.buildWebresources)\n[Build & Deploy Web Resources](command:dataverse-powertools.deployWebresources)\n[Generate Typings](command:dataverse-powertools.generateTypings)\n[Add Form Registration](command:dataverse-powertools.addFormDecoration)\n[Register Form Events](command:dataverse-powertools.saveFormData)",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"view": "dataversePowerToolsMenu",
"contents": "Local Settings Menu\n[Restore Dependencies](command:dataverse-powertools.restoreDependencies)\n[Update Connection String](command:dataverse-powertools.updateConnectionString)",
"when": "dataverse-powertools.showLoaded"
}
],
"commands": [
{
"command": "dataversePowerToolsTree.deleteEntry",
"title": "Remove Table",
"icon": {
"light": "media/light/error.svg",
"dark": "media/dark/error.svg"
}
},
{
"command": "dataversePowerToolsTree.addEntry",
"title": "Add Table",
"icon": {
"light": "media/light/pass.svg",
"dark": "media/dark/pass.svg"
}
},
{
"command": "dataversePowerToolsTree.manualAddToTree",
"title": "Add Unlisted Earlybound Table",
"icon": {
"light": "media/light/add.svg",
"dark": "media/dark/add.svg"
}
},
{
"command": "dataversePowerToolsTree.updateTree",
"title": "Refresh Earlybound Tables From Dataverse",
"icon": {
"light": "media/light/refresh.svg",
"dark": "media/dark/refresh.svg"
}
},
{
"command": "dataversePowerToolsTableIntersectTree.removeNewFormIntersect",
"title": "Remove Form Intersect",
"icon": {
"light": "media/light/trash.svg",
"dark": "media/dark/trash.svg"
}
},
{
"command": "dataversePowerToolsTableIntersectTree.removeForm",
"title": "Remove Form",
"icon": {
"light": "media/light/trash.svg",
"dark": "media/dark/trash.svg"
}
},
{
"command": "dataversePowerToolsTableIntersectTree.addForm",
"title": "Add Form",
"icon": {
"light": "media/light/add.svg",
"dark": "media/dark/add.svg"
}
},
{
"command": "dataversePowerToolsTableIntersectTree.addNewFormIntersect",
"title": "Add New Form Intersect",
"icon": {
"light": "media/light/add.svg",
"dark": "media/dark/add.svg"
}
},
{
"command": "dataversePowerToolsTableIntersectTree.updateTree",
"title": "Refresh Form Intersects from file",
"icon": {
"light": "media/light/refresh.svg",
"dark": "media/dark/refresh.svg"
}
},
{
"command": "dataverse-powertools.createWebResourceTest",
"title": "Dataverse PowerTools: Create New Test",
"when": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"command": "dataverse-powertools.updateConnectionString",
"title": "Dataverse PowerTools: Update Connection String",
"enablement": "dataverse-powertools.showLoaded"
},
{
"command": "dataverse-powertools.initialiseProject",
"title": "Dataverse PowerTools: Initialise Project",
"enablement": "!dataverse-powertools.showLoaded"
},
{
"command": "dataverse-powertools.generateEarlyBound",
"title": "Dataverse PowerTools: Generate Early Bound",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.buildDeployPlugin",
"title": "Dataverse PowerTools: Build and Deploy Plugins",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.buildProject",
"title": "Dataverse PowerTools: Build Plugin Project",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.buildDeployWorkflow",
"title": "Dataverse PowerTools: Build and Deploy Workflows",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.buildWebresources",
"title": "Dataverse PowerTools: Build Webresources",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"command": "dataverse-powertools.deployWebresources",
"title": "Dataverse PowerTools: Build and Deploy Webresources",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"command": "dataverse-powertools.generateTypings",
"title": "Dataverse PowerTools: Generate Typings",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"command": "dataverse-powertools.createPluginClass",
"title": "Dataverse PowerTools: Create Plugin Class",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.createWorkflowClass",
"title": "Dataverse PowerTools: Create Workflow Class",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.restoreDependencies",
"title": "Dataverse PowerTools: Restore Dependencies",
"enablement": "dataverse-powertools.showLoaded"
},
{
"command": "dataverse-powertools.createSNKKey",
"title": "Dataverse PowerTools: Create SNK Key",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.extractSolution",
"title": "Dataverse PowerTools: Extract Solution",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isSolution"
},
{
"command": "dataverse-powertools.packSolution",
"title": "Dataverse PowerTools: Pack Solution",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isSolution",
"category": "Dataverse PowerTools",
"icon": "media/logo_new.svg"
},
{
"command": "dataverse-powertools.deploySolution",
"title": "Dataverse PowerTools: Deploy Solution",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isSolution"
},
{
"command": "dataverse-powertools.createWebResourceClass",
"title": "Dataverse PowerTools: Create Web Resource Class",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
},
{
"command": "dataverse-powertools.connectPortal",
"title": "Dataverse PowerTools: Connect Portal",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPortal"
},
{
"command": "dataverse-powertools.downloadPortal",
"title": "Dataverse PowerTools: Download Portal",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPortal"
},
{
"command": "dataverse-powertools.addPluginDecoration",
"title": "Dataverse PowerTools: Add Plugin Decoration",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.addWorkflowDecoration",
"title": "Dataverse PowerTools: Add Workflow Decoration",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isPlugin"
},
{
"command": "dataverse-powertools.saveFormData",
"title": "Dataverse PowerTools: Register Form Events",
"enablement": "dataverse-powertools.showLoaded && dataverse-powertools.isWebResource"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"deploy": "vsce publish"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/uuid": "^9.0.1",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@vscode/test-electron": "^2.1.3",
"@vscode/vsce": "^2.19.0",
"eslint": "^8.11.0",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"prettier": "2.8.8",
"ts-loader": "^9.2.8",
"typescript": "^4.5.5",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"fast-xml-parser": "^4.2.5",
"fs-extra": "^10.1.0",
"node-fetch": "^3.2.10",
"uuid": "^9.0.0"
}
}