Skip to content

chore: bump Backstage to 1.51.1 and migrate test tooling#66

Merged
tembleking merged 1 commit into
mainfrom
chore/bump-backstage-1.51
Jun 10, 2026
Merged

chore: bump Backstage to 1.51.1 and migrate test tooling#66
tembleking merged 1 commit into
mainfrom
chore/bump-backstage-1.51

Conversation

@tembleking

Copy link
Copy Markdown
Member

Backstage CLI 0.36 makes Jest a peer dependency and drops the bundled version, so tests, type-check and lint all broke after versions:bump. Adds jest@30, jsdom@27, @jest/environment-jsdom-abstract@30 and @types/jest@30 as devDependencies, and extends transformIgnorePatterns for the rehype-raw ESM chain pulled in by the newer core-components.

Migrates msw 1 (EOL) to msw 2 to drop @mswjs/interceptors' vulnerable xmldom (5 high advisories) and stay compatible with Jest 30. The two test files move from rest/res(ctx) to http/HttpResponse.

plugin-catalog-react 3.0 and eslint-plugin 0.3 have no breaking changes affecting this plugin (we only use stable EntityProvider/useEntity/MissingAnnotationEmptyState and have no self-imports).

GitHub Actions pinned to commit SHAs via pinact for supply-chain safety.

yarn npm audit advisories: 127 → 81 (−46, 0 new). All resolved/remaining items are dev/build-time transitive deps; none ship in the published dist/.

Verified: lint, tsc, test (11/11), build all green.

Backstage CLI 0.36 makes Jest a peer dependency and drops the bundled
version, so tests, type-check and lint all broke. Add jest 30, jsdom 27,
@jest/environment-jsdom-abstract and @types/jest as devDependencies, and
extend transformIgnorePatterns for the rehype-raw chain pulled in by the
newer core-components.

Migrate msw 1 (EOL) to msw 2 to drop @mswjs/interceptors' vulnerable
xmldom (5 high advisories) and stay compatible with Jest 30. catalog-react
3.0 and eslint-plugin 0.3 have no breaking changes affecting this plugin.

Pin GitHub Actions to commit SHAs via pinact for supply-chain safety.
@tembleking
tembleking enabled auto-merge (squash) June 10, 2026 10:46
@tembleking
tembleking merged commit 1c5c8ef into main Jun 10, 2026
2 checks passed
@tembleking
tembleking deleted the chore/bump-backstage-1.51 branch June 10, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants