@pnp/cli-microsoft365 11.2.0-beta.0432e1f → 11.2.0-beta.7eeb404

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 (40) hide show
  1. package/.devproxy/api-specs/sharepoint.yaml +38 -15
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/m365/commands/docs.js +5 -0
  5. package/dist/m365/entra/commands/multitenant/multitenant-add.js +10 -28
  6. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.22.0-beta.1.js → doctor-1.22.0-rc.0.js} +3 -3
  7. package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
  8. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js +1 -1
  9. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002033_DEVDEP_css_loader.js +10 -0
  10. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002034_DEVDEP_microsoft_spfx_heft_plugins.js +10 -0
  11. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002035_DEVDEP_types_heft_jest.js +10 -0
  12. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021014_PKG_scripts_test_only.js +45 -0
  13. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021015_PKG_scripts_trust_dev_cert.js +45 -0
  14. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021016_PKG_scripts_untrust_dev_cert.js +45 -0
  15. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN025002_ESLINTRCJS_rushstack_import_requires_chunk_name.js +57 -0
  16. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN025003_ESLINTRCJS_rushstack_pair_react_dom_render_unmount.js +57 -0
  17. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN025004_ESLINTRCJS_microsoft_spfx_import_requires_chunk_name.js +50 -0
  18. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN025005_ESLINTRCJS_microsoft_spfx_pair_react_dom_render_unmount.js +50 -0
  19. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.22.0-beta.1.js → upgrade-1.22.0-rc.0.js} +56 -141
  20. package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
  21. package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
  22. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +4 -0
  23. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +8 -2
  24. package/dist/m365/spo/commands/commandset/commandset-add.js +4 -0
  25. package/dist/m365/spo/commands/commandset/commandset-set.js +8 -1
  26. package/dist/m365/spo/commands/site/site-versionpolicy-get.js +69 -0
  27. package/dist/m365/spo/commands.js +1 -0
  28. package/dist/m365/teams/commands/channel/channel-add.js +13 -33
  29. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-get.mdx +20 -1
  30. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-list.mdx +22 -1
  31. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +3 -0
  32. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +3 -0
  33. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +3 -0
  34. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +3 -0
  35. package/docs/docs/cmd/spo/site/site-versionpolicy-get.mdx +97 -0
  36. package/npm-shrinkwrap.json +1358 -665
  37. package/package.json +17 -17
  38. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002033_DEVDEP_jest_junit.js +0 -10
  39. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015012_FILE_config_heft_json.js +0 -10
  40. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015013_FILE_config_jest_config_json.js +0 -10
@@ -28,6 +28,9 @@ m365 spo applicationcustomizer set [options]
28
28
  `--newTitle [newTitle]`
29
29
  : The new title of the Application Customizer.
30
30
 
31
+ `--description [description]`
32
+ : Description of the application customizer. Specify an empty string to clear.
33
+
31
34
  `-p, --clientSideComponentProperties [clientSideComponentProperties]`
32
35
  : The Client Side Component properties of the Application Customizer.
33
36
 
@@ -27,6 +27,9 @@ m365 spo commandset add [options]
27
27
  `-i, --clientSideComponentId <clientSideComponentId>`
28
28
  : The Client Side Component Id (GUID) of the ListView Command Set.
29
29
 
30
+ `--description [description]`
31
+ : Description of the ListView Command Set.
32
+
30
33
  `--clientSideComponentProperties [clientSideComponentProperties]`
31
34
  : The Client Side Component properties of the ListView Command Set.
32
35
 
@@ -31,6 +31,9 @@ m365 spo commandset set [options]
31
31
  `--newTitle [newTitle]`
32
32
  : The new title of the ListView Command Set.
33
33
 
34
+ `--description [description]`
35
+ : Description of the ListView Command Set. Specify an empty string to clear.
36
+
34
37
  `-l, --listType [listType]`
35
38
  : The list or library type to register the Command Set on. Allowed values are: `List`, `Library` or `SitePages`.
36
39
 
@@ -0,0 +1,97 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo site versionpolicy get
6
+
7
+ Retrieves the version policy settings of a specific site.
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spo site versionpolicy get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --siteUrl <siteUrl>`
19
+ : URL of the site.
20
+ ```
21
+
22
+ <Global />
23
+
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |------------|---------------|
31
+ | SharePoint | AllSites.Read |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |------------|----------------|
38
+ | SharePoint | Sites.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
43
+ ## Examples
44
+
45
+ Retrieve the version policy settings of a specific site.
46
+
47
+ ```sh
48
+ m365 spo site versionpolicy get --siteUrl "https://contoso.sharepoint.com/sites/Marketing"
49
+ ```
50
+
51
+ ## Response
52
+
53
+ <Tabs>
54
+ <TabItem value="JSON">
55
+
56
+ ```json
57
+ {
58
+ "defaultTrimMode": "automatic",
59
+ "defaultExpireAfterDays": 30,
60
+ "majorVersionLimit": 500
61
+ }
62
+ ```
63
+
64
+ </TabItem>
65
+ <TabItem value="Text">
66
+
67
+ ```text
68
+ defaultExpireAfterDays: 30
69
+ defaultTrimMode : automatic
70
+ majorVersionLimit : 500
71
+ ```
72
+
73
+ </TabItem>
74
+ <TabItem value="CSV">
75
+
76
+ ```csv
77
+ defaultTrimMode,defaultExpireAfterDays,majorVersionLimit
78
+ automatic,30,500
79
+ ```
80
+
81
+ </TabItem>
82
+ <TabItem value="Markdown">
83
+
84
+ ```md
85
+ # spo site versionpolicy get --debug "false" --verbose "false" --siteUrl "https://contoso.sharepoint.com/"
86
+
87
+ Date: 8/23/2025
88
+
89
+ Property | Value
90
+ ---------|-------
91
+ defaultTrimMode | automatic
92
+ defaultExpireAfterDays | 30
93
+ majorVersionLimit | 500
94
+ ```
95
+
96
+ </TabItem>
97
+ </Tabs>