Skip to content

Ability to use this cli to upgrade existing projects #254

@jimmywim

Description

@jimmywim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions