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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better conditional messaging for checking yarn & node #2458

Merged
merged 5 commits into from
Feb 12, 2020

Conversation

jakeNiemiec
Copy link
Member

@jakeNiemiec jakeNiemiec commented Feb 11, 2020

This mainly serves to better warn users about using unstable or unsupported versions of yarn & node. (see fixes below for examples)

changes

fixes

related

jbielick and others added 4 commits February 11, 2020 14:38
a valid semver engine version could be an illformed gem requirement,
which raising an exception during the parsing of this value from the
package.json in either of these tasks.
Add test for check_node, check_yarn tasks
@jakeNiemiec jakeNiemiec changed the title Add better conditional messaging to rake check tasks Add better conditional messaging for checking yarn & node Feb 12, 2020
jakeNiemiec referenced this pull request Feb 12, 2020
#2454)

* Allow node.js 8.9 engine compatibility

8.16 is somewhat arbitrary as far as I can tell, so this allows earlier 8.x releases of node.js as the engine so that 8.9, 8.10, 8.12, etc from Ubuntu 18.04 LTS can install this package.

#2228

* restrict to compatible yarn engine versions

Co-Authored-By: Jake Niemiec <jake.j.niemiec@gmail.com>

* restrict to compatible node engine versions

As 13 has been released, an upper limit is prudent as well.

Co-Authored-By: Jake Niemiec <jake.j.niemiec@gmail.com>

Co-authored-by: Jake Niemiec <jake.j.niemiec@gmail.com>
jakeNiemiec referenced this pull request Feb 12, 2020
Yarn enforces strict engine testing yarnpkg/rfcs#69 (comment) so this manifests as an error rather than a warning.
@jakeNiemiec jakeNiemiec merged commit 3eecc5c into master Feb 12, 2020
@jakeNiemiec jakeNiemiec deleted the better-rake-checks branch February 12, 2020 01:50
@jakeNiemiec
Copy link
Member Author

Hope this helps! Sorry for the headache 😅
//cc @Iketaki @Juneezee @bonflintstone @jbotelho2-bb

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.

2 participants