Skip to content

Commit 73946b0

Browse files
Fixes after rebase
1 parent 6491377 commit 73946b0

2 files changed

Lines changed: 36 additions & 36 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
import { FN002021_DEVDEP_rushstack_eslint_config } from '../project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js';
21
import { FN001008_DEP_react } from './rules/FN001008_DEP_react.js';
32
import { FN001009_DEP_react_dom } from './rules/FN001009_DEP_react_dom.js';
43
import { FN001035_DEP_fluentui_react } from './rules/FN001035_DEP_fluentui_react.js';
54
import { FN002013_DEVDEP_types_webpack_env } from './rules/FN002013_DEVDEP_types_webpack_env.js';
65
import { FN002015_DEVDEP_types_react } from './rules/FN002015_DEVDEP_types_react.js';
76
import { FN002016_DEVDEP_types_react_dom } from './rules/FN002016_DEVDEP_types_react_dom.js';
7+
import { FN002021_DEVDEP_rushstack_eslint_config } from './rules/FN002021_DEVDEP_rushstack_eslint_config.js';
88
import { FN002022_DEVDEP_typescript } from './rules/FN002022_DEVDEP_typescript.js';
99
import { FN021001_PKG_spfx_deps_versions_match_project_version } from './rules/FN021001_PKG_spfx_deps_versions_match_project_version.js';
1010

1111
export default [
12-
new FN001008_DEP_react('17'),
13-
new FN001009_DEP_react_dom('17'),
14-
new FN001035_DEP_fluentui_react('^8.106.4'),
15-
new FN002013_DEVDEP_types_webpack_env('~1.15.2'),
16-
new FN002015_DEVDEP_types_react('17'),
17-
new FN002016_DEVDEP_types_react_dom('17'),
18-
new FN002021_DEVDEP_rushstack_eslint_config('4.5.2'),
19-
new FN002022_DEVDEP_typescript('~5.8.0'),
20-
new FN021001_PKG_spfx_deps_versions_match_project_version(true)
12+
new FN001008_DEP_react({ supportedRange: '17' }),
13+
new FN001009_DEP_react_dom({ supportedRange: '17' }),
14+
new FN001035_DEP_fluentui_react({ supportedRange: '^8.106.4' }),
15+
new FN002013_DEVDEP_types_webpack_env({ supportedRange: '~1.15.2' }),
16+
new FN002015_DEVDEP_types_react({ supportedRange: '17' }),
17+
new FN002016_DEVDEP_types_react_dom({ supportedRange: '17' }),
18+
new FN002021_DEVDEP_rushstack_eslint_config({ supportedRange: '4.5.2' }),
19+
new FN002022_DEVDEP_typescript({ supportedRange: '~5.8.0' }),
20+
new FN021001_PKG_spfx_deps_versions_match_project_version({ includeDevDeps: true })
2121
];

src/m365/spfx/commands/project/project-upgrade/upgrade-1.22.2.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,30 @@ import { FN002034_DEVDEP_microsoft_spfx_heft_plugins } from './rules/FN002034_DE
2626
import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
2727

2828
export default [
29-
new FN001001_DEP_microsoft_sp_core_library('1.22.2'),
30-
new FN001002_DEP_microsoft_sp_lodash_subset('1.22.2'),
31-
new FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.22.2'),
32-
new FN001004_DEP_microsoft_sp_webpart_base('1.22.2'),
33-
new FN001011_DEP_microsoft_sp_dialog('1.22.2'),
34-
new FN001012_DEP_microsoft_sp_application_base('1.22.2'),
35-
new FN001014_DEP_microsoft_sp_listview_extensibility('1.22.2'),
36-
new FN001021_DEP_microsoft_sp_property_pane('1.22.2'),
37-
new FN001023_DEP_microsoft_sp_component_base('1.22.2'),
38-
new FN001024_DEP_microsoft_sp_diagnostics('1.22.2'),
39-
new FN001025_DEP_microsoft_sp_dynamic_data('1.22.2'),
40-
new FN001026_DEP_microsoft_sp_extension_base('1.22.2'),
41-
new FN001027_DEP_microsoft_sp_http('1.22.2'),
42-
new FN001028_DEP_microsoft_sp_list_subscription('1.22.2'),
43-
new FN001029_DEP_microsoft_sp_loader('1.22.2'),
44-
new FN001030_DEP_microsoft_sp_module_interfaces('1.22.2'),
45-
new FN001031_DEP_microsoft_sp_odata_types('1.22.2'),
46-
new FN001032_DEP_microsoft_sp_page_context('1.22.2'),
47-
new FN001013_DEP_microsoft_decorators('1.22.2'),
48-
new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.22.2'),
49-
new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.22.2'),
50-
new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.22.2'),
51-
new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.22.2'),
52-
new FN002030_DEVDEP_microsoft_spfx_web_build_rig('1.22.2'),
53-
new FN002034_DEVDEP_microsoft_spfx_heft_plugins('1.22.2'),
54-
new FN010001_YORC_version('1.22.2')
29+
new FN001001_DEP_microsoft_sp_core_library({ packageVersion: '1.22.2' }),
30+
new FN001002_DEP_microsoft_sp_lodash_subset({ packageVersion: '1.22.2' }),
31+
new FN001003_DEP_microsoft_sp_office_ui_fabric_core({ packageVersion: '1.22.2' }),
32+
new FN001004_DEP_microsoft_sp_webpart_base({ packageVersion: '1.22.2' }),
33+
new FN001011_DEP_microsoft_sp_dialog({ packageVersion: '1.22.2' }),
34+
new FN001012_DEP_microsoft_sp_application_base({ packageVersion: '1.22.2' }),
35+
new FN001014_DEP_microsoft_sp_listview_extensibility({ packageVersion: '1.22.2' }),
36+
new FN001021_DEP_microsoft_sp_property_pane({ packageVersion: '1.22.2' }),
37+
new FN001023_DEP_microsoft_sp_component_base({ packageVersion: '1.22.2' }),
38+
new FN001024_DEP_microsoft_sp_diagnostics({ packageVersion: '1.22.2' }),
39+
new FN001025_DEP_microsoft_sp_dynamic_data({ packageVersion: '1.22.2' }),
40+
new FN001026_DEP_microsoft_sp_extension_base({ packageVersion: '1.22.2' }),
41+
new FN001027_DEP_microsoft_sp_http({ packageVersion: '1.22.2' }),
42+
new FN001028_DEP_microsoft_sp_list_subscription({ packageVersion: '1.22.2' }),
43+
new FN001029_DEP_microsoft_sp_loader({ packageVersion: '1.22.2' }),
44+
new FN001030_DEP_microsoft_sp_module_interfaces({ packageVersion: '1.22.2' }),
45+
new FN001031_DEP_microsoft_sp_odata_types({ packageVersion: '1.22.2' }),
46+
new FN001032_DEP_microsoft_sp_page_context({ packageVersion: '1.22.2' }),
47+
new FN001013_DEP_microsoft_decorators({ packageVersion: '1.22.2' }),
48+
new FN001034_DEP_microsoft_sp_adaptive_card_extension_base({ packageVersion: '1.22.2' }),
49+
new FN002002_DEVDEP_microsoft_sp_module_interfaces({ packageVersion: '1.22.2' }),
50+
new FN002022_DEVDEP_microsoft_eslint_plugin_spfx({ packageVersion: '1.22.2' }),
51+
new FN002023_DEVDEP_microsoft_eslint_config_spfx({ packageVersion: '1.22.2' }),
52+
new FN002030_DEVDEP_microsoft_spfx_web_build_rig({ packageVersion: '1.22.2' }),
53+
new FN002034_DEVDEP_microsoft_spfx_heft_plugins({ packageVersion: '1.22.2' }),
54+
new FN010001_YORC_version({ version: '1.22.2' })
5555
];

0 commit comments

Comments
 (0)