@pnp/cli-microsoft365 5.9.0-beta.5aade58 → 5.9.0-beta.78b8547
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 +2 -0
- package/dist/appInsights.js +2 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +75 -0
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
- package/dist/m365/pp/commands.js +3 -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/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 +125 -0
- 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.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/aad/o365group/o365group-recyclebinitem-restore.md +1 -1
- package/docs/docs/cmd/aad/user/user-signin-list.md +1 -1
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +1 -1
- package/docs/docs/cmd/planner/task/task-checklistitem-list.md +1 -1
- package/docs/docs/cmd/planner/task/task-reference-add.md +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-remove.md +1 -1
- package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
- 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/file/file-roleinheritance-reset.md +39 -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/hubsite/hubsite-disconnect.md +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +1 -1
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +1 -1
- package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +1 -1
- package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +1 -1
- package/docs/docs/cmd/teams/cache/cache-remove.md +1 -1
- package/docs/docs/cmd/teams/channel/channel-add.md +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-set.md +1 -1
- package/docs/docs/cmd/teams/funsettings/funsettings-set.md +6 -6
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +1 -1
- package/npm-shrinkwrap.json +342 -357
- package/package.json +21 -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.78b8547",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -114,6 +114,7 @@
|
|
|
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>",
|
|
118
119
|
"Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
|
|
119
120
|
"Dyjas, Robert <15113729+robdy@users.noreply.github.com>",
|
|
@@ -156,6 +157,7 @@
|
|
|
156
157
|
"Nachan, Smita <smita.nachan@gmail.com>",
|
|
157
158
|
"Nikolić, Aleksandar <alexandair@live.com>",
|
|
158
159
|
"Otto <berot3@gmail.com>",
|
|
160
|
+
"Pandey, Vividh <vividh.pandey.13@gmail.com>",
|
|
159
161
|
"Patil, Atharva <atharvapatil19202@gmail.com>",
|
|
160
162
|
"Plenevaux, Yannick <yannick.plenevaux@gmail.com>",
|
|
161
163
|
"Powney, Mark <powney.mark@outlook.com>",
|
|
@@ -173,6 +175,7 @@
|
|
|
173
175
|
"Schütze, Sebastian <sebastian.schuetze@razorspoint.com>",
|
|
174
176
|
"Shafi, Danish <33339824+builtbydans@users.noreply.github.com>",
|
|
175
177
|
"Shah, Dipen <Dips365@hotmail.com>",
|
|
178
|
+
"Sharma, Dushyant <dushyantsharma17117@gmail.com>",
|
|
176
179
|
"Siatka, Piotr <piotr@valointranet.com>",
|
|
177
180
|
"Sinha, Kislay <kislay_sinha@outlook.com>",
|
|
178
181
|
"Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",
|
|
@@ -200,13 +203,13 @@
|
|
|
200
203
|
"Wojcik, Adam <adam.wojcik.it@gmail.com>"
|
|
201
204
|
],
|
|
202
205
|
"dependencies": {
|
|
203
|
-
"@azure/msal-node": "^1.
|
|
206
|
+
"@azure/msal-node": "^1.14.1",
|
|
204
207
|
"@xmldom/xmldom": "^0.8.2",
|
|
205
|
-
"adaptive-expressions": "^4.
|
|
206
|
-
"adaptivecards": "^2.
|
|
207
|
-
"adaptivecards-templating": "^2.
|
|
208
|
+
"adaptive-expressions": "^4.17.1",
|
|
209
|
+
"adaptivecards": "^2.11.1",
|
|
210
|
+
"adaptivecards-templating": "^2.3.1",
|
|
208
211
|
"adm-zip": "^0.5.9",
|
|
209
|
-
"applicationinsights": "^2.3.
|
|
212
|
+
"applicationinsights": "^2.3.5",
|
|
210
213
|
"axios": "^0.27.2",
|
|
211
214
|
"chalk": "^4.1.2",
|
|
212
215
|
"clipboardy": "^2.3.0",
|
|
@@ -221,36 +224,36 @@
|
|
|
221
224
|
"open": "^8.4.0",
|
|
222
225
|
"semver": "^7.3.7",
|
|
223
226
|
"strip-json-comments": "^3.1.1",
|
|
224
|
-
"typescript": "^4.
|
|
227
|
+
"typescript": "^4.8.4",
|
|
225
228
|
"update-notifier": "^5.1.0",
|
|
226
|
-
"uuid": "^
|
|
229
|
+
"uuid": "^9.0.0"
|
|
227
230
|
},
|
|
228
231
|
"devDependencies": {
|
|
229
|
-
"@microsoft/microsoft-graph-types": "^2.
|
|
232
|
+
"@microsoft/microsoft-graph-types": "^2.25.0",
|
|
230
233
|
"@types/adm-zip": "^0.5.0",
|
|
231
234
|
"@types/inquirer": "^8.2.1",
|
|
232
235
|
"@types/jmespath": "^0.15.0",
|
|
233
236
|
"@types/json-to-ast": "^2.1.2",
|
|
234
237
|
"@types/minimist": "^1.2.2",
|
|
235
|
-
"@types/mocha": "^
|
|
236
|
-
"@types/node": "^16.11.
|
|
237
|
-
"@types/node-forge": "^1.0
|
|
238
|
-
"@types/semver": "^7.3.
|
|
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",
|
|
239
242
|
"@types/sinon": "^10.0.13",
|
|
240
243
|
"@types/update-notifier": "^5.1.0",
|
|
241
244
|
"@types/uuid": "^8.3.4",
|
|
242
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
243
|
-
"@typescript-eslint/parser": "^5.
|
|
245
|
+
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
246
|
+
"@typescript-eslint/parser": "^5.39.0",
|
|
244
247
|
"c8": "^7.12.0",
|
|
245
|
-
"eslint": "^8.
|
|
248
|
+
"eslint": "^8.24.0",
|
|
246
249
|
"eslint-config-standard": "^17.0.0",
|
|
247
250
|
"eslint-plugin-cli-microsoft365": "file:eslint-rules",
|
|
248
251
|
"eslint-plugin-import": "^2.26.0",
|
|
249
252
|
"eslint-plugin-node": "^11.1.0",
|
|
250
|
-
"eslint-plugin-promise": "^6.0.
|
|
253
|
+
"eslint-plugin-promise": "^6.0.1",
|
|
251
254
|
"mocha": "^10.0.0",
|
|
252
255
|
"rimraf": "^3.0.2",
|
|
253
|
-
"sinon": "^14.0.
|
|
256
|
+
"sinon": "^14.0.1",
|
|
254
257
|
"source-map-support": "^0.5.21"
|
|
255
258
|
}
|
|
256
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
|