forked from pnp/vscode-viva
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
510 lines (510 loc) · 15.9 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
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
{
"name": "viva-connections-toolkit",
"displayName": "SharePoint Framework Toolkit",
"description": "SharePoint Framework Toolkit aims to boost your productivity in developing and managing SharePoint Framework solutions helping at every stage of your development flow, from setting up your development workspace to deploying a solution straight to your tenant without the need to leave VS Code and now even create a CI/CD pipeline to introduce automate deployment of your app. This toolkit is provided by the community.",
"version": "4.1.0",
"publisher": "m365pnp",
"preview": false,
"homepage": "https://github.com/pnp/vscode-viva",
"icon": "assets/logo-large.png",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Snippets",
"Extension Packs",
"Other",
"AI",
"Chat"
],
"repository": {
"type": "git",
"url": "https://github.com/pnp/vscode-viva"
},
"bugs": {
"url": "https://github.com/pnp/vscode-viva/issues"
},
"keywords": [
"SPFx",
"SharePoint Framework",
"Viva",
"Viva Connections",
"Microsoft 365",
"SharePoint",
"Microsoft Teams",
"Outlook",
"Office"
],
"activationEvents": [
"workspaceContains:**/project.pnp",
"onAuthenticationRequest:m365-pnp-auth",
"onStartupFinished"
],
"extensionDependencies": [
"vsls-contrib.codetour",
"eliostruyf.spfx-snippets"
],
"license": "MIT",
"main": "./dist/extension.js",
"contributes": {
"chatParticipants": [
{
"id": "spfx-toolkit.pnp",
"fullName": "SPFx Toolkit",
"name": "spfx",
"description": "How can I help you with SPFx development?",
"isSticky": true,
"commands": [
{
"name": "setup",
"description": "Prepare your local workspace for SharePoint Framework development"
},
{
"name": "new",
"description": "Create a new SharePoint Framework project."
},
{
"name": "code",
"description": "Let's write some SPFx code"
}
]
}
],
"walkthroughs": [
{
"id": "spfx-toolkit-intro",
"title": "SharePoint Framework Toolkit Introduction",
"description": "Start your journey wih SharePoint Framework and learn how to boost your productivity in developing and managing SharePoint Framework solutions.",
"steps": [
{
"id": "intro-to-spfx",
"title": "Introduction to SharePoint Framework",
"description": "Learn SharePoint Framework and set up your Microsoft 365 tenant \n[Join the Microsoft 365 Developer Program](https://developer.microsoft.com/en-us/microsoft-365/dev-program)",
"media": {
"markdown": "assets/walkthrough/spfx-intro.md"
}
},
{
"id": "set-up-local-workspace",
"title": "Validate your local workspace",
"description": "Validate if your local workspace is ready for SharePoint Framework development by checking and installing the required dependencies. \n[Check dependencies](command:spfx-toolkit.checkDependencies)",
"media": {
"markdown": "assets/walkthrough/validate-local-setup.md"
}
},
{
"id": "create-new-project",
"title": "Create new project",
"description": "Use the scaffolding form to create a new project or use one of the existing samples to kick off a new project and boost your development.\n[Create a new project](command:spfx-toolkit.createProject)\n[View samples](command:spfx-toolkit.samplesGallery)",
"media": {
"markdown": "assets/walkthrough/create-new-project.md"
}
},
{
"id": "tenant-details",
"title": "Sign in to Microsoft 365",
"description": "Retrieve tenant helpful information and Manage your SPFx projects. \nSign in to your tenant to get started. \n[Sign in to Microsoft 365](command:spfx-toolkit.login)",
"media": {
"markdown": "assets/walkthrough/tenant-details.md"
}
},
{
"id": "tasks",
"title": "Gulp tasks",
"description": "Get to know the Gulp tasks that are available in your SharePoint Framework project",
"media": {
"markdown": "assets/walkthrough/tasks.md"
}
},
{
"id": "actions",
"title": "Boost your development with actions",
"description": "Reduce the amount of context switching and automate your work with Actions. \nValidate your project, rename your solution, deploy it to any app catalog, grant API permissions ... and many more all without leaving the context of your work.",
"media": {
"markdown": "assets/walkthrough/actions.md"
}
},
{
"id": "coding-snippets",
"title": "Write code faster with coding snippets",
"description": "Write more with less using coding snippets",
"media": {
"markdown": "assets/walkthrough/coding-snippets.md"
}
},
{
"id": "cicd-workflow",
"title": "Create a CI/CD workflow for your SPFx project",
"description": "Create a GitHub Workflow or Azure DevOps pipeline to bundle, package, and deploy your SharePoint Framework project to any App Catalog. \n[Generate CI/CD workflow](command:spfx-toolkit.pipeline)",
"media": {
"markdown": "assets/walkthrough/cicd-workflow.md"
}
},
{
"id": "help",
"title": "Continue your learning and get additional tooling",
"description": "SharePoint Framework Toolkit is your single point to get to the official Microsoft documentation and learning regarding SharePoint Framework and additional tooling that will help you create apps for Microsoft 365.",
"media": {
"image": "assets/images/help-and-feedback.png",
"altText": "help and feedback section"
}
},
{
"id": "Community",
"title": "Connect with the Microsoft 365 and Power Platform community",
"description": "Stay up to date and connected. \nVisit the [Microsoft 365 and Power Platform community](https://pnp.github.io/) to get more learning materials, guidance, tooling, and engage in community calls. \nJoin the [community Discord server](https://aka.ms/community/discord) to stay connected and help out others. \n Sharing is caring!",
"media": {
"image": "assets/images/parker-pnp.png",
"altText": "PnP Parker"
}
}
]
}
],
"configuration": {
"title": "SharePoint Framework Toolkit",
"properties": {
"spfx-toolkit.nodeVersionManager": {
"title": "Node.js Version Manager",
"type": "string",
"default": "nvm",
"enum": [
"nvm",
"nvs",
"none"
],
"description": "Choose your preferred Node.js version manager. Choose between `nvs`, `nvm`, or `none`."
},
"spfx-toolkit.showServiceIncidentList": {
"title": "Show service health incidents",
"type": "boolean",
"default": "true",
"description": "Show the service health incidents in the account view."
},
"spfx-toolkit.showTenantWideExtensions": {
"title": "Show tenant-wide extensions",
"type": "boolean",
"default": "true",
"description": "Show the tenant-wide extensions in the account view."
}
}
},
"icons": {
"spo-m365": {
"description": "Microsoft 365 icon",
"default": {
"fontPath": "./assets/fonts/fabric-icons.woff",
"fontCharacter": "\\ED72"
}
},
"spo-logo": {
"description": "SharePoint Online icon",
"default": {
"fontPath": "./assets/fonts/fabric-icons.woff",
"fontCharacter": "\\ED18"
}
},
"spo-app-list": {
"description": "Tenant-Wide extension list icon",
"default": {
"fontPath": "./assets/fonts/fabric-icons.woff",
"fontCharacter": "\\E31E"
}
},
"spo-app": {
"description": "App icon",
"default": {
"fontPath": "./assets/fonts/fabric-icons.woff",
"fontCharacter": "\\ECDC"
}
},
"m365-warning": {
"description": "Warning icon",
"default": {
"fontPath": "./assets/fonts/fabric-icons.woff",
"fontCharacter": "\\E7BA"
}
},
"m365-health": {
"description": "Health icon",
"default": {
"fontPath": "./assets/fonts/fabric-icons.woff",
"fontCharacter": "\\E95E"
}
},
"entra-id": {
"description": "Entra ID icon",
"default": {
"fontPath": "./assets/fonts/fabric-icons.woff",
"fontCharacter": "\\ED68"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "pnp-view",
"title": "SharePoint Framework Toolkit",
"icon": "assets/logo-light.svg"
}
]
},
"views": {
"pnp-view": [
{
"id": "pnp-view-empty",
"name": "SharePoint Framework Toolkit",
"when": "pnp.project.showWelcome"
},
{
"id": "pnp-view-account",
"name": "Account",
"when": "pnp.project.isSPFxProject"
},
{
"id": "pnp-view-environment",
"name": "App Catalog details",
"when": "pnp.project.isSPFxProject && pnp.project.isLoggedIn"
},
{
"id": "pnp-view-tasks",
"name": "Tasks",
"when": "pnp.project.isSPFxProject"
},
{
"id": "pnp-view-actions",
"name": "Actions",
"when": "pnp.project.isSPFxProject"
},
{
"id": "pnp-view-help",
"name": "Help and feedback",
"when": "pnp.project.isSPFxProject"
}
]
},
"viewsWelcome": [
{
"view": "pnp-view-empty",
"contents": "Welcome to SharePoint Framework Toolkit\n\n\nTo start create a new SharePoint Framework project. \n[Create a new project](command:spfx-toolkit.createProject)\n\n\n\n\n\nUse a sample to kick off a new project and boost your development.\n[View samples](command:spfx-toolkit.samplesGallery)\n\n\n\n\n\nYou can also open an existing app.\n[Open folder](command:vscode.openFolder)\n\n\n\n\n\nValidate your local workspace and check if you have the required dependencies.\n[Check dependencies](command:spfx-toolkit.checkDependencies)\n\n\n\n\n\nInstall the required dependencies.\n[Install dependencies](command:spfx-toolkit.installDependencies)\n\n\n\nLearn more about SharePoint Framework and this toolkit.\n[Walkthrough](command:spfx-toolkit.welcome)\n\n\n\nFor additional help or resources visit the [extension wiki](https://github.com/pnp/vscode-viva/wiki)."
}
],
"commands": [
{
"command": "spfx-toolkit.welcome",
"title": "Welcome",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.checkDependencies",
"title": "Check dependencies",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.installDependencies",
"title": "Install dependencies",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.createProject",
"title": "Create new project",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.addToProject",
"title": "Add component to project",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.executeTerminalCommand",
"title": "Execute terminal command",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.upgradeProject",
"title": "Upgrade project SPFx version",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.deployProject",
"title": "Deploy project to app catalog",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.samplesGallery",
"title": "Open SharePoint Framework Samples gallery",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.validateProject",
"title": "Validate project correctness",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.renameProject",
"title": "Rename project",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.grantAPIPermissions",
"title": "Grant API permissions",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.pipeline",
"title": "Scaffold CI/CD Workflow",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.login",
"title": "Sign in to Microsoft 365",
"category": "SharePoint Framework Toolkit",
"icon": "$(sign-in)"
},
{
"command": "spfx-toolkit.logout",
"title": "Sign out from Microsoft 365",
"category": "SharePoint Framework Toolkit",
"icon": "$(sign-out)"
},
{
"command": "spfx-toolkit.registerEntraAppRegistration",
"title": "Create a new app registration",
"category": "SharePoint Framework Toolkit"
},
{
"command": "spfx-toolkit.refreshAppCatalogTreeView",
"title": "Refresh App Catalog list",
"category": "SharePoint Framework Toolkit",
"icon": "$(refresh)"
},
{
"command": "spfx-toolkit.refreshAccountTreeView",
"title": "Refresh Account view",
"category": "SharePoint Framework Toolkit",
"icon": "$(refresh)"
}
],
"menus": {
"commandPalette": [
{
"command": "spfx-toolkit.executeTerminalCommand",
"when": "false"
},
{
"command": "spfx-toolkit.addToProject",
"when": "pnp.project.isSPFxProject"
},
{
"command": "spfx-toolkit.upgradeProject",
"when": "pnp.project.isSPFxProject"
},
{
"command": "spfx-toolkit.validateProject",
"when": "pnp.project.isSPFxProject"
}
],
"view/title": [
{
"command": "spfx-toolkit.refreshAppCatalogTreeView",
"when": "view == pnp-view-environment",
"group": "navigation"
},
{
"command": "spfx-toolkit.refreshAccountTreeView",
"when": "view == pnp-view-account",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "spfx-toolkit.logout",
"when": "view == pnp-view-account && viewItem == m365Account",
"group": "inline@1"
}
],
"explorer/context": [
{
"command": "spfx-toolkit.deployProject",
"group": "pnp.project@1",
"when": "resourceExtname == '.sppkg' && pnp.project.hasAppCatalog"
}
]
},
"languages": [
{
"id": "pnp.project.output",
"mimetypes": [
"text/x-code-output"
]
}
],
"grammars": [
{
"language": "pnp.project.output",
"scopeName": "pnp.project.output",
"path": "./syntaxes/pnp-output.tmLanguage.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"watch": "npm run clean && npm-run-all --parallel watch:*",
"watch:ext": "webpack --mode development --watch --config ./webpack/extension.config.js",
"watch:webview": "webpack serve --mode development --config ./webpack/webview.config.js",
"package": "npm run clean && npm run package:ext && npm run package:webview",
"package:ext": "webpack --mode production --config ./webpack/extension.config.js --devtool hidden-source-map",
"package:webview": "webpack --mode production --config ./webpack/webview.config.js",
"clean": "rimraf dist"
},
"devDependencies": {
"@actions/core": "^1.8.2",
"@estruyf/vscode": "1.0.0",
"@fluentui/react": "^8.114.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"@types/react-router-dom": "^5.3.3",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/prompt-tsx": "^0.2.3-alpha",
"@vscode/test-electron": "^2.0.3",
"@vscode/webview-ui-toolkit": "^1.0.0",
"autoprefixer": "^10.4.5",
"css-loader": "^6.7.1",
"date-fns": "^2.28.0",
"eslint": "^8.6.0",
"fast-glob": "^3.2.11",
"file-loader": "^6.2.0",
"github-directory-downloader": "^1.3.6",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"npm": "^8.8.0",
"npm-run-all": "^4.1.5",
"path-browserify": "^1.0.1",
"postcss": "^8.4.31",
"postcss-loader": "^6.2.1",
"postcss-nested": "^5.0.6",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-router-dom": "^6.3.0",
"rimraf": "^3.0.2",
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.24",
"ts-loader": "^9.2.9",
"typescript": "^4.5.4",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.8.1"
},
"dependencies": {
"@pnp/cli-microsoft365": "6.11.0",
"node-forge": "^1.3.1",
"react-markdown": "^9.0.1",
"remark-gfm": "^4.0.0",
"use-debounce": "^10.0.1"
}
}