@pnp/cli-microsoft365 5.9.0-beta.7a142b7 → 5.9.0-beta.86c5624
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.
- package/.eslintrc.js +13 -0
- package/README.md +5 -0
- package/dist/appInsights.js +2 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +75 -0
- package/dist/m365/pp/commands/solution/Solution.js +3 -0
- package/dist/m365/pp/commands/solution/solution-list.js +87 -0
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
- package/dist/m365/pp/commands.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
- package/dist/m365/spfx/commands/spfx-doctor.js +52 -7
- package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
- package/dist/m365/spo/commands/file/file-copy.js +25 -39
- package/dist/m365/spo/commands/file/file-move.js +24 -37
- package/dist/m365/spo/commands/file/file-rename.js +19 -16
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +231 -0
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +94 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +89 -0
- package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
- package/dist/m365/spo/commands/group/group-list.js +49 -10
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands.js +5 -0
- package/dist/utils/cache.js +81 -0
- package/dist/utils/pid.js +57 -0
- package/dist/utils/powerPlatform.js +42 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/solution/solution-list.md +33 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
- package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +57 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +39 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +36 -0
- package/docs/docs/cmd/spo/group/group-list.md +10 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
- package/npm-shrinkwrap.json +342 -357
- package/package.json +22 -18
- 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.
|
|
3
|
+
"version": "5.9.0-beta.86c5624",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -114,7 +114,9 @@
|
|
|
114
114
|
"Bloemsma, Arjen <a.bloemsma@gmail.com>",
|
|
115
115
|
"Brouwers, Stijn <stijnbrouwers@gmail.com>",
|
|
116
116
|
"Calabro, David <davej.calabro@gmail.com>",
|
|
117
|
+
"Choudhary, Karnail Singh <pradhankarnail@gmail.com>",
|
|
117
118
|
"Connell, Andrew <me@andrewconnell.com>",
|
|
119
|
+
"Conor O'Callaghan <brioscaibriste@gmail.com>",
|
|
118
120
|
"Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
|
|
119
121
|
"Dyjas, Robert <15113729+robdy@users.noreply.github.com>",
|
|
120
122
|
"Faleel, Mohamed Ashiq <ashiqf@gmail.com>",
|
|
@@ -156,6 +158,7 @@
|
|
|
156
158
|
"Nachan, Smita <smita.nachan@gmail.com>",
|
|
157
159
|
"Nikolić, Aleksandar <alexandair@live.com>",
|
|
158
160
|
"Otto <berot3@gmail.com>",
|
|
161
|
+
"Pandey, Vividh <vividh.pandey.13@gmail.com>",
|
|
159
162
|
"Patil, Atharva <atharvapatil19202@gmail.com>",
|
|
160
163
|
"Plenevaux, Yannick <yannick.plenevaux@gmail.com>",
|
|
161
164
|
"Powney, Mark <powney.mark@outlook.com>",
|
|
@@ -173,6 +176,7 @@
|
|
|
173
176
|
"Schütze, Sebastian <sebastian.schuetze@razorspoint.com>",
|
|
174
177
|
"Shafi, Danish <33339824+builtbydans@users.noreply.github.com>",
|
|
175
178
|
"Shah, Dipen <Dips365@hotmail.com>",
|
|
179
|
+
"Sharma, Dushyant <dushyantsharma17117@gmail.com>",
|
|
176
180
|
"Siatka, Piotr <piotr@valointranet.com>",
|
|
177
181
|
"Sinha, Kislay <kislay_sinha@outlook.com>",
|
|
178
182
|
"Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",
|
|
@@ -200,13 +204,13 @@
|
|
|
200
204
|
"Wojcik, Adam <adam.wojcik.it@gmail.com>"
|
|
201
205
|
],
|
|
202
206
|
"dependencies": {
|
|
203
|
-
"@azure/msal-node": "^1.
|
|
207
|
+
"@azure/msal-node": "^1.14.1",
|
|
204
208
|
"@xmldom/xmldom": "^0.8.2",
|
|
205
|
-
"adaptive-expressions": "^4.
|
|
206
|
-
"adaptivecards": "^2.
|
|
207
|
-
"adaptivecards-templating": "^2.
|
|
209
|
+
"adaptive-expressions": "^4.17.1",
|
|
210
|
+
"adaptivecards": "^2.11.1",
|
|
211
|
+
"adaptivecards-templating": "^2.3.1",
|
|
208
212
|
"adm-zip": "^0.5.9",
|
|
209
|
-
"applicationinsights": "^2.3.
|
|
213
|
+
"applicationinsights": "^2.3.5",
|
|
210
214
|
"axios": "^0.27.2",
|
|
211
215
|
"chalk": "^4.1.2",
|
|
212
216
|
"clipboardy": "^2.3.0",
|
|
@@ -221,36 +225,36 @@
|
|
|
221
225
|
"open": "^8.4.0",
|
|
222
226
|
"semver": "^7.3.7",
|
|
223
227
|
"strip-json-comments": "^3.1.1",
|
|
224
|
-
"typescript": "^4.
|
|
228
|
+
"typescript": "^4.8.4",
|
|
225
229
|
"update-notifier": "^5.1.0",
|
|
226
|
-
"uuid": "^
|
|
230
|
+
"uuid": "^9.0.0"
|
|
227
231
|
},
|
|
228
232
|
"devDependencies": {
|
|
229
|
-
"@microsoft/microsoft-graph-types": "^2.
|
|
233
|
+
"@microsoft/microsoft-graph-types": "^2.25.0",
|
|
230
234
|
"@types/adm-zip": "^0.5.0",
|
|
231
235
|
"@types/inquirer": "^8.2.1",
|
|
232
236
|
"@types/jmespath": "^0.15.0",
|
|
233
237
|
"@types/json-to-ast": "^2.1.2",
|
|
234
238
|
"@types/minimist": "^1.2.2",
|
|
235
|
-
"@types/mocha": "^
|
|
236
|
-
"@types/node": "^16.11.
|
|
237
|
-
"@types/node-forge": "^1.0
|
|
238
|
-
"@types/semver": "^7.3.
|
|
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",
|
|
239
243
|
"@types/sinon": "^10.0.13",
|
|
240
244
|
"@types/update-notifier": "^5.1.0",
|
|
241
245
|
"@types/uuid": "^8.3.4",
|
|
242
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
243
|
-
"@typescript-eslint/parser": "^5.
|
|
246
|
+
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
247
|
+
"@typescript-eslint/parser": "^5.39.0",
|
|
244
248
|
"c8": "^7.12.0",
|
|
245
|
-
"eslint": "^8.
|
|
249
|
+
"eslint": "^8.24.0",
|
|
246
250
|
"eslint-config-standard": "^17.0.0",
|
|
247
251
|
"eslint-plugin-cli-microsoft365": "file:eslint-rules",
|
|
248
252
|
"eslint-plugin-import": "^2.26.0",
|
|
249
253
|
"eslint-plugin-node": "^11.1.0",
|
|
250
|
-
"eslint-plugin-promise": "^6.0.
|
|
254
|
+
"eslint-plugin-promise": "^6.0.1",
|
|
251
255
|
"mocha": "^10.0.0",
|
|
252
256
|
"rimraf": "^3.0.2",
|
|
253
|
-
"sinon": "^14.0.
|
|
257
|
+
"sinon": "^14.0.1",
|
|
254
258
|
"source-map-support": "^0.5.21"
|
|
255
259
|
}
|
|
256
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
|