@pnp/cli-microsoft365 11.10.0-beta.68e3b93 → 11.10.0-beta.df8d498

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.
@@ -638,6 +638,21 @@ export const versions = {
638
638
  range: '^4 || ^5 || ^6 || ^7',
639
639
  fix: 'npm i -g yo@7'
640
640
  }
641
+ },
642
+ '1.23.2': {
643
+ heft: {
644
+ range: '^1',
645
+ fix: 'npm i -g @rushstack/heft@1'
646
+ },
647
+ node: {
648
+ range: '>=22.14.0 <23.0.0',
649
+ fix: 'Install Node.js >=22.14.0 <23.0.0'
650
+ },
651
+ sp: SharePointVersion.SPO,
652
+ yo: {
653
+ range: '^4 || ^5 || ^6 || ^7',
654
+ fix: 'npm i -g yo@7'
655
+ }
641
656
  }
642
657
  };
643
658
  //# sourceMappingURL=SpfxCompatibilityMatrix.js.map
@@ -0,0 +1,19 @@
1
+ import { FN001008_DEP_react } from './rules/FN001008_DEP_react.js';
2
+ import { FN001009_DEP_react_dom } from './rules/FN001009_DEP_react_dom.js';
3
+ import { FN001035_DEP_fluentui_react } from './rules/FN001035_DEP_fluentui_react.js';
4
+ import { FN002013_DEVDEP_types_webpack_env } from './rules/FN002013_DEVDEP_types_webpack_env.js';
5
+ import { FN002015_DEVDEP_types_react } from './rules/FN002015_DEVDEP_types_react.js';
6
+ import { FN002016_DEVDEP_types_react_dom } from './rules/FN002016_DEVDEP_types_react_dom.js';
7
+ import { FN002022_DEVDEP_typescript } from './rules/FN002022_DEVDEP_typescript.js';
8
+ import { FN021001_PKG_spfx_deps_versions_match_project_version } from './rules/FN021001_PKG_spfx_deps_versions_match_project_version.js';
9
+ export default [
10
+ new FN001008_DEP_react({ supportedRange: '17' }),
11
+ new FN001009_DEP_react_dom({ supportedRange: '17' }),
12
+ new FN001035_DEP_fluentui_react({ supportedRange: '^8.106.4' }),
13
+ new FN002013_DEVDEP_types_webpack_env({ supportedRange: '~1.15.2' }),
14
+ new FN002015_DEVDEP_types_react({ supportedRange: '17' }),
15
+ new FN002016_DEVDEP_types_react_dom({ supportedRange: '17' }),
16
+ new FN002022_DEVDEP_typescript({ supportedRange: '~5.8.0' }),
17
+ new FN021001_PKG_spfx_deps_versions_match_project_version({ includeDevDeps: true })
18
+ ];
19
+ //# sourceMappingURL=doctor-1.23.2.js.map
@@ -77,7 +77,8 @@ class SpfxProjectDoctorCommand extends BaseProjectCommand {
77
77
  '1.22.0',
78
78
  '1.22.1',
79
79
  '1.22.2',
80
- '1.23.0'
80
+ '1.23.0',
81
+ '1.23.2'
81
82
  ];
82
83
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initTelemetry).call(this);
83
84
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initOptions).call(this);
@@ -0,0 +1,55 @@
1
+ import { FN001001_DEP_microsoft_sp_core_library } from './rules/FN001001_DEP_microsoft_sp_core_library.js';
2
+ import { FN001002_DEP_microsoft_sp_lodash_subset } from './rules/FN001002_DEP_microsoft_sp_lodash_subset.js';
3
+ import { FN001003_DEP_microsoft_sp_office_ui_fabric_core } from './rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core.js';
4
+ import { FN001004_DEP_microsoft_sp_webpart_base } from './rules/FN001004_DEP_microsoft_sp_webpart_base.js';
5
+ import { FN001011_DEP_microsoft_sp_dialog } from './rules/FN001011_DEP_microsoft_sp_dialog.js';
6
+ import { FN001012_DEP_microsoft_sp_application_base } from './rules/FN001012_DEP_microsoft_sp_application_base.js';
7
+ import { FN001013_DEP_microsoft_decorators } from './rules/FN001013_DEP_microsoft_decorators.js';
8
+ import { FN001014_DEP_microsoft_sp_listview_extensibility } from './rules/FN001014_DEP_microsoft_sp_listview_extensibility.js';
9
+ import { FN001021_DEP_microsoft_sp_property_pane } from './rules/FN001021_DEP_microsoft_sp_property_pane.js';
10
+ import { FN001023_DEP_microsoft_sp_component_base } from './rules/FN001023_DEP_microsoft_sp_component_base.js';
11
+ import { FN001024_DEP_microsoft_sp_diagnostics } from './rules/FN001024_DEP_microsoft_sp_diagnostics.js';
12
+ import { FN001025_DEP_microsoft_sp_dynamic_data } from './rules/FN001025_DEP_microsoft_sp_dynamic_data.js';
13
+ import { FN001026_DEP_microsoft_sp_extension_base } from './rules/FN001026_DEP_microsoft_sp_extension_base.js';
14
+ import { FN001027_DEP_microsoft_sp_http } from './rules/FN001027_DEP_microsoft_sp_http.js';
15
+ import { FN001028_DEP_microsoft_sp_list_subscription } from './rules/FN001028_DEP_microsoft_sp_list_subscription.js';
16
+ import { FN001029_DEP_microsoft_sp_loader } from './rules/FN001029_DEP_microsoft_sp_loader.js';
17
+ import { FN001030_DEP_microsoft_sp_module_interfaces } from './rules/FN001030_DEP_microsoft_sp_module_interfaces.js';
18
+ import { FN001031_DEP_microsoft_sp_odata_types } from './rules/FN001031_DEP_microsoft_sp_odata_types.js';
19
+ import { FN001032_DEP_microsoft_sp_page_context } from './rules/FN001032_DEP_microsoft_sp_page_context.js';
20
+ import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js';
21
+ import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
22
+ import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
23
+ import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
24
+ import { FN002030_DEVDEP_microsoft_spfx_web_build_rig } from './rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js';
25
+ import { FN002034_DEVDEP_microsoft_spfx_heft_plugins } from './rules/FN002034_DEVDEP_microsoft_spfx_heft_plugins.js';
26
+ import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
27
+ export default [
28
+ new FN001001_DEP_microsoft_sp_core_library({ packageVersion: '1.23.2' }),
29
+ new FN001002_DEP_microsoft_sp_lodash_subset({ packageVersion: '1.23.2' }),
30
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core({ packageVersion: '1.23.2' }),
31
+ new FN001004_DEP_microsoft_sp_webpart_base({ packageVersion: '1.23.2' }),
32
+ new FN001011_DEP_microsoft_sp_dialog({ packageVersion: '1.23.2' }),
33
+ new FN001012_DEP_microsoft_sp_application_base({ packageVersion: '1.23.2' }),
34
+ new FN001014_DEP_microsoft_sp_listview_extensibility({ packageVersion: '1.23.2' }),
35
+ new FN001021_DEP_microsoft_sp_property_pane({ packageVersion: '1.23.2' }),
36
+ new FN001023_DEP_microsoft_sp_component_base({ packageVersion: '1.23.2' }),
37
+ new FN001024_DEP_microsoft_sp_diagnostics({ packageVersion: '1.23.2' }),
38
+ new FN001025_DEP_microsoft_sp_dynamic_data({ packageVersion: '1.23.2' }),
39
+ new FN001026_DEP_microsoft_sp_extension_base({ packageVersion: '1.23.2' }),
40
+ new FN001027_DEP_microsoft_sp_http({ packageVersion: '1.23.2' }),
41
+ new FN001028_DEP_microsoft_sp_list_subscription({ packageVersion: '1.23.2' }),
42
+ new FN001029_DEP_microsoft_sp_loader({ packageVersion: '1.23.2' }),
43
+ new FN001030_DEP_microsoft_sp_module_interfaces({ packageVersion: '1.23.2' }),
44
+ new FN001031_DEP_microsoft_sp_odata_types({ packageVersion: '1.23.2' }),
45
+ new FN001032_DEP_microsoft_sp_page_context({ packageVersion: '1.23.2' }),
46
+ new FN001013_DEP_microsoft_decorators({ packageVersion: '1.23.2' }),
47
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base({ packageVersion: '1.23.2' }),
48
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces({ packageVersion: '1.23.2' }),
49
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx({ packageVersion: '1.23.2' }),
50
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx({ packageVersion: '1.23.2' }),
51
+ new FN002030_DEVDEP_microsoft_spfx_web_build_rig({ packageVersion: '1.23.2' }),
52
+ new FN002034_DEVDEP_microsoft_spfx_heft_plugins({ packageVersion: '1.23.2' }),
53
+ new FN010001_YORC_version({ version: '1.23.2' })
54
+ ];
55
+ //# sourceMappingURL=upgrade-1.23.2.js.map
@@ -86,7 +86,8 @@ class SpfxProjectUpgradeCommand extends BaseProjectCommand {
86
86
  '1.22.0',
87
87
  '1.22.1',
88
88
  '1.22.2',
89
- '1.23.0'
89
+ '1.23.0',
90
+ '1.23.2'
90
91
  ];
91
92
  }
92
93
  async commandAction(logger, args) {
@@ -20,7 +20,7 @@ class SpoHomeSiteRemoveCommand extends SpoCommand {
20
20
  return commands.HOMESITE_REMOVE;
21
21
  }
22
22
  get description() {
23
- return 'Removes a Home Site';
23
+ return 'Removes a home site';
24
24
  }
25
25
  get schema() {
26
26
  return options;
@@ -45,7 +45,7 @@ m365 spfx project upgrade [options]
45
45
 
46
46
  ## Remarks
47
47
 
48
- 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.23.0).
48
+ 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.23.2).
49
49
 
50
50
  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.
51
51
 
@@ -36,6 +36,25 @@ m365 spo homesite add [options]
36
36
 
37
37
  <Global />
38
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |------------|----------------------|
46
+ | SharePoint | AllSites.FullControl |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|-----------------------|
53
+ | SharePoint | Sites.FullControl.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Examples
40
59
 
41
60
  Add a home site
@@ -44,13 +63,13 @@ Add a home site
44
63
  m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
45
64
  ```
46
65
 
47
- Add a home site with audiences specified by their groups ids and with additional options
66
+ Add a home site with audiences specified by their group ids and with additional options
48
67
 
49
68
  ```sh
50
69
  m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms" --isInDraftMode true --vivaConnectionsDefaultStart false --audienceIds "af8c0bc8-7b1b-44b4-b087-ffcc8df70d16,754ff15c-76b1-44cb-88c7-0065a4d3cfb7" --order 2
51
70
  ```
52
71
 
53
- Add a home site with audiences specified by their groups names and with additional options
72
+ Add a home site with audiences specified by their group names and with additional options
54
73
 
55
74
  ```sh
56
75
  m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms" --isInDraftMode true --vivaConnectionsDefaultStart false --audienceNames "Marketing, IT department" --order 2
@@ -21,6 +21,25 @@ m365 spo homesite get [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |------------|----------------------|
31
+ | SharePoint | AllSites.FullControl |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |------------|-----------------------|
38
+ | SharePoint | Sites.FullControl.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get information about a home site.
@@ -16,6 +16,25 @@ m365 spo homesite list [options]
16
16
 
17
17
  <Global />
18
18
 
19
+ ## Permissions
20
+
21
+ <Tabs>
22
+ <TabItem value="Delegated">
23
+
24
+ | Resource | Permissions |
25
+ |------------|----------------------|
26
+ | SharePoint | AllSites.FullControl |
27
+
28
+ </TabItem>
29
+ <TabItem value="Application">
30
+
31
+ | Resource | Permissions |
32
+ |------------|-----------------------|
33
+ | SharePoint | Sites.FullControl.All |
34
+
35
+ </TabItem>
36
+ </Tabs>
37
+
19
38
  ## Examples
20
39
 
21
40
  List all home sites
@@ -1,8 +1,10 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo homesite remove
4
6
 
5
- Removes a Home Site
7
+ Removes a home site
6
8
 
7
9
  ## Usage
8
10
 
@@ -30,15 +32,34 @@ To use this command you must be either **SharePoint Administrator** or **Global
30
32
 
31
33
  :::
32
34
 
35
+ ## Permissions
36
+
37
+ <Tabs>
38
+ <TabItem value="Delegated">
39
+
40
+ | Resource | Permissions |
41
+ |------------|----------------------|
42
+ | SharePoint | AllSites.FullControl |
43
+
44
+ </TabItem>
45
+ <TabItem value="Application">
46
+
47
+ | Resource | Permissions |
48
+ |------------|-----------------------|
49
+ | SharePoint | Sites.FullControl.All |
50
+
51
+ </TabItem>
52
+ </Tabs>
53
+
33
54
  ## Examples
34
55
 
35
- Removes a Home site specified by URL.
56
+ Removes a home site specified by URL.
36
57
 
37
58
  ```sh
38
59
  m365 spo homesite remove --url "https://contoso.sharepoint.com/sites/Europe"
39
60
  ```
40
61
 
41
- Removes a Home site specified by URL without prompting for confirmation.
62
+ Removes a home site specified by URL without prompting for confirmation.
42
63
 
43
64
  ```sh
44
65
  m365 spo homesite remove --url "https://contoso.sharepoint.com/sites/Europe" --force
@@ -44,6 +44,25 @@ To use this command you must be a Global or SharePoint administrator.
44
44
 
45
45
  :::
46
46
 
47
+ ## Permissions
48
+
49
+ <Tabs>
50
+ <TabItem value="Delegated">
51
+
52
+ | Resource | Permissions |
53
+ |------------|----------------------|
54
+ | SharePoint | AllSites.FullControl |
55
+
56
+ </TabItem>
57
+ <TabItem value="Application">
58
+
59
+ | Resource | Permissions |
60
+ |------------|-----------------------|
61
+ | SharePoint | Sites.FullControl.All |
62
+
63
+ </TabItem>
64
+ </Tabs>
65
+
47
66
  ## Examples
48
67
 
49
68
  Sets the home site to the provided site collection url and sets the Viva Connections landing experience to the SharePoint home site
@@ -70,13 +89,13 @@ Set the audience to groups using groups Ids
70
89
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceIds "978b5280-4f80-47ea-a1db-b0d1d2fb1ba4,21af775d-17b3-4637-94a4-2ba8625277cb"
71
90
  ```
72
91
 
73
- Set the audience to using their display name
92
+ Set the audience using their display name
74
93
 
75
94
  ```sh
76
95
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames "Marketing, IT department"
77
96
  ```
78
97
 
79
- Clear the audience and set to draft
98
+ Clear the audience and set to draft
80
99
 
81
100
  ```sh
82
101
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames '' --draftMode true