-
Notifications
You must be signed in to change notification settings - Fork 44
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jest broken on Node 11.11.0 #815
Comments
Could we use a range for the dependencies in question here, i.e. support both jest@23 and jest@24? |
I would also propose considering a more conservative strategy of declaring our "engines": {
"node": "^8.10 || 9 || 10 || 11",
"yarn": ">=1.10.1" // Maybe also with yarn?
}, It might be particularly useful as long as we're keeping pretty strict policies about releasing major versions on our side. Beside that |
I asked whether it would be possible to release a fix for Jest 23, but unfortunately it is not (jestjs/jest#8050 (comment)) so we will have to upgrade Jest on our end to v24. The problem is, that this would be a breaking change, because we expect our users to have jest installed as a dependency in their projects, but we ship the jest-preset-hops which is currently tied to jest 23. Unfortunately I don't see another way around this at the moment, so we'll have to discuss whether we want to delay this until the end of the year when we ship Hops 12, or whether we want to release Hops 12 now or if we want break the semver rules and publish it in Hops 11 anyways.. In the long term I would like to see jest completely encapsulated in Hops, so that we provide a command (eg. @dmbch @toomuchdesign @herschel666 @robin-drexler @jhiode what are your opinions? |
How about a new packages like |
If we were to postpone the Jest upgrade until Hops 12, we would have to limit node versions to With regards to wrapping Jest altogether..: 😱 |
Oh, and we could consider kickstarting a |
We're also not wrapping babel in a Couldn't we, in the future (i.e. hops 12), have jest dependencies be peerDependencies? This would allow to open up the range should new jest versions become available (and still be compatible with what ever we are doing with it :D) |
Yes we do actually - that's what |
If we can't update to |
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This upgrades the jest-preset-hops to use Jest 24. BREAKING CHANGE: Jest v23 is no longer supported. Applications must provide Jest v24 through their dependencies. Closes: #815
This is my intent (choose one)
The problem
Unfortunately, Jest ist broken on the lates Node version, 11.11.0, see
I only noticed this because the canarist checks in
untool
that do not use hops’yarn.lock
are failing.Proposed solution
Upgrade to
jest@24.2.0-alpha.0
- since we are hesitant to upgrade to jest@24 in general (#780, #788, #799), we should probably consider alternatives such as updating theengines
fields of our packages.The text was updated successfully, but these errors were encountered: