@pnp/cli-microsoft365 10.6.0 → 10.7.0-beta.4bcc4fe
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.1.js +25 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.1.js +53 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FN002021_DEVDEP_rushstack_eslint_config } from '../project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js';
|
|
2
|
+
import { FN001008_DEP_react } from './rules/FN001008_DEP_react.js';
|
|
3
|
+
import { FN001009_DEP_react_dom } from './rules/FN001009_DEP_react_dom.js';
|
|
4
|
+
import { FN001035_DEP_fluentui_react } from './rules/FN001035_DEP_fluentui_react.js';
|
|
5
|
+
import { FN002004_DEVDEP_gulp } from './rules/FN002004_DEVDEP_gulp.js';
|
|
6
|
+
import { FN002007_DEVDEP_ajv } from './rules/FN002007_DEVDEP_ajv.js';
|
|
7
|
+
import { FN002013_DEVDEP_types_webpack_env } from './rules/FN002013_DEVDEP_types_webpack_env.js';
|
|
8
|
+
import { FN002015_DEVDEP_types_react } from './rules/FN002015_DEVDEP_types_react.js';
|
|
9
|
+
import { FN002016_DEVDEP_types_react_dom } from './rules/FN002016_DEVDEP_types_react_dom.js';
|
|
10
|
+
import { FN002019_DEVDEP_microsoft_rush_stack_compiler } from './rules/FN002019_DEVDEP_microsoft_rush_stack_compiler.js';
|
|
11
|
+
import { FN021001_PKG_spfx_deps_versions_match_project_version } from './rules/FN021001_PKG_spfx_deps_versions_match_project_version.js';
|
|
12
|
+
export default [
|
|
13
|
+
new FN001008_DEP_react('17'),
|
|
14
|
+
new FN001009_DEP_react_dom('17'),
|
|
15
|
+
new FN001035_DEP_fluentui_react('^8.106.4'),
|
|
16
|
+
new FN002004_DEVDEP_gulp('4.0.2'),
|
|
17
|
+
new FN002007_DEVDEP_ajv('^6.12.5'),
|
|
18
|
+
new FN002013_DEVDEP_types_webpack_env('~1.15.2'),
|
|
19
|
+
new FN002015_DEVDEP_types_react('17'),
|
|
20
|
+
new FN002016_DEVDEP_types_react_dom('17'),
|
|
21
|
+
new FN002019_DEVDEP_microsoft_rush_stack_compiler(['5.3']),
|
|
22
|
+
new FN002021_DEVDEP_rushstack_eslint_config('4.0.1'),
|
|
23
|
+
new FN021001_PKG_spfx_deps_versions_match_project_version(true)
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=doctor-1.21.1.js.map
|
|
@@ -72,7 +72,8 @@ class SpfxProjectDoctorCommand extends BaseProjectCommand {
|
|
|
72
72
|
'1.18.2',
|
|
73
73
|
'1.19.0',
|
|
74
74
|
'1.20.0',
|
|
75
|
-
'1.21.0'
|
|
75
|
+
'1.21.0',
|
|
76
|
+
'1.21.1'
|
|
76
77
|
];
|
|
77
78
|
__classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initTelemetry).call(this);
|
|
78
79
|
__classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initOptions).call(this);
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_microsoft_sp_build_web.js';
|
|
22
|
+
import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
|
|
23
|
+
import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
|
|
24
|
+
import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
|
|
25
|
+
import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
|
|
26
|
+
export default [
|
|
27
|
+
new FN001001_DEP_microsoft_sp_core_library('1.21.1'),
|
|
28
|
+
new FN001002_DEP_microsoft_sp_lodash_subset('1.21.1'),
|
|
29
|
+
new FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.21.1'),
|
|
30
|
+
new FN001004_DEP_microsoft_sp_webpart_base('1.21.1'),
|
|
31
|
+
new FN001011_DEP_microsoft_sp_dialog('1.21.1'),
|
|
32
|
+
new FN001012_DEP_microsoft_sp_application_base('1.21.1'),
|
|
33
|
+
new FN001014_DEP_microsoft_sp_listview_extensibility('1.21.1'),
|
|
34
|
+
new FN001021_DEP_microsoft_sp_property_pane('1.21.1'),
|
|
35
|
+
new FN001023_DEP_microsoft_sp_component_base('1.21.1'),
|
|
36
|
+
new FN001024_DEP_microsoft_sp_diagnostics('1.21.1'),
|
|
37
|
+
new FN001025_DEP_microsoft_sp_dynamic_data('1.21.1'),
|
|
38
|
+
new FN001026_DEP_microsoft_sp_extension_base('1.21.1'),
|
|
39
|
+
new FN001027_DEP_microsoft_sp_http('1.21.1'),
|
|
40
|
+
new FN001028_DEP_microsoft_sp_list_subscription('1.21.1'),
|
|
41
|
+
new FN001029_DEP_microsoft_sp_loader('1.21.1'),
|
|
42
|
+
new FN001030_DEP_microsoft_sp_module_interfaces('1.21.1'),
|
|
43
|
+
new FN001031_DEP_microsoft_sp_odata_types('1.21.1'),
|
|
44
|
+
new FN001032_DEP_microsoft_sp_page_context('1.21.1'),
|
|
45
|
+
new FN001013_DEP_microsoft_decorators('1.21.1'),
|
|
46
|
+
new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.21.1'),
|
|
47
|
+
new FN002001_DEVDEP_microsoft_sp_build_web('1.21.1'),
|
|
48
|
+
new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.21.1'),
|
|
49
|
+
new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.21.1'),
|
|
50
|
+
new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.21.1'),
|
|
51
|
+
new FN010001_YORC_version('1.21.1')
|
|
52
|
+
];
|
|
53
|
+
//# sourceMappingURL=upgrade-1.21.1.js.map
|
|
@@ -74,7 +74,8 @@ class SpfxProjectUpgradeCommand extends BaseProjectCommand {
|
|
|
74
74
|
'1.18.2',
|
|
75
75
|
'1.19.0',
|
|
76
76
|
'1.20.0',
|
|
77
|
-
'1.21.0'
|
|
77
|
+
'1.21.0',
|
|
78
|
+
'1.21.1'
|
|
78
79
|
];
|
|
79
80
|
__classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initTelemetry).call(this);
|
|
80
81
|
__classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initOptions).call(this);
|
|
@@ -605,6 +605,21 @@ class SpfxDoctorCommand extends BaseProjectCommand {
|
|
|
605
605
|
range: '^4 || ^5',
|
|
606
606
|
fix: 'npm i -g yo@5'
|
|
607
607
|
}
|
|
608
|
+
},
|
|
609
|
+
'1.21.1': {
|
|
610
|
+
gulpCli: {
|
|
611
|
+
range: '^1 || ^2 || ^3',
|
|
612
|
+
fix: 'npm i -g gulp-cli@3'
|
|
613
|
+
},
|
|
614
|
+
node: {
|
|
615
|
+
range: '>=22.14.0 < 23.0.0',
|
|
616
|
+
fix: 'Install Node.js >=22.14.0 < 23.0.0'
|
|
617
|
+
},
|
|
618
|
+
sp: SharePointVersion.SPO,
|
|
619
|
+
yo: {
|
|
620
|
+
range: '^4 || ^5',
|
|
621
|
+
fix: 'npm i -g yo@5'
|
|
622
|
+
}
|
|
608
623
|
}
|
|
609
624
|
};
|
|
610
625
|
this.output = '';
|
|
@@ -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.21.
|
|
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.21.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
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.7.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365",
|
|
9
|
-
"version": "10.
|
|
9
|
+
"version": "10.7.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-common": "^15.5.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.7.0-beta.4bcc4fe",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -312,4 +312,4 @@
|
|
|
312
312
|
"sinon": "^20.0.0",
|
|
313
313
|
"source-map-support": "^0.5.21"
|
|
314
314
|
}
|
|
315
|
-
}
|
|
315
|
+
}
|