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

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 (34) hide show
  1. package/.eslintrc.js +2 -0
  2. package/dist/appInsights.js +2 -0
  3. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +75 -0
  4. package/dist/m365/pp/commands/solution/Solution.js +3 -0
  5. package/dist/m365/pp/commands/solution/solution-list.js +87 -0
  6. package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
  7. package/dist/m365/pp/commands.js +4 -1
  8. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
  9. package/dist/m365/spfx/commands/spfx-doctor.js +52 -7
  10. package/dist/m365/spo/commands/file/file-copy.js +25 -39
  11. package/dist/m365/spo/commands/file/file-move.js +24 -37
  12. package/dist/m365/spo/commands/file/file-rename.js +19 -16
  13. package/dist/m365/spo/commands/file/file-roleassignment-add.js +231 -0
  14. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
  15. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  16. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +94 -0
  17. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +89 -0
  18. package/dist/m365/spo/commands.js +4 -0
  19. package/dist/utils/cache.js +81 -0
  20. package/dist/utils/pid.js +57 -0
  21. package/dist/utils/powerPlatform.js +42 -0
  22. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
  23. package/docs/docs/cmd/pp/solution/solution-list.md +33 -0
  24. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
  25. package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
  26. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +57 -0
  27. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
  28. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +39 -0
  29. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +36 -0
  30. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +1 -1
  31. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
  32. package/npm-shrinkwrap.json +342 -357
  33. package/package.json +20 -18
  34. 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.fd24b4e",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -157,6 +157,7 @@
157
157
  "Nachan, Smita <smita.nachan@gmail.com>",
158
158
  "Nikolić, Aleksandar <alexandair@live.com>",
159
159
  "Otto <berot3@gmail.com>",
160
+ "Pandey, Vividh <vividh.pandey.13@gmail.com>",
160
161
  "Patil, Atharva <atharvapatil19202@gmail.com>",
161
162
  "Plenevaux, Yannick <yannick.plenevaux@gmail.com>",
162
163
  "Powney, Mark <powney.mark@outlook.com>",
@@ -174,6 +175,7 @@
174
175
  "Schütze, Sebastian <sebastian.schuetze@razorspoint.com>",
175
176
  "Shafi, Danish <33339824+builtbydans@users.noreply.github.com>",
176
177
  "Shah, Dipen <Dips365@hotmail.com>",
178
+ "Sharma, Dushyant <dushyantsharma17117@gmail.com>",
177
179
  "Siatka, Piotr <piotr@valointranet.com>",
178
180
  "Sinha, Kislay <kislay_sinha@outlook.com>",
179
181
  "Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",
@@ -201,13 +203,13 @@
201
203
  "Wojcik, Adam <adam.wojcik.it@gmail.com>"
202
204
  ],
203
205
  "dependencies": {
204
- "@azure/msal-node": "^1.12.1",
206
+ "@azure/msal-node": "^1.14.1",
205
207
  "@xmldom/xmldom": "^0.8.2",
206
- "adaptive-expressions": "^4.16.0",
207
- "adaptivecards": "^2.10.0",
208
- "adaptivecards-templating": "^2.2.0",
208
+ "adaptive-expressions": "^4.17.1",
209
+ "adaptivecards": "^2.11.1",
210
+ "adaptivecards-templating": "^2.3.1",
209
211
  "adm-zip": "^0.5.9",
210
- "applicationinsights": "^2.3.4",
212
+ "applicationinsights": "^2.3.5",
211
213
  "axios": "^0.27.2",
212
214
  "chalk": "^4.1.2",
213
215
  "clipboardy": "^2.3.0",
@@ -222,36 +224,36 @@
222
224
  "open": "^8.4.0",
223
225
  "semver": "^7.3.7",
224
226
  "strip-json-comments": "^3.1.1",
225
- "typescript": "^4.7.4",
227
+ "typescript": "^4.8.4",
226
228
  "update-notifier": "^5.1.0",
227
- "uuid": "^8.3.2"
229
+ "uuid": "^9.0.0"
228
230
  },
229
231
  "devDependencies": {
230
- "@microsoft/microsoft-graph-types": "^2.22.0",
232
+ "@microsoft/microsoft-graph-types": "^2.25.0",
231
233
  "@types/adm-zip": "^0.5.0",
232
234
  "@types/inquirer": "^8.2.1",
233
235
  "@types/jmespath": "^0.15.0",
234
236
  "@types/json-to-ast": "^2.1.2",
235
237
  "@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",
238
+ "@types/mocha": "^10.0.0",
239
+ "@types/node": "^16.11.64",
240
+ "@types/node-forge": "^1.3.0",
241
+ "@types/semver": "^7.3.12",
240
242
  "@types/sinon": "^10.0.13",
241
243
  "@types/update-notifier": "^5.1.0",
242
244
  "@types/uuid": "^8.3.4",
243
- "@typescript-eslint/eslint-plugin": "^5.32.0",
244
- "@typescript-eslint/parser": "^5.32.0",
245
+ "@typescript-eslint/eslint-plugin": "^5.39.0",
246
+ "@typescript-eslint/parser": "^5.39.0",
245
247
  "c8": "^7.12.0",
246
- "eslint": "^8.21.0",
248
+ "eslint": "^8.24.0",
247
249
  "eslint-config-standard": "^17.0.0",
248
250
  "eslint-plugin-cli-microsoft365": "file:eslint-rules",
249
251
  "eslint-plugin-import": "^2.26.0",
250
252
  "eslint-plugin-node": "^11.1.0",
251
- "eslint-plugin-promise": "^6.0.0",
253
+ "eslint-plugin-promise": "^6.0.1",
252
254
  "mocha": "^10.0.0",
253
255
  "rimraf": "^3.0.2",
254
- "sinon": "^14.0.0",
256
+ "sinon": "^14.0.1",
255
257
  "source-map-support": "^0.5.21"
256
258
  }
257
259
  }
@@ -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