Description
When upgrading SPFx project from v1.10.0 to latest preview, we show scripts to execute in wrong order, which leads to a broken project.
Steps to reproduce
m365 spfx project upgrade --preview -o md > report.md on an SPFx v1.10.0 react web part project.
Expected result
Actual result
Notice how uninstall comes after install which means that whatever new versions have been installed, they're immediately uninstalled.
Environment
Latest CLI
Description
When upgrading SPFx project from v1.10.0 to latest preview, we show scripts to execute in wrong order, which leads to a broken project.
Steps to reproduce
m365 spfx project upgrade --preview -o md > report.mdon an SPFx v1.10.0 react web part project.Expected result
Actual result
Notice how uninstall comes after install which means that whatever new versions have been installed, they're immediately uninstalled.
Environment
Latest CLI