Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: loosen engine requirement of jest-worker #11451

Merged
merged 2 commits into from May 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,8 @@

### Fixes

- `[jest-worker]` Loosen engine requirement to `>= 10.13.0` ([#11451](https://github.com/facebook/jest/pull/11451))

### Chore & Maintenance

### Performance
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-worker/package.json
Expand Up @@ -26,7 +26,7 @@
"worker-farm": "^1.6.0"
},
"engines": {
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
"node": ">= 10.13.0"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion scripts/buildUtils.js
Expand Up @@ -35,7 +35,8 @@ module.exports.getPackages = function getPackages() {

assert.strictEqual(
pkg.engines.node,
nodeEngineRequirement,
// TODO: remove special casing for Jest 28
pkg.name === 'jest-worker' ? '>= 10.13.0' : nodeEngineRequirement,
`Engine requirement in ${pkg.name} should match root`,
);

Expand Down