@pnp/cli-microsoft365 5.9.0-beta.bc3200c → 5.9.0-beta.c3fe008

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 (53) hide show
  1. package/.eslintrc.js +13 -0
  2. package/README.md +5 -0
  3. package/dist/appInsights.js +2 -0
  4. package/dist/m365/pp/commands/card/card-list.js +68 -0
  5. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +69 -0
  6. package/dist/m365/pp/commands/solution/Solution.js +3 -0
  7. package/dist/m365/pp/commands/solution/solution-list.js +87 -0
  8. package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
  9. package/dist/m365/pp/commands.js +5 -1
  10. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
  11. package/dist/m365/spfx/commands/spfx-doctor.js +52 -7
  12. package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
  13. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
  14. package/dist/m365/spo/commands/file/file-copy.js +25 -39
  15. package/dist/m365/spo/commands/file/file-move.js +24 -37
  16. package/dist/m365/spo/commands/file/file-rename.js +19 -16
  17. package/dist/m365/spo/commands/file/file-roleassignment-add.js +231 -0
  18. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
  19. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
  20. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  21. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +94 -0
  22. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +89 -0
  23. package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
  24. package/dist/m365/spo/commands/group/group-list.js +49 -10
  25. package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
  26. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
  27. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
  28. package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
  29. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
  30. package/dist/m365/spo/commands.js +6 -0
  31. package/dist/m365/teams/commands/channel/channel-add.js +9 -9
  32. package/dist/utils/cache.js +81 -0
  33. package/dist/utils/pid.js +57 -0
  34. package/dist/utils/powerPlatform.js +42 -0
  35. package/docs/docs/cmd/pp/card/card-list.md +33 -0
  36. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
  37. package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
  38. package/docs/docs/cmd/pp/solution/solution-list.md +33 -0
  39. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
  40. package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
  41. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
  42. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +57 -0
  43. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
  44. package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
  45. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +39 -0
  46. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +36 -0
  47. package/docs/docs/cmd/spo/group/group-list.md +10 -1
  48. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +1 -1
  49. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
  50. package/docs/docs/cmd/teams/channel/channel-add.md +4 -4
  51. package/npm-shrinkwrap.json +342 -357
  52. package/package.json +21 -18
  53. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "5.9.0-beta.bc3200c",
3
+ "version": "5.9.0-beta.c3fe008",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -116,6 +116,7 @@
116
116
  "Calabro, David <davej.calabro@gmail.com>",
117
117
  "Choudhary, Karnail Singh <pradhankarnail@gmail.com>",
118
118
  "Connell, Andrew <me@andrewconnell.com>",
119
+ "Conor O'Callaghan <brioscaibriste@gmail.com>",
119
120
  "Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
120
121
  "Dyjas, Robert <15113729+robdy@users.noreply.github.com>",
121
122
  "Faleel, Mohamed Ashiq <ashiqf@gmail.com>",
@@ -157,6 +158,7 @@
157
158
  "Nachan, Smita <smita.nachan@gmail.com>",
158
159
  "Nikolić, Aleksandar <alexandair@live.com>",
159
160
  "Otto <berot3@gmail.com>",
161
+ "Pandey, Vividh <vividh.pandey.13@gmail.com>",
160
162
  "Patil, Atharva <atharvapatil19202@gmail.com>",
161
163
  "Plenevaux, Yannick <yannick.plenevaux@gmail.com>",
162
164
  "Powney, Mark <powney.mark@outlook.com>",
@@ -174,6 +176,7 @@
174
176
  "Schütze, Sebastian <sebastian.schuetze@razorspoint.com>",
175
177
  "Shafi, Danish <33339824+builtbydans@users.noreply.github.com>",
176
178
  "Shah, Dipen <Dips365@hotmail.com>",
179
+ "Sharma, Dushyant <dushyantsharma17117@gmail.com>",
177
180
  "Siatka, Piotr <piotr@valointranet.com>",
178
181
  "Sinha, Kislay <kislay_sinha@outlook.com>",
179
182
  "Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",
@@ -201,13 +204,13 @@
201
204
  "Wojcik, Adam <adam.wojcik.it@gmail.com>"
202
205
  ],
203
206
  "dependencies": {
204
- "@azure/msal-node": "^1.12.1",
207
+ "@azure/msal-node": "^1.14.1",
205
208
  "@xmldom/xmldom": "^0.8.2",
206
- "adaptive-expressions": "^4.16.0",
207
- "adaptivecards": "^2.10.0",
208
- "adaptivecards-templating": "^2.2.0",
209
+ "adaptive-expressions": "^4.17.1",
210
+ "adaptivecards": "^2.11.1",
211
+ "adaptivecards-templating": "^2.3.1",
209
212
  "adm-zip": "^0.5.9",
210
- "applicationinsights": "^2.3.4",
213
+ "applicationinsights": "^2.3.5",
211
214
  "axios": "^0.27.2",
212
215
  "chalk": "^4.1.2",
213
216
  "clipboardy": "^2.3.0",
@@ -222,36 +225,36 @@
222
225
  "open": "^8.4.0",
223
226
  "semver": "^7.3.7",
224
227
  "strip-json-comments": "^3.1.1",
225
- "typescript": "^4.7.4",
228
+ "typescript": "^4.8.4",
226
229
  "update-notifier": "^5.1.0",
227
- "uuid": "^8.3.2"
230
+ "uuid": "^9.0.0"
228
231
  },
229
232
  "devDependencies": {
230
- "@microsoft/microsoft-graph-types": "^2.22.0",
233
+ "@microsoft/microsoft-graph-types": "^2.25.0",
231
234
  "@types/adm-zip": "^0.5.0",
232
235
  "@types/inquirer": "^8.2.1",
233
236
  "@types/jmespath": "^0.15.0",
234
237
  "@types/json-to-ast": "^2.1.2",
235
238
  "@types/minimist": "^1.2.2",
236
- "@types/mocha": "^9.1.1",
237
- "@types/node": "^16.11.47",
238
- "@types/node-forge": "^1.0.4",
239
- "@types/semver": "^7.3.10",
239
+ "@types/mocha": "^10.0.0",
240
+ "@types/node": "^16.11.64",
241
+ "@types/node-forge": "^1.3.0",
242
+ "@types/semver": "^7.3.12",
240
243
  "@types/sinon": "^10.0.13",
241
244
  "@types/update-notifier": "^5.1.0",
242
245
  "@types/uuid": "^8.3.4",
243
- "@typescript-eslint/eslint-plugin": "^5.32.0",
244
- "@typescript-eslint/parser": "^5.32.0",
246
+ "@typescript-eslint/eslint-plugin": "^5.39.0",
247
+ "@typescript-eslint/parser": "^5.39.0",
245
248
  "c8": "^7.12.0",
246
- "eslint": "^8.21.0",
249
+ "eslint": "^8.24.0",
247
250
  "eslint-config-standard": "^17.0.0",
248
251
  "eslint-plugin-cli-microsoft365": "file:eslint-rules",
249
252
  "eslint-plugin-import": "^2.26.0",
250
253
  "eslint-plugin-node": "^11.1.0",
251
- "eslint-plugin-promise": "^6.0.0",
254
+ "eslint-plugin-promise": "^6.0.1",
252
255
  "mocha": "^10.0.0",
253
256
  "rimraf": "^3.0.2",
254
- "sinon": "^14.0.0",
257
+ "sinon": "^14.0.1",
255
258
  "source-map-support": "^0.5.21"
256
259
  }
257
260
  }
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FN006006_CFG_PS_features = void 0;
4
- const uuid_1 = require("uuid");
5
- const JsonRule_1 = require("../../JsonRule");
6
- class FN006006_CFG_PS_features extends JsonRule_1.JsonRule {
7
- constructor() {
8
- super();
9
- }
10
- get id() {
11
- return 'FN006006';
12
- }
13
- get title() {
14
- return 'package-solution.json features';
15
- }
16
- get description() {
17
- return `In package-solution.json add features section`;
18
- }
19
- get resolution() {
20
- return '';
21
- }
22
- get resolutionType() {
23
- return 'json';
24
- }
25
- get severity() {
26
- return 'Required';
27
- }
28
- get file() {
29
- return './config/package-solution.json';
30
- }
31
- visit(project, findings) {
32
- var _a, _b;
33
- if (!project.packageSolutionJson ||
34
- !project.packageSolutionJson.solution) {
35
- return;
36
- }
37
- if (!project.packageSolutionJson.solution.features) {
38
- const resolution = {
39
- solution: {
40
- features: [
41
- {
42
- title: `${(_a = project.packageJson) === null || _a === void 0 ? void 0 : _a.name} Feature`,
43
- description: `The feature that activates elements of the ${(_b = project.packageJson) === null || _b === void 0 ? void 0 : _b.name} solution.`,
44
- id: (0, uuid_1.v4)(),
45
- version: project.packageSolutionJson.solution.version
46
- }
47
- ]
48
- }
49
- };
50
- const node = this.getAstNodeFromFile(project.packageSolutionJson, 'solution');
51
- this.addFindingWithOccurrences([{
52
- file: this.file,
53
- resolution: JSON.stringify(resolution, null, 2),
54
- position: this.getPositionFromNode(node)
55
- }], findings);
56
- }
57
- }
58
- }
59
- exports.FN006006_CFG_PS_features = FN006006_CFG_PS_features;
60
- //# sourceMappingURL=FN006006_CFG_PS_features.js.map