A reviewable SDK migration workflow
Start by finding a transition in the migration catalog. A preview should show both the edits a tool can propose and the cases it cannot resolve safely. Your project’s checks and code review determine whether a change is ready.
- Find a supported upgrade. Scan the project’s package manifests for SDK versions covered by the current catalog.
- Preview proposed edits. Read the diff and every manual finding before applying anything.
- Verify in isolation. Optional checks run in a temporary copy, using checks configured by your project.
- Decide what to ship. An eligible
--writerun commits changes on a dedicated Git branch. Your team reviews and merges it.
Try a local preview
The CLI is published as the upstreamfix npm package. Run these commands from a terminal, replacing the project path with your own. The preview command below does not apply changes to your working tree.
npx --yes upstreamfix@latest list
npx --yes upstreamfix@latest scan --cwd ./your-project
npx --yes upstreamfix@latest migrate firebase-admin@14 --cwd ./your-projectInspect the report and compare any proposed edit with the SDK provider’s migration guide. Use --verify only when you are ready to run your project’s configured checks in a temporary copy.
Supported SDK transitions
UpstreamFix supports defined package and version pairs, not arbitrary SDK upgrades. Each page describes the current scope and cases that need manual work.
Keep the human decision
The current CLI is experimental. It does not monitor releases, invent migration rules for unsupported versions, or open pull requests automatically. Ambiguous code and behavior-sensitive changes can require manual review. Always run your project’s checks and review the relevant provider guide before merging a migration.
Read the product walkthrough or inspect the public source repository for the CLI’s current behavior.