Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Add supported versions of npm, Yarn and Node.js #628

Merged
merged 5 commits into from Dec 21, 2017

Conversation

helfi92
Copy link
Member

@helfi92 helfi92 commented Dec 17, 2017

Fixes #625.

@helfi92 helfi92 self-assigned this Dec 17, 2017
package.json Outdated
@@ -7,8 +7,9 @@
"bugs": "https://github.com/mozilla-neutrino/neutrino-dev/issues",
"repository": "mozilla-neutrino/neutrino-dev",
"engines": {
"node": ">=6.10.0",
"yarn": "^1.2.1"
"node": ">=6.9.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The node engine needs to be more complex to handle the actual support. I think you can use || to delineate these. Also, since 7 is excluded, we probably don't want >= except in the 9 case.

"node": "^6.9.0 || ^8 || >=9"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure the ^8 can be written as 8 (the latter being what I've seen used elsewhere).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't seen that, but I think sticking with the ^ makes the semver relationship clearer.

@eliperelman eliperelman merged commit f40ea20 into neutrinojs:master Dec 21, 2017
timkelty pushed a commit that referenced this pull request Dec 21, 2017
* Update packages in docs directory with new requirements

* Update every monorepo package.json's engines

* Update packages in packages directory with new requirements

* Add missed requirements in docs directory

* Modify node engine to be ^6.9.0 || ^8 || >=9
timkelty pushed a commit to timkelty/neutrino that referenced this pull request Jan 17, 2018
* Update packages in docs directory with new requirements

* Update every monorepo package.json's engines

* Update packages in packages directory with new requirements

* Add missed requirements in docs directory

* Modify node engine to be ^6.9.0 || ^8 || >=9
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants