fix(create-app): pin jest and @jest/environment-jsdom-abstract to ~30.2.0
30.4.0 introduced synchronous require(ESM) that requires Node v24.9+, breaking tests on Node 22. 30.3.0 pulls in @sinonjs/fake-timers@^15 which conflicts with @types/sinon@^17 (used by aws-sdk-client-mock). 30.2.0 avoids both issues cleanly. Resets lockfile to a clean base-install from master constraints. Signed-off-by: Fredrik Adelöw <freben@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Pinned the Jest version range in app templates to `~30.3.0` to prevent automatic upgrades to Jest 30.4.x, which requires Node.js v24.9+ and breaks tests on Node 22.
|
||||
Pinned the Jest version range in app templates to `~30.2.0` to prevent automatic upgrades to Jest 30.4.x, which requires Node.js v24.9+ and breaks tests on Node 22.
|
||||
|
||||
Reference in New Issue
Block a user