@pnp/cli-microsoft365 7.2.0-beta.6775e3a → 7.2.0-beta.8577f52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/allCommands.json +1 -0
  2. package/allCommandsFull.json +1 -0
  3. package/dist/Auth.js +1 -1
  4. package/dist/Command.js +13 -6
  5. package/dist/api.js +5 -7
  6. package/dist/cli/Cli.js +97 -119
  7. package/dist/cli/timings.js +9 -0
  8. package/dist/index.js +8 -14
  9. package/dist/m365/cli/commands/config/config-set.js +13 -0
  10. package/dist/m365/commands/login.js +12 -8
  11. package/dist/m365/flow/commands/environment/environment-list.js +6 -4
  12. package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -4
  13. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.1-rc.0.js → doctor-1.18.1.js} +1 -1
  14. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.2.js +21 -0
  15. package/dist/m365/spfx/commands/project/project-doctor.js +6 -3
  16. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +17 -0
  17. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.1-rc.0.js → upgrade-1.18.1.js} +26 -26
  18. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.2.js +53 -0
  19. package/dist/m365/spfx/commands/project/project-upgrade.js +18 -17
  20. package/dist/m365/spfx/commands/spfx-doctor.js +16 -1
  21. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +14 -23
  22. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +19 -27
  23. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +9 -29
  24. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +9 -28
  25. package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +27 -37
  26. package/dist/m365/spo/commands/list/list-retentionlabel-remove.js +6 -19
  27. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +5 -0
  28. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +36 -37
  29. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +36 -32
  30. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +49 -12
  31. package/dist/m365/spo/commands/site/site-add.js +45 -12
  32. package/dist/m365/spo/commands/sitescript/sitescript-get.js +8 -2
  33. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +19 -2
  34. package/dist/m365/teams/commands/user/user-app-remove.js +18 -5
  35. package/dist/request.js +6 -0
  36. package/dist/settingsNames.js +2 -0
  37. package/dist/utils/prompt.js +5 -1
  38. package/dist/utils/spo.js +109 -0
  39. package/docs/docs/_clisettings.mdx +2 -0
  40. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +1 -1
  41. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +2 -2
  42. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +1 -1
  43. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +1 -1
  44. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +2 -2
  45. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +2 -2
  46. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +2 -2
  47. package/docs/docs/cmd/aad/policy/policy-list.mdx +1 -1
  48. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +1 -1
  49. package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +1 -1
  50. package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +1 -1
  51. package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +1 -1
  52. package/docs/docs/cmd/aad/sp/sp-add.mdx +2 -2
  53. package/docs/docs/cmd/aad/sp/sp-get.mdx +2 -2
  54. package/docs/docs/cmd/aad/user/user-add.mdx +3 -3
  55. package/docs/docs/cmd/aad/user/user-guest-add.mdx +1 -1
  56. package/docs/docs/cmd/aad/user/user-set.mdx +3 -3
  57. package/docs/docs/cmd/flow/run/run-cancel.mdx +3 -0
  58. package/docs/docs/cmd/graph/changelog/changelog-list.mdx +5 -5
  59. package/docs/docs/cmd/login.mdx +1 -1
  60. package/docs/docs/cmd/onenote/notebook/notebook-list.mdx +1 -1
  61. package/docs/docs/cmd/outlook/message/message-list.mdx +1 -1
  62. package/docs/docs/cmd/outlook/message/message-move.mdx +1 -1
  63. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +1 -1
  64. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +1 -1
  65. package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -3
  66. package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
  67. package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +3 -3
  68. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +1 -1
  69. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -1
  70. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +1 -1
  71. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -1
  72. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
  73. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +1 -1
  74. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +1 -1
  75. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +4 -4
  76. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  77. package/docs/docs/cmd/spo/app/app-add.mdx +1 -1
  78. package/docs/docs/cmd/spo/app/app-deploy.mdx +1 -1
  79. package/docs/docs/cmd/spo/app/app-get.mdx +1 -1
  80. package/docs/docs/cmd/spo/app/app-install.mdx +1 -1
  81. package/docs/docs/cmd/spo/app/app-list.mdx +1 -1
  82. package/docs/docs/cmd/spo/app/app-remove.mdx +1 -1
  83. package/docs/docs/cmd/spo/app/app-retract.mdx +1 -1
  84. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  85. package/docs/docs/cmd/spo/app/app-upgrade.mdx +1 -1
  86. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +1 -1
  87. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  88. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +1 -1
  89. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +1 -1
  90. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.mdx +10 -1
  91. package/docs/docs/cmd/spo/site/site-add.mdx +25 -4
  92. package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +1 -1
  93. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +1 -1
  94. package/docs/docs/cmd/spo/site/site-groupify.mdx +1 -1
  95. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +3 -3
  96. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +1 -1
  97. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +1 -1
  98. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +1 -1
  99. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +1 -1
  100. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +1 -1
  101. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +1 -1
  102. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +1 -1
  103. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +1 -1
  104. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +1 -1
  105. package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +3 -3
  106. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +1 -1
  107. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +1 -1
  108. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +1 -1
  109. package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +1 -1
  110. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +73 -3
  111. package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +1 -1
  112. package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +1 -1
  113. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +1 -1
  114. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +1 -1
  115. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +1 -1
  116. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +1 -1
  117. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +1 -1
  118. package/docs/docs/cmd/spo/theme/theme-apply.mdx +1 -1
  119. package/docs/docs/cmd/spo/theme/theme-get.mdx +1 -1
  120. package/docs/docs/cmd/spo/theme/theme-list.mdx +1 -1
  121. package/docs/docs/cmd/spo/theme/theme-remove.mdx +1 -1
  122. package/docs/docs/cmd/spo/user/user-remove.mdx +1 -1
  123. package/docs/docs/cmd/spo/web/web-set.mdx +1 -1
  124. package/docs/docs/cmd/teams/channel/channel-remove.mdx +1 -1
  125. package/docs/docs/cmd/teams/meeting/meeting-get.mdx +1 -1
  126. package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +1 -1
  127. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
  128. package/docs/docs/cmd/teams/tab/tab-remove.mdx +1 -1
  129. package/docs/docs/cmd/teams/team/team-remove.mdx +1 -1
  130. package/docs/docs/cmd/teams/user/user-app-remove.mdx +11 -2
  131. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +1 -1
  132. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +1 -1
  133. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +1 -1
  134. package/docs/docs/cmd/todo/task/task-set.mdx +1 -1
  135. package/npm-shrinkwrap.json +480 -516
  136. package/package.json +33 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "7.2.0-beta.6775e3a",
3
+ "version": "7.2.0-beta.8577f52",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "type": "module",
23
23
  "scripts": {
24
- "build": "tsc -p . && node scripts/copy-files.js",
24
+ "build": "tsc -p . && node scripts/write-all-commands.js && node scripts/copy-files.js",
25
25
  "watch": "tsc -w -p .",
26
26
  "clean": "rimraf ./dist",
27
27
  "test": "npm run test:version && npm run lint && npm run test:cov",
@@ -101,12 +101,12 @@
101
101
  },
102
102
  {
103
103
  "name": "Jasey Waegebaert",
104
- "email": "jaseyw@gmigroup.be",
104
+ "email": "38426621+Jwaegebaert@users.noreply.github.com",
105
105
  "web": "https://github.com/Jwaegebaert"
106
106
  },
107
107
  {
108
108
  "name": "Milan Holemans",
109
- "email": "Milan.Holemans@vanroey.be",
109
+ "email": "11723921+milanholemans@users.noreply.github.com",
110
110
  "web": "https://github.com/milanholemans"
111
111
  }
112
112
  ],
@@ -145,7 +145,7 @@
145
145
  "Hagström, Joakim <johags@johags-sb2.localdomain>",
146
146
  "Harding, Phil <pil.harding@platinumdogs.co.uk>",
147
147
  "Hawrylak, Paweł <phawrylak@outlook.com>",
148
- "Holemans, Milan <Milan.Holemans@vanroey.be>",
148
+ "Holemans, Milan <11723921+milanholemans@users.noreply.github.com>",
149
149
  "Honen, Nicholas <nickhonen@gmail.com>",
150
150
  "Högberg, Joakim <joakim.hogberg@bravero.se>",
151
151
  "Hunt, Geoffrey <info@runningdeveloper.com>",
@@ -200,6 +200,7 @@
200
200
  "Rathi, Tanmay <tanmay_rathi@intuit.com>",
201
201
  "Reekmans, Yannick <reekmans.yannick@gmail.com>",
202
202
  "Raghwendra Rishabh <rishabhraghwendra2002@gmail.com>",
203
+ "Rodrigues, Joel <19577724+joelfmrodrigues@users.noreply.github.com>",
203
204
  "Romano, Rodrigo <rodrigo@rodrigoromano.net>",
204
205
  "Romão, Douglas <douglas.romao@trentim.com>",
205
206
  "Rozinov, Roman <roman.rozinov@sogeti.com>",
@@ -236,7 +237,7 @@
236
237
  "van Rousselt, Rick <rick.vanrousselt@outlook.com>",
237
238
  "Velliah, Joseph <joseph@sprider.org>",
238
239
  "Verbeeck, Mathijs <verbeeckmathijs@gmail.com>",
239
- "Waegebaert, Jasey <jaseyw@gmigroup.be>",
240
+ "Waegebaert, Jasey <38426621+Jwaegebaert@users.noreply.github.com>",
240
241
  "Wilen, Wictor <wictor@wictorwilen.se>",
241
242
  "Williams, Rabia <rabiawilliams@gmail.com>",
242
243
  "Wojcik, Adam <adam.wojcik.it@gmail.com>",
@@ -244,18 +245,18 @@
244
245
  ],
245
246
  "dependencies": {
246
247
  "@azure/msal-common": "^13.2.1",
247
- "@azure/msal-node": "^1.18.3",
248
- "@inquirer/confirm": "^2.0.12",
249
- "@inquirer/input": "^1.2.11",
250
- "@inquirer/select": "^1.2.11",
248
+ "@azure/msal-node": "^1.18.4",
249
+ "@inquirer/confirm": "^2.0.15",
250
+ "@inquirer/input": "^1.2.14",
251
+ "@inquirer/select": "^1.3.1",
251
252
  "@xmldom/xmldom": "^0.8.10",
252
- "adaptive-expressions": "^4.20.1",
253
- "adaptivecards": "^3.0.1",
253
+ "adaptive-expressions": "^4.21.0",
254
+ "adaptivecards": "^3.0.2",
254
255
  "adaptivecards-templating": "^2.3.1",
255
256
  "adm-zip": "^0.5.10",
256
- "applicationinsights": "^2.8.0",
257
- "axios": "^1.5.1",
258
- "chalk": "^5.2.0",
257
+ "applicationinsights": "^2.9.0",
258
+ "axios": "^1.6.1",
259
+ "chalk": "^5.3.0",
259
260
  "clipboardy": "^3.0.0",
260
261
  "configstore": "^6.0.0",
261
262
  "csv-stringify": "^6.4.4",
@@ -268,34 +269,34 @@
268
269
  "open": "^8.4.2",
269
270
  "ora": "^5.4.1",
270
271
  "semver": "^7.5.4",
271
- "strip-json-comments": "^5.0.0",
272
- "typescript": "^5.0.2",
272
+ "strip-json-comments": "^5.0.1",
273
+ "typescript": "^5.2.2",
273
274
  "update-notifier": "^6.0.2",
274
275
  "uuid": "^9.0.1",
275
- "yaml": "^2.3.2"
276
+ "yaml": "^2.3.4"
276
277
  },
277
278
  "devDependencies": {
278
279
  "@microsoft/microsoft-graph-types": "^2.38.0",
279
- "@types/adm-zip": "^0.5.2",
280
- "@types/jmespath": "^0.15.0",
281
- "@types/json-to-ast": "^2.1.2",
282
- "@types/minimist": "^1.2.3",
283
- "@types/mocha": "^10.0.2",
284
- "@types/node": "^18.18.4",
285
- "@types/node-forge": "^1.3.7",
286
- "@types/omelette": "^0.4.2",
287
- "@types/semver": "^7.5.3",
288
- "@types/sinon": "^10.0.19",
289
- "@types/update-notifier": "^6.0.5",
290
- "@types/uuid": "^9.0.5",
280
+ "@types/adm-zip": "^0.5.4",
281
+ "@types/jmespath": "^0.15.2",
282
+ "@types/json-to-ast": "^2.1.4",
283
+ "@types/minimist": "^1.2.5",
284
+ "@types/mocha": "^10.0.4",
285
+ "@types/node": "^18.18.9",
286
+ "@types/node-forge": "^1.3.9",
287
+ "@types/omelette": "^0.4.4",
288
+ "@types/semver": "^7.5.5",
289
+ "@types/sinon": "^10.0.20",
290
+ "@types/update-notifier": "^6.0.7",
291
+ "@types/uuid": "^9.0.7",
291
292
  "@typescript-eslint/eslint-plugin": "^5.62.0",
292
293
  "@typescript-eslint/parser": "^5.62.0",
293
294
  "c8": "^7.14.0",
294
- "eslint": "^8.51.0",
295
+ "eslint": "^8.53.0",
295
296
  "eslint-plugin-cli-microsoft365": "file:eslint-rules",
296
297
  "eslint-plugin-mocha": "^10.2.0",
297
298
  "mocha": "^10.2.0",
298
- "rimraf": "^4.4.0",
299
+ "rimraf": "^4.4.1",
299
300
  "sinon": "^15.2.0",
300
301
  "source-map-support": "^0.5.21"
301
302
  }