@pnp/cli-microsoft365 5.4.0-beta.694dbc5 → 5.4.0-beta.d01ee78
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/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-set.js +1 -1
- package/dist/m365/planner/commands/task/task-get.js +22 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002009_DEVDEP_microsoft_sp_tslint_rules.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5.js +17 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002024_DEVDEP_eslint.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002025_DEVDEP_eslint_plugin_react_hooks.js +18 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.15.0-beta.6.js → upgrade-1.15.0-rc.0.js} +49 -25
- package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
- package/dist/m365/spo/commands/list/list-view-add.js +3 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.md +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +2 -2
- package/docs/docs/cmd/planner/bucket/bucket-set.md +1 -1
- package/docs/docs/cmd/planner/task/task-get.md +4 -9
- package/docs/docs/cmd/planner/task/task-list.md +2 -2
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/list/list-view-add.md +13 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +2 -2
- package/npm-shrinkwrap.json +255 -1102
- package/package.json +13 -14
|
@@ -136,10 +136,10 @@ class PlannerBucketRemoveCommand extends GraphCommand_1.default {
|
|
|
136
136
|
options() {
|
|
137
137
|
const options = [
|
|
138
138
|
{
|
|
139
|
-
option: '--id [id]'
|
|
139
|
+
option: '-i, --id [id]'
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
option: '--name [name]'
|
|
142
|
+
option: '-n, --name [name]'
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
option: '--planId [planId]'
|
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const
|
|
3
|
+
const Auth_1 = require("../../../../Auth");
|
|
4
4
|
const request_1 = require("../../../../request");
|
|
5
|
-
const
|
|
5
|
+
const utils_1 = require("../../../../utils");
|
|
6
6
|
const planner_1 = require("../../../../utils/planner");
|
|
7
7
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
8
8
|
const commands_1 = require("../../commands");
|
|
9
|
-
const Auth_1 = require("../../../../Auth");
|
|
10
9
|
class PlannerTaskGetCommand extends GraphCommand_1.default {
|
|
11
10
|
get name() {
|
|
12
11
|
return commands_1.default.TASK_GET;
|
|
13
12
|
}
|
|
14
13
|
get description() {
|
|
15
|
-
return 'Retrieve the
|
|
14
|
+
return 'Retrieve the specified planner task';
|
|
15
|
+
}
|
|
16
|
+
getTelemetryProperties(args) {
|
|
17
|
+
const telemetryProps = super.getTelemetryProperties(args);
|
|
18
|
+
telemetryProps.id = typeof args.options.id !== 'undefined';
|
|
19
|
+
telemetryProps.title = typeof args.options.title !== 'undefined';
|
|
20
|
+
telemetryProps.bucketId = typeof args.options.bucketId !== 'undefined';
|
|
21
|
+
telemetryProps.bucketName = typeof args.options.bucketName !== 'undefined';
|
|
22
|
+
telemetryProps.planId = typeof args.options.planId !== 'undefined';
|
|
23
|
+
telemetryProps.planName = typeof args.options.planName !== 'undefined';
|
|
24
|
+
telemetryProps.ownerGroupId = typeof args.options.ownerGroupId !== 'undefined';
|
|
25
|
+
telemetryProps.ownerGroupName = typeof args.options.ownerGroupName !== 'undefined';
|
|
26
|
+
return telemetryProps;
|
|
16
27
|
}
|
|
17
28
|
commandAction(logger, args, cb) {
|
|
18
29
|
if (utils_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
|
|
@@ -23,7 +34,7 @@ class PlannerTaskGetCommand extends GraphCommand_1.default {
|
|
|
23
34
|
.getTaskId(args.options)
|
|
24
35
|
.then(taskId => {
|
|
25
36
|
const requestOptions = {
|
|
26
|
-
url: `${this.resource}/
|
|
37
|
+
url: `${this.resource}/v1.0/planner/tasks/${encodeURIComponent(taskId)}`,
|
|
27
38
|
headers: {
|
|
28
39
|
accept: 'application/json;odata.metadata=none'
|
|
29
40
|
},
|
|
@@ -125,6 +136,11 @@ class PlannerTaskGetCommand extends GraphCommand_1.default {
|
|
|
125
136
|
return Promise.resolve(groups[0].id);
|
|
126
137
|
});
|
|
127
138
|
}
|
|
139
|
+
optionSets() {
|
|
140
|
+
return [
|
|
141
|
+
['id', 'title']
|
|
142
|
+
];
|
|
143
|
+
}
|
|
128
144
|
options() {
|
|
129
145
|
const options = [
|
|
130
146
|
{ option: '-i, --id [id]' },
|
|
@@ -158,7 +174,7 @@ class PlannerTaskGetCommand extends GraphCommand_1.default {
|
|
|
158
174
|
if (args.options.planName && args.options.ownerGroupId && args.options.ownerGroupName) {
|
|
159
175
|
return 'Specify either ownerGroupId or ownerGroupName when using planName but not both';
|
|
160
176
|
}
|
|
161
|
-
if (args.options.ownerGroupId && !
|
|
177
|
+
if (args.options.ownerGroupId && !utils_1.validation.isValidGuid(args.options.ownerGroupId)) {
|
|
162
178
|
return `${args.options.ownerGroupId} is not a valid GUID`;
|
|
163
179
|
}
|
|
164
180
|
return true;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FN002009_DEVDEP_microsoft_sp_tslint_rules = void 0;
|
|
4
4
|
const DependencyRule_1 = require("./DependencyRule");
|
|
5
5
|
class FN002009_DEVDEP_microsoft_sp_tslint_rules extends DependencyRule_1.DependencyRule {
|
|
6
|
-
constructor(packageVersion) {
|
|
7
|
-
super('@microsoft/sp-tslint-rules', packageVersion, true);
|
|
6
|
+
constructor(packageVersion, add = true) {
|
|
7
|
+
super('@microsoft/sp-tslint-rules', packageVersion, true, false, add);
|
|
8
8
|
}
|
|
9
9
|
get id() {
|
|
10
10
|
return 'FN002009';
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9 = void 0;
|
|
4
4
|
const DependencyRule_1 = require("./DependencyRule");
|
|
5
5
|
class FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9 extends DependencyRule_1.DependencyRule {
|
|
6
|
-
constructor(packageVersion) {
|
|
7
|
-
super('@microsoft/rush-stack-compiler-3.9', packageVersion, true);
|
|
6
|
+
constructor(packageVersion, add = true) {
|
|
7
|
+
super('@microsoft/rush-stack-compiler-3.9', packageVersion, true, false, add);
|
|
8
8
|
}
|
|
9
9
|
get id() {
|
|
10
10
|
return 'FN002018';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5 = void 0;
|
|
4
|
+
const DependencyRule_1 = require("./DependencyRule");
|
|
5
|
+
class FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5 extends DependencyRule_1.DependencyRule {
|
|
6
|
+
constructor(packageVersion) {
|
|
7
|
+
super('@microsoft/rush-stack-compiler-4.5', packageVersion, true);
|
|
8
|
+
}
|
|
9
|
+
get id() {
|
|
10
|
+
return 'FN002020';
|
|
11
|
+
}
|
|
12
|
+
get supersedes() {
|
|
13
|
+
return ['FN002010', 'FN002011', 'FN002012', 'FN002017', 'FN002018'];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5 = FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5;
|
|
17
|
+
//# sourceMappingURL=FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FN002021_DEVDEP_rushstack_eslint_config = void 0;
|
|
4
|
+
const DependencyRule_1 = require("./DependencyRule");
|
|
5
|
+
class FN002021_DEVDEP_rushstack_eslint_config extends DependencyRule_1.DependencyRule {
|
|
6
|
+
constructor(packageVersion) {
|
|
7
|
+
super('@rushstack/eslint-config', packageVersion, true);
|
|
8
|
+
}
|
|
9
|
+
get id() {
|
|
10
|
+
return 'FN002021';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FN002021_DEVDEP_rushstack_eslint_config = FN002021_DEVDEP_rushstack_eslint_config;
|
|
14
|
+
//# sourceMappingURL=FN002021_DEVDEP_rushstack_eslint_config.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FN002022_DEVDEP_microsoft_eslint_plugin_spfx = void 0;
|
|
4
|
+
const DependencyRule_1 = require("./DependencyRule");
|
|
5
|
+
class FN002022_DEVDEP_microsoft_eslint_plugin_spfx extends DependencyRule_1.DependencyRule {
|
|
6
|
+
constructor(packageVersion) {
|
|
7
|
+
super('@microsoft/eslint-plugin-spfx', packageVersion, true);
|
|
8
|
+
}
|
|
9
|
+
get id() {
|
|
10
|
+
return 'FN002022';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FN002022_DEVDEP_microsoft_eslint_plugin_spfx = FN002022_DEVDEP_microsoft_eslint_plugin_spfx;
|
|
14
|
+
//# sourceMappingURL=FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FN002023_DEVDEP_microsoft_eslint_config_spfx = void 0;
|
|
4
|
+
const DependencyRule_1 = require("./DependencyRule");
|
|
5
|
+
class FN002023_DEVDEP_microsoft_eslint_config_spfx extends DependencyRule_1.DependencyRule {
|
|
6
|
+
constructor(packageVersion) {
|
|
7
|
+
super('@microsoft/eslint-config-spfx', packageVersion, true);
|
|
8
|
+
}
|
|
9
|
+
get id() {
|
|
10
|
+
return 'FN002023';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FN002023_DEVDEP_microsoft_eslint_config_spfx = FN002023_DEVDEP_microsoft_eslint_config_spfx;
|
|
14
|
+
//# sourceMappingURL=FN002023_DEVDEP_microsoft_eslint_config_spfx.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FN002024_DEVDEP_eslint = void 0;
|
|
4
|
+
const DependencyRule_1 = require("./DependencyRule");
|
|
5
|
+
class FN002024_DEVDEP_eslint extends DependencyRule_1.DependencyRule {
|
|
6
|
+
constructor(packageVersion) {
|
|
7
|
+
super('eslint', packageVersion, true);
|
|
8
|
+
}
|
|
9
|
+
get id() {
|
|
10
|
+
return 'FN002024';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FN002024_DEVDEP_eslint = FN002024_DEVDEP_eslint;
|
|
14
|
+
//# sourceMappingURL=FN002024_DEVDEP_eslint.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FN002025_DEVDEP_eslint_plugin_react_hooks = void 0;
|
|
4
|
+
const utils_1 = require("../../../../../../utils");
|
|
5
|
+
const DependencyRule_1 = require("./DependencyRule");
|
|
6
|
+
class FN002025_DEVDEP_eslint_plugin_react_hooks extends DependencyRule_1.DependencyRule {
|
|
7
|
+
constructor(packageVersion) {
|
|
8
|
+
super('eslint-plugin-react-hooks', packageVersion, true, true);
|
|
9
|
+
}
|
|
10
|
+
get id() {
|
|
11
|
+
return 'FN002025';
|
|
12
|
+
}
|
|
13
|
+
customCondition(project) {
|
|
14
|
+
return utils_1.spfx.isReactProject(project);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.FN002025_DEVDEP_eslint_plugin_react_hooks = FN002025_DEVDEP_eslint_plugin_react_hooks;
|
|
18
|
+
//# sourceMappingURL=FN002025_DEVDEP_eslint_plugin_react_hooks.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FN015008_FILE_eslintrc_js = void 0;
|
|
4
|
+
const FileAddRemoveRule_1 = require("./FileAddRemoveRule");
|
|
5
|
+
class FN015008_FILE_eslintrc_js extends FileAddRemoveRule_1.FileAddRemoveRule {
|
|
6
|
+
constructor(add, contents) {
|
|
7
|
+
super('./.eslintrc.js', add, contents);
|
|
8
|
+
}
|
|
9
|
+
get id() {
|
|
10
|
+
return 'FN015008';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FN015008_FILE_eslintrc_js = FN015008_FILE_eslintrc_js;
|
|
14
|
+
//# sourceMappingURL=FN015008_FILE_eslintrc_js.js.map
|
|
@@ -26,38 +26,62 @@ const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN0020
|
|
|
26
26
|
const FN002007_DEVDEP_ajv_1 = require("./rules/FN002007_DEVDEP_ajv");
|
|
27
27
|
const FN002009_DEVDEP_microsoft_sp_tslint_rules_1 = require("./rules/FN002009_DEVDEP_microsoft_sp_tslint_rules");
|
|
28
28
|
const FN002013_DEVDEP_types_webpack_env_1 = require("./rules/FN002013_DEVDEP_types_webpack_env");
|
|
29
|
+
const FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9_1 = require("./rules/FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9");
|
|
30
|
+
const FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5_1 = require("./rules/FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5");
|
|
31
|
+
const FN002021_DEVDEP_rushstack_eslint_config_1 = require("./rules/FN002021_DEVDEP_rushstack_eslint_config");
|
|
32
|
+
const FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1 = require("./rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx");
|
|
33
|
+
const FN002023_DEVDEP_microsoft_eslint_config_spfx_1 = require("./rules/FN002023_DEVDEP_microsoft_eslint_config_spfx");
|
|
34
|
+
const FN002024_DEVDEP_eslint_1 = require("./rules/FN002024_DEVDEP_eslint");
|
|
35
|
+
const FN002025_DEVDEP_eslint_plugin_react_hooks_1 = require("./rules/FN002025_DEVDEP_eslint_plugin_react_hooks");
|
|
29
36
|
const FN006004_CFG_PS_developer_1 = require("./rules/FN006004_CFG_PS_developer");
|
|
30
37
|
const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
|
|
38
|
+
const FN012017_TSC_extends_1 = require("./rules/FN012017_TSC_extends");
|
|
39
|
+
const FN015003_FILE_tslint_json_1 = require("./rules/FN015003_FILE_tslint_json");
|
|
40
|
+
const FN015008_FILE_eslintrc_js_1 = require("./rules/FN015008_FILE_eslintrc_js");
|
|
31
41
|
const FN023002_GITIGNORE_heft_1 = require("./rules/FN023002_GITIGNORE_heft");
|
|
32
42
|
module.exports = [
|
|
33
|
-
new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.15.0-
|
|
34
|
-
new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.15.0-
|
|
35
|
-
new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.15.0-
|
|
36
|
-
new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.15.0-
|
|
37
|
-
new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.15.0-
|
|
38
|
-
new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.15.0-
|
|
39
|
-
new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.15.0-
|
|
40
|
-
new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.15.0-
|
|
41
|
-
new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.15.0-
|
|
43
|
+
new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.15.0-rc.0'),
|
|
44
|
+
new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.15.0-rc.0'),
|
|
45
|
+
new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.15.0-rc.0'),
|
|
46
|
+
new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.15.0-rc.0'),
|
|
47
|
+
new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.15.0-rc.0'),
|
|
48
|
+
new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.15.0-rc.0'),
|
|
49
|
+
new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.15.0-rc.0'),
|
|
50
|
+
new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.15.0-rc.0'),
|
|
51
|
+
new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.15.0-rc.0'),
|
|
42
52
|
new FN001022_DEP_office_ui_fabric_react_1.FN001022_DEP_office_ui_fabric_react('7.183.1'),
|
|
43
|
-
new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.15.0-
|
|
44
|
-
new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.15.0-
|
|
45
|
-
new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.15.0-
|
|
46
|
-
new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.15.0-
|
|
47
|
-
new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.15.0-
|
|
48
|
-
new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.15.0-
|
|
49
|
-
new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.15.0-
|
|
50
|
-
new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.15.0-
|
|
51
|
-
new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.15.0-
|
|
52
|
-
new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.15.0-
|
|
53
|
+
new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.15.0-rc.0'),
|
|
54
|
+
new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.15.0-rc.0'),
|
|
55
|
+
new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.15.0-rc.0'),
|
|
56
|
+
new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.15.0-rc.0'),
|
|
57
|
+
new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.15.0-rc.0'),
|
|
58
|
+
new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.15.0-rc.0'),
|
|
59
|
+
new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.15.0-rc.0'),
|
|
60
|
+
new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.15.0-rc.0'),
|
|
61
|
+
new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.15.0-rc.0'),
|
|
62
|
+
new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.15.0-rc.0'),
|
|
53
63
|
new FN001033_DEP_tslib_1.FN001033_DEP_tslib('2.3.1'),
|
|
54
|
-
new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.15.0-
|
|
55
|
-
new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.15.0-
|
|
64
|
+
new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.15.0-rc.0'),
|
|
65
|
+
new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.15.0-rc.0'),
|
|
56
66
|
new FN002007_DEVDEP_ajv_1.FN002007_DEVDEP_ajv('6.12.5'),
|
|
57
|
-
new FN002009_DEVDEP_microsoft_sp_tslint_rules_1.FN002009_DEVDEP_microsoft_sp_tslint_rules('
|
|
67
|
+
new FN002009_DEVDEP_microsoft_sp_tslint_rules_1.FN002009_DEVDEP_microsoft_sp_tslint_rules('', false),
|
|
58
68
|
new FN002013_DEVDEP_types_webpack_env_1.FN002013_DEVDEP_types_webpack_env('1.15.2'),
|
|
59
|
-
new
|
|
60
|
-
new
|
|
69
|
+
new FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9_1.FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9('', false),
|
|
70
|
+
new FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5_1.FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5('0.2.0'),
|
|
71
|
+
new FN002021_DEVDEP_rushstack_eslint_config_1.FN002021_DEVDEP_rushstack_eslint_config('2.5.1'),
|
|
72
|
+
new FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1.FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.15.0-rc.0'),
|
|
73
|
+
new FN002023_DEVDEP_microsoft_eslint_config_spfx_1.FN002023_DEVDEP_microsoft_eslint_config_spfx('1.15.0-rc.0'),
|
|
74
|
+
new FN002024_DEVDEP_eslint_1.FN002024_DEVDEP_eslint('8.7.0'),
|
|
75
|
+
new FN002025_DEVDEP_eslint_plugin_react_hooks_1.FN002025_DEVDEP_eslint_plugin_react_hooks('4.3.0'),
|
|
76
|
+
new FN006004_CFG_PS_developer_1.FN006004_CFG_PS_developer('1.15.0-rc.0'),
|
|
77
|
+
new FN010001_YORC_version_1.FN010001_YORC_version('1.15.0-rc.0'),
|
|
78
|
+
new FN012017_TSC_extends_1.FN012017_TSC_extends('./node_modules/@microsoft/rush-stack-compiler-4.5/includes/tsconfig-web.json'),
|
|
79
|
+
new FN015003_FILE_tslint_json_1.FN015003_FILE_tslint_json(false, ''),
|
|
80
|
+
new FN015008_FILE_eslintrc_js_1.FN015008_FILE_eslintrc_js(true, `require('@rushstack/eslint-config/patch/modern-module-resolution');
|
|
81
|
+
module.exports = {
|
|
82
|
+
extends: ['@microsoft/eslint-config-spfx/lib/profiles/react'],
|
|
83
|
+
parserOptions: { tsconfigRootDir: __dirname }
|
|
84
|
+
};`),
|
|
61
85
|
new FN023002_GITIGNORE_heft_1.FN023002_GITIGNORE_heft()
|
|
62
86
|
];
|
|
63
|
-
//# sourceMappingURL=upgrade-1.15.0-
|
|
87
|
+
//# sourceMappingURL=upgrade-1.15.0-rc.0.js.map
|
|
@@ -17,6 +17,7 @@ class SpoListViewAddCommand extends SpoCommand_1.default {
|
|
|
17
17
|
telemetryProps.listTitle = typeof args.options.listTitle !== 'undefined';
|
|
18
18
|
telemetryProps.listUrl = typeof args.options.listUrl !== 'undefined';
|
|
19
19
|
telemetryProps.title = typeof args.options.title !== 'undefined';
|
|
20
|
+
telemetryProps.viewQuery = typeof args.options.viewQuery !== 'undefined';
|
|
20
21
|
telemetryProps.personal = !!args.options.personal;
|
|
21
22
|
telemetryProps.default = !!args.options.default;
|
|
22
23
|
telemetryProps.orderedView = !!args.options.orderedView;
|
|
@@ -38,6 +39,7 @@ class SpoListViewAddCommand extends SpoCommand_1.default {
|
|
|
38
39
|
ViewFields: {
|
|
39
40
|
results: args.options.fields.split(',')
|
|
40
41
|
},
|
|
42
|
+
Query: args.options.viewQuery,
|
|
41
43
|
PersonalView: !!args.options.personal,
|
|
42
44
|
SetAsDefaultView: !!args.options.default,
|
|
43
45
|
Paged: !!args.options.paged,
|
|
@@ -79,6 +81,7 @@ class SpoListViewAddCommand extends SpoCommand_1.default {
|
|
|
79
81
|
{ option: '--listUrl [listUrl]' },
|
|
80
82
|
{ option: '--title <title>' },
|
|
81
83
|
{ option: '--fields <fields>' },
|
|
84
|
+
{ option: '--viewQuery [viewQuery]' },
|
|
82
85
|
{ option: '--personal' },
|
|
83
86
|
{ option: '--default' },
|
|
84
87
|
{ option: '--paged' },
|
|
@@ -13,7 +13,7 @@ m365 planner bucket get [options]
|
|
|
13
13
|
`-i, --id [id]`
|
|
14
14
|
: ID of the bucket to retrieve details. Specify either `id` or `name` but not both.
|
|
15
15
|
|
|
16
|
-
`-
|
|
16
|
+
`-n, --name [name]`
|
|
17
17
|
: Name of the bucket to retrieve details. Specify either `id` or `name` but not both.
|
|
18
18
|
|
|
19
19
|
`--planId [planId]`
|
|
@@ -10,10 +10,10 @@ m365 planner bucket remove [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`-i, --id [id]`
|
|
14
14
|
: ID of the bucket to remove. Specify either `id` or `name` but not both.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
`-n, --name [name]`
|
|
17
17
|
: Name of the bucket to remove. Specify either `id` or `name` but not both.
|
|
18
18
|
|
|
19
19
|
`--planId [planId]`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# planner task get
|
|
2
2
|
|
|
3
|
-
Retrieve the
|
|
3
|
+
Retrieve the specified planner task
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -36,20 +36,15 @@ m365 planner task get [options]
|
|
|
36
36
|
|
|
37
37
|
--8<-- "docs/cmd/_global.md"
|
|
38
38
|
|
|
39
|
-
## Remarks
|
|
40
|
-
|
|
41
|
-
!!! attention
|
|
42
|
-
This command uses an API that is currently in preview to enrich the results with the `priority` field. Keep in mind that this preview API is subject to change once the API reached general availability.
|
|
43
|
-
|
|
44
39
|
## Examples
|
|
45
40
|
|
|
46
|
-
Retrieve the
|
|
41
|
+
Retrieve the specified planner task by id
|
|
47
42
|
|
|
48
43
|
```sh
|
|
49
|
-
m365 planner task get --id
|
|
44
|
+
m365 planner task get --id "vzCcZoOv-U27PwydxHB8opcADJo-"
|
|
50
45
|
```
|
|
51
46
|
|
|
52
|
-
Retrieve the
|
|
47
|
+
Retrieve the specified planner task with the title _My Planner Task_ from the bucket named _My Planner Bucket_ based on the plan with the name _My Planner Plan_ owned by the group _My Planner Group_
|
|
53
48
|
|
|
54
49
|
```sh
|
|
55
50
|
m365 planner task get --title "My Planner Task" --bucketName "My Planner Bucket" --planName "My Planner Plan" --ownerGroupName "My Planner Group"
|
|
@@ -17,10 +17,10 @@ m365 planner task list [options]
|
|
|
17
17
|
: Name of the bucket to list the tasks of. To retrieve tasks from a bucket, specify `bucketId` or `bucketName`, but not both.
|
|
18
18
|
|
|
19
19
|
`--planId [planId]`
|
|
20
|
-
: ID of
|
|
20
|
+
: ID of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planName` but not both. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
21
21
|
|
|
22
22
|
`--planName [planName]`
|
|
23
|
-
: Name of
|
|
23
|
+
: Name of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planName` but not both. Always use in combination with either `ownerGroupId` or `ownerGroupName`. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
24
24
|
|
|
25
25
|
`--ownerGroupId [ownerGroupId]`
|
|
26
26
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planName`.
|
|
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
|
|
|
32
32
|
|
|
33
33
|
## Remarks
|
|
34
34
|
|
|
35
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.14.0). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.15.0-
|
|
35
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.14.0). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.15.0-rc.0.
|
|
36
36
|
|
|
37
37
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
38
38
|
|
|
@@ -26,7 +26,10 @@ m365 spo list view add [options]
|
|
|
26
26
|
: Title of the view to be created for the list.
|
|
27
27
|
|
|
28
28
|
`--fields <fields>`
|
|
29
|
-
: Comma-separated list of **case-sensitive** internal names of the fields to add to the view.
|
|
29
|
+
: Comma-separated list of **case-sensitive** internal names of the fields to add to the view.
|
|
30
|
+
|
|
31
|
+
`--viewQuery [viewQuery]`
|
|
32
|
+
: XML representation of the list query for the underlying view.
|
|
30
33
|
|
|
31
34
|
`--personal`
|
|
32
35
|
: View will be created as personal view, if specified.
|
|
@@ -51,17 +54,23 @@ We recommend using the `paged` option. When specified, the view supports display
|
|
|
51
54
|
Add a view called _All events_ to a list with specific title.
|
|
52
55
|
|
|
53
56
|
```sh
|
|
54
|
-
spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "My List" --title "All events" --fields "FieldName1,FieldName2,Created,Author,Modified,Editor" --paged
|
|
57
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "My List" --title "All events" --fields "FieldName1,FieldName2,Created,Author,Modified,Editor" --paged
|
|
55
58
|
```
|
|
56
59
|
|
|
57
60
|
Add a view as default view with title _All events_ to a list with a specific URL.
|
|
58
61
|
|
|
59
62
|
```sh
|
|
60
|
-
spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl "/Lists/MyList" --title "All events" --fields "FieldName1,Created" --paged --default
|
|
63
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl "/Lists/MyList" --title "All events" --fields "FieldName1,Created" --paged --default
|
|
61
64
|
```
|
|
62
65
|
|
|
63
66
|
Add a personal view called _All events_ to a list with a specific ID.
|
|
64
67
|
|
|
65
68
|
```sh
|
|
66
|
-
spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listId 00000000-0000-0000-0000-000000000000 --title "All events" --fields "FieldName1,Created" --paged --personal
|
|
69
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listId 00000000-0000-0000-0000-000000000000 --title "All events" --fields "FieldName1,Created" --paged --personal
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Add a view called _All events_ with defined filter and sorting.
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "My List" --title "All events" --fields "FieldName1" --viewQuery "<OrderBy><FieldRef Name='Created' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='TextFieldName' /><Value Type='Text'>Field value</Value></Eq></Where>" --paged
|
|
67
76
|
```
|
|
@@ -20,7 +20,7 @@ m365 spo listitem roleinheritance break [options]
|
|
|
20
20
|
: ID of the list. Specify listId or listTitle but not both
|
|
21
21
|
|
|
22
22
|
`-t, --listTitle [listTitle]`
|
|
23
|
-
Title of the list. Specify listId or listTitle but not both
|
|
23
|
+
: Title of the list. Specify listId or listTitle but not both
|
|
24
24
|
|
|
25
25
|
`-c, --clearExistingPermissions`
|
|
26
26
|
: Set to clear existing roles from the list item
|
|
@@ -55,4 +55,4 @@ Break inheritance of list item _1_ in list with ID _202b8199-b9de-43fd-9737-7f21
|
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
57
|
m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listId 202b8199-b9de-43fd-9737-7f213f51c991 --id 1 --clearExistingPermissions
|
|
58
|
-
```
|
|
58
|
+
```
|