@pnp/cli-microsoft365 10.10.0-beta.bd186ba → 10.10.0

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 (86) hide show
  1. package/.devproxy/api-specs/sharepoint-admin.yaml +67 -0
  2. package/.devproxy/api-specs/sharepoint.yaml +230 -0
  3. package/.devproxy/devproxyrc.json +48 -0
  4. package/.devproxy/generate-openapi-spec.json +24 -0
  5. package/.devproxy/spo-csom-types.json +54 -0
  6. package/.eslintrc.cjs +8 -0
  7. package/allCommands.json +1 -1
  8. package/allCommandsFull.json +1 -1
  9. package/dist/cli/cli.js +2 -2
  10. package/dist/m365/app/commands/permission/permission-add.js +8 -1
  11. package/dist/m365/base/SpoCommand.js +1 -0
  12. package/dist/m365/entra/commands/app/app-permission-add.js +5 -18
  13. package/dist/m365/entra/commands/organization/organization-set.js +104 -0
  14. package/dist/m365/entra/commands.js +1 -0
  15. package/dist/m365/file/commands/file-copy.js +2 -2
  16. package/dist/m365/file/commands/file-move.js +1 -1
  17. package/dist/m365/planner/commands/tenant/tenant-settings-list.js +0 -3
  18. package/dist/m365/spo/commands/contenttype/contenttype-add.js +3 -65
  19. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +5 -50
  20. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +4 -48
  21. package/dist/m365/spo/commands/contenttype/contenttype-set.js +8 -58
  22. package/dist/m365/spo/commands/contenttype/contenttype-sync.js +2 -2
  23. package/dist/m365/spo/commands/folder/folder-sharinglink-add.js +1 -1
  24. package/dist/m365/spo/commands/folder/folder-sharinglink-clear.js +1 -1
  25. package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +1 -1
  26. package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +1 -1
  27. package/dist/m365/spo/commands/folder/folder-sharinglink-remove.js +1 -1
  28. package/dist/m365/spo/commands/folder/folder-sharinglink-set.js +1 -1
  29. package/dist/m365/spo/commands/homesite/homesite-remove.js +57 -37
  30. package/dist/m365/spo/commands/list/list-view-add.js +140 -87
  31. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +3 -27
  32. package/dist/m365/spo/commands/page/Page.js +16 -1
  33. package/dist/m365/spo/commands/page/clientsidepages.js +4 -0
  34. package/dist/m365/spo/commands/page/page-add.js +1 -1
  35. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -8
  36. package/dist/m365/spo/commands/page/page-control-remove.js +99 -0
  37. package/dist/m365/spo/commands/page/page-control-set.js +1 -1
  38. package/dist/m365/spo/commands/page/page-header-set.js +9 -40
  39. package/dist/m365/spo/commands/page/page-publish.js +2 -10
  40. package/dist/m365/spo/commands/page/page-section-add.js +75 -21
  41. package/dist/m365/spo/commands/page/page-set.js +1 -1
  42. package/dist/m365/spo/commands/site/site-admin-add.js +1 -12
  43. package/dist/m365/spo/commands/site/site-set.js +2 -2
  44. package/dist/m365/spo/commands.js +1 -0
  45. package/dist/utils/entraServicePrincipal.js +21 -0
  46. package/dist/utils/md.js +3 -3
  47. package/dist/utils/spo.js +87 -3
  48. package/docs/docs/cmd/_global.mdx +1 -1
  49. package/docs/docs/cmd/entra/organization/organization-set.mdx +84 -0
  50. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +19 -0
  51. package/docs/docs/cmd/planner/bucket/bucket-get.mdx +19 -0
  52. package/docs/docs/cmd/planner/bucket/bucket-list.mdx +19 -0
  53. package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +21 -0
  54. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +21 -0
  55. package/docs/docs/cmd/planner/plan/plan-add.mdx +19 -0
  56. package/docs/docs/cmd/planner/plan/plan-get.mdx +19 -0
  57. package/docs/docs/cmd/planner/plan/plan-list.mdx +19 -0
  58. package/docs/docs/cmd/planner/plan/plan-remove.mdx +21 -0
  59. package/docs/docs/cmd/planner/plan/plan-set.mdx +19 -0
  60. package/docs/docs/cmd/planner/roster/roster-add.mdx +19 -0
  61. package/docs/docs/cmd/planner/roster/roster-get.mdx +19 -0
  62. package/docs/docs/cmd/planner/roster/roster-member-add.mdx +19 -0
  63. package/docs/docs/cmd/planner/roster/roster-member-get.mdx +19 -0
  64. package/docs/docs/cmd/planner/roster/roster-member-list.mdx +19 -0
  65. package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +21 -0
  66. package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +19 -0
  67. package/docs/docs/cmd/planner/roster/roster-remove.mdx +21 -0
  68. package/docs/docs/cmd/planner/task/task-add.mdx +19 -0
  69. package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +19 -0
  70. package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +19 -0
  71. package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +21 -0
  72. package/docs/docs/cmd/planner/task/task-get.mdx +27 -0
  73. package/docs/docs/cmd/planner/task/task-list.mdx +19 -0
  74. package/docs/docs/cmd/planner/task/task-reference-add.mdx +19 -0
  75. package/docs/docs/cmd/planner/task/task-reference-list.mdx +19 -0
  76. package/docs/docs/cmd/planner/task/task-reference-remove.mdx +21 -0
  77. package/docs/docs/cmd/planner/task/task-remove.mdx +21 -0
  78. package/docs/docs/cmd/planner/task/task-set.mdx +19 -0
  79. package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +44 -7
  80. package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +43 -8
  81. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +6 -3
  82. package/docs/docs/cmd/spo/list/list-view-add.mdx +53 -10
  83. package/docs/docs/cmd/spo/page/page-control-remove.mdx +56 -0
  84. package/docs/docs/cmd/spo/page/page-section-add.mdx +22 -2
  85. package/npm-shrinkwrap.json +2322 -534
  86. package/package.json +17 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "10.10.0-beta.bd186ba",
3
+ "version": "10.10.0",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -28,7 +28,10 @@
28
28
  "test:version": "node scripts/check-version.js",
29
29
  "test:cov": "c8 npm run test:test",
30
30
  "test:test": "mocha",
31
- "lint": "eslint --ext .ts src --cache --cache-strategy content"
31
+ "lint": "eslint --ext .ts src --cache --cache-strategy content",
32
+ "devproxy:apispec": "devproxy -c ./.devproxy/generate-openapi-spec.json",
33
+ "devproxy:discover": "devproxy --discover --as-system-proxy false",
34
+ "devproxy:permissions": "devproxy -c ./.devproxy/devproxyrc.json"
32
35
  },
33
36
  "keywords": [
34
37
  "adaptive card",
@@ -253,18 +256,18 @@
253
256
  "Zachariassen Laksafoss, Trygvi <trygvi.laksafoss@gmail.com>"
254
257
  ],
255
258
  "dependencies": {
256
- "@azure/msal-common": "^15.7.0",
257
- "@azure/msal-node": "^3.6.0",
258
- "@inquirer/confirm": "^5.1.12",
259
- "@inquirer/input": "^4.1.12",
260
- "@inquirer/select": "^4.2.3",
259
+ "@azure/msal-common": "^15.8.0",
260
+ "@azure/msal-node": "^3.6.2",
261
+ "@inquirer/confirm": "^5.1.13",
262
+ "@inquirer/input": "^4.2.0",
263
+ "@inquirer/select": "^4.2.4",
261
264
  "@xmldom/xmldom": "^0.9.8",
262
265
  "adaptive-expressions": "^4.23.2",
263
266
  "adaptivecards": "^3.0.5",
264
267
  "adaptivecards-templating": "^2.3.1",
265
268
  "adm-zip": "^0.5.16",
266
269
  "applicationinsights": "^3.7.0",
267
- "axios": "^1.9.0",
270
+ "axios": "^1.10.0",
268
271
  "chalk": "^5.4.1",
269
272
  "clipboardy": "^4.0.0",
270
273
  "configstore": "^7.0.0",
@@ -283,7 +286,7 @@
283
286
  "uuid": "^11.1.0",
284
287
  "yaml": "^2.8.0",
285
288
  "yargs-parser": "^22.0.0",
286
- "zod": "^3.25.48"
289
+ "zod": "^3.25.75"
287
290
  },
288
291
  "devDependencies": {
289
292
  "@actions/core": "^1.11.1",
@@ -293,8 +296,8 @@
293
296
  "@types/json-schema": "^7.0.15",
294
297
  "@types/json-to-ast": "^2.1.4",
295
298
  "@types/mocha": "^10.0.10",
296
- "@types/node": "^22.15.29",
297
- "@types/node-forge": "^1.3.11",
299
+ "@types/node": "^22.16.0",
300
+ "@types/node-forge": "^1.3.12",
298
301
  "@types/omelette": "^0.4.5",
299
302
  "@types/semver": "^7.7.0",
300
303
  "@types/sinon": "^17.0.4",
@@ -307,9 +310,9 @@
307
310
  "eslint": "^8.57.1",
308
311
  "eslint-plugin-cli-microsoft365": "file:eslint-rules",
309
312
  "eslint-plugin-mocha": "^10.5.0",
310
- "mocha": "^11.5.0",
313
+ "mocha": "^11.7.1",
311
314
  "rimraf": "^6.0.1",
312
- "sinon": "^20.0.0",
315
+ "sinon": "^21.0.0",
313
316
  "source-map-support": "^0.5.21"
314
317
  }
315
- }
318
+ }