Bbackstage

backstage/v1-46-0-migration-recipe

Backstage 1.46.0: Migration recipe that runs every @backstage v1.46.0 codemod from the registry in a safe order.

backstagemigrationrecipeworkflowupgrade1.46.0
PublicBundle
0 executions

Run locally

npx codemod @backstage/v1-46-0-migration-recipe

Backstage 1.46.0 Migration Recipe

Runs every @backstage/* v1.46.0 codemod from the registry in a single ordered run.

Codemods included

#PackageDomainRegistry
1@backstage/add-jest-peer-dependencyCLI / toolinglink
2@backstage/migrate-valkey-configBackend configlink

Usage

bash

Out of scope (document only)

These changes require manual attention and are not covered by the recipe:

  • TechDocsAddonTester.renderWithEffects() screen change — narrow scope, requires new npm dep (shadow-dom-testing-library)
  • Jest peer dep version choice — the codemod defaults to Jest 30 (recommended); use --param jestVersion=29 for Jest 29
  • Jest 30 test code migration — asymmetric matchers, JSDOM 27 changes; see Jest 30 migration guide
  • getBitbucketCloudRequestOptions now returns Promise — narrow internal API
  • CLI moduleResolutionbundler default — tsconfig defaults, not consumer code
  • Node.js 22/24 requirement — runtime environment

Ready to contribute?

Build your own codemod and share it with the community.