@pnp/cli-microsoft365 6.1.0-beta.1da0a1d → 6.1.0-beta.a927083
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/cli/Cli.js +48 -5
- package/dist/m365/planner/commands/plan/plan-set.js +305 -0
- package/dist/m365/planner/commands/tenant/tenant-settings-set.js +4 -7
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.1.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +63 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015009_FILE_config_sass_json.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.1.js +59 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +78 -31
- package/dist/m365/spo/commands/file/file-get.js +5 -17
- package/dist/m365/spo/commands/folder/folder-get.js +1 -9
- package/dist/m365/spo/commands/listitem/listitem-get.js +4 -16
- package/dist/m365/spo/commands/listitem/listitem-set.js +7 -4
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +5 -1
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +2 -13
- package/dist/m365/spo/commands/web/web-get.js +5 -16
- package/dist/utils/formatting.js +37 -0
- package/docs/docs/cmd/planner/plan/plan-set.md +144 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.md +15 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +6 -6
- package/package.json +1 -1
|
@@ -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.16.
|
|
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.16.1).
|
|
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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# spo contenttype set
|
|
2
2
|
|
|
3
|
-
Update existing content type
|
|
3
|
+
Update an existing content type
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -28,8 +28,16 @@ m365 spo contenttype set [options]
|
|
|
28
28
|
`--listUrl [listUrl]`
|
|
29
29
|
: URL of the list if you want to update a list content type. Specify either `listTitle`, `listId` or `listUrl`.
|
|
30
30
|
|
|
31
|
+
`--updateChildren`
|
|
32
|
+
: Specify if you want to push updates to child content types.
|
|
33
|
+
|
|
31
34
|
--8<-- "docs/cmd/_global.md"
|
|
32
35
|
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
!!! important "Updating child content types"
|
|
39
|
+
When specifying the `--updateChildren` flag, SharePoint will only propagate the changes that are made in the current request. If you want to know more about updating a content type and propagating changes to child content types, be sure to [read more here](https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ms442695(v=office.14)#considerations-when-updating-child-content-types).
|
|
40
|
+
|
|
33
41
|
## Examples
|
|
34
42
|
|
|
35
43
|
Move site content type to a different group
|
|
@@ -43,3 +51,9 @@ Rename list content type
|
|
|
43
51
|
```sh
|
|
44
52
|
m365 spo contenttype set --name "My old item" --webUrl https://contoso.sharepoint.com --listTitle "My list" --Name "My item"
|
|
45
53
|
```
|
|
54
|
+
|
|
55
|
+
Configure a form customizer with manifest ID _19890cce-15d8-4af9-bfcb-72da06d13ed8_ on a site content type and push changes to child content types.
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 spo contenttype set --name "My content type" --webUrl https://contoso.sharepoint.com --DisplayFormClientSideComponentId "19890cce-15d8-4af9-bfcb-72da06d13ed8" --EditFormClientSideComponentId "19890cce-15d8-4af9-bfcb-72da06d13ed8" --NewFormClientSideComponentId "19890cce-15d8-4af9-bfcb-72da06d13ed8" --updateChildren
|
|
59
|
+
```
|
|
@@ -11,22 +11,22 @@ m365 spo navigation node add [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: Absolute URL of the site to which navigation should be modified
|
|
14
|
+
: Absolute URL of the site to which navigation should be modified.
|
|
15
15
|
|
|
16
16
|
`-l, --location [location]`
|
|
17
|
-
: Navigation type where the node should be added. Available options: `QuickLaunch`, `TopNavigationBar`
|
|
17
|
+
: Navigation type where the node should be added. Available options: `QuickLaunch`, `TopNavigationBar`. Specify either `location` or `parentNodeId` but not both.
|
|
18
18
|
|
|
19
19
|
`-t, --title <title>`
|
|
20
|
-
: Navigation node title
|
|
20
|
+
: Navigation node title.
|
|
21
21
|
|
|
22
22
|
`--url <url>`
|
|
23
|
-
: Navigation node URL
|
|
23
|
+
: Navigation node URL.
|
|
24
24
|
|
|
25
25
|
`--parentNodeId [parentNodeId]`
|
|
26
|
-
: ID of the node below which the node should be added
|
|
26
|
+
: ID of the node below which the node should be added. Specify either `location` or `parentNodeId` but not both.
|
|
27
27
|
|
|
28
28
|
`--isExternal`
|
|
29
|
-
: Set, if the navigation node points to an external URL
|
|
29
|
+
: Set, if the navigation node points to an external URL.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
package/package.json
CHANGED