Ability to use this cli to upgrade existing projects
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Description
It would be neat if this cli could perform all the necessary operations to upgrade an existing project to a given version of SPFx.
Use case
Assuming this goes GA in SPFx 1.24.0.
Then, once 1.25.0 drops, we can run a command against an existing SPFx project and tell it to "upgrade" the project by adding/removing/upgrading dependencies, manifests., etc. This would save a fair bit of time that's currently done with m365 cli that only just provides the individual upgrade steps that still need to be performed manually (or by agent, but sometimes it's actually faster to do the copy/pasting than to wait for an agent).
Alternatives considered
Sticking with m365 cli to get the upgrade steps then run them manually.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by mapping the existing upgrade steps and defining the project versions, dependencies, manifests, and other operations the command must handle. Done means an existing SPFx project can be upgraded to a specified version without the manual steps described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100