Package migration

MSAL

Determine the current state of a repository relative to a move from one npm, PyPI or NuGet package, or Go module, to another. Only direct dependencies count, as those are what a project's own code uses.

io.moderne.devcenter.PackageMigration

Required

The display name of the DevCenter card.

Glob pattern matching the npm, PyPI or NuGet packages or Go modules to move off. PyPI and NuGet package names match case-insensitively.

Glob pattern matching the npm, PyPI or NuGet packages or Go modules to move to. PyPI and NuGet package names match case-insensitively.

Optional

The recipe to use to migrate.

mod run . --recipe=io.moderne.devcenter.PackageMigration \ -P cardName='Move from xUnit to TUnit' \ -P fromPackagePattern='xunit*' \ -P toPackagePattern='TUnit*'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.