Is there a way to automate SPFx version uppgrade on a sharepoint project? Thank you!
The pnp Office365 CLI does this.
https://github.com/pnp/office365-cli
Mentioning @waldekmastykarz in case I am wrong in this regard.
Isn't Office 365 CLI to automatically detect necessary changes for upgrading SPFx version? It generates a report with steps of commands to run for upgrade. Please let me know if I am wrong. I am curious to know if there is a command which on running would automatically upgrade sharepoint project to a newer version.
You are correct: Office 365 CLI generates a report with the list of steps that need to be applied manually to upgrade the project to a newer version. You could of course automate this process yourself, by executing the suggested commands and applying the recommended changes, but it's not trivial and you should ensure you have a backup of your project in case you need to revert the changes.
Thank you @waldekmastykarz
You're welcome!
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues