-
Notifications
You must be signed in to change notification settings - Fork 26
Description
🎯 Aim of the feature
'Upgrade project SPFx version' - So what we could do is first we could run and check if there is any SPFx-generator installed and get its version. If there isn't then we could do what we do now which is providing guidance to upgrade to latest version of SPFx. But if we will find some SPFx-generator we could run the m365 spfx project upgrade with the --toVersion option and specify the version we found in the globally installed SPFx-generator.
Since the PR #621 introduces SPFx Compatibility Matrix with all SPFx versions I suggest that when someone would click on SPFx project upgrade we present the list of SPFx versions that are higher (later) than the version of SPFx in the current project and allow the user to pick any version of SPFx and run upgrade to it.
If someone would just click enter without selecting any version of SPFx from the list we would run upgrade version to latest version of SPFx.
📷 Images (if possible) with expected result
No response
🤔 Additional remarks or comments
No response