f368ad7279: BREAKING: Bumped jest, jest-runtime, and jest-environment-jsdom to v29. This is up from v27, so check out both the v28 and v29 (later here) migration guides.
Particular changes that where encountered in the main Backstage repo are:
The updated snapshot format.
jest.useFakeTimers('legacy') is now jest.useFakeTimers({ legacyFakeTimers: true }).
Error objects collected by withLogCollector from @backstage/test-utils are now objects with a detail property rather than a string.
Patch Changes
78d5eb299e: Tweak the Jest Caching loader to only operate when in watch mode
9c595302cb: Normalize on winston version ^3.2.1
24b40140c4: Treat files in __testUtils__ and __mocks__ directories as test files for linting
purposes.
Updates the parts of the eslint configuration generator that specify which files
should be treated as test code to include any files under two additional
directories:
__mocks__: this is the directory used by Jest0 for mock code.
__testUtils__: a suggested location for utility code executed only when
running tests.
3e309107ca: Updated fallback versions of dependencies in all templates.
292a088807: Added a new repo test command.
ba63cae41c: Updated lockfile parsing to have better support for Yarn 3.
2d3a5f09ab: Use response.json rather than response.send where appropriate, as outlined in SECURITY.md
2dddb32fea: Switched the Jest transform for YAML files to use a custom one available at @backstage/cli/config/jestYamlTransform.js.
a541a3a78a: Switch to upfront resolution of swc-loader in Webpack config.
cfb3598410: Removed tsx and jsx as supported extensions in backend packages. For most
repos, this will not have any effect. But if you inadvertently had added some
tsx/jsx files to your backend package, you may now start to see code: 'MODULE_NOT_FOUND' errors when launching the backend locally. The reason for
this is that the offending files get ignored during transpilation. Hence, the
importing file can no longer find anything to import.
The fix is to rename any .tsx files in your backend packages to .ts instead,
or .jsx to .js.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @backstage/cli from 0.17.2 to 0.20.0.
Changelog
Sourced from
@backstage/cli
's changelog.... (truncated)
Commits
844da89
Version Packagese785989
lock cli to 3.11.0 so we don't pull in the latest version in scaffolded apps4d24872
detach the badges plugin from the catalog plugin718eea4
Version PackagesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)