neutrinojs / neutrino

Create and build modern JavaScript projects with zero initial configuration.
https://neutrinojs.org
Mozilla Public License 2.0
3.94k stars 213 forks source link

Add engines check to all packages #625

Closed eliperelman closed 6 years ago

eliperelman commented 6 years ago

Right now the documentation lists out the requirements of using Neutrino or middleware:

  • Node.js v6.10+
  • Yarn or npm client
  • Neutrino v8

Now, in the root workspace package.json:

"engines": {
  "node": ">=6.10.0",
  "yarn": "^1.2.1"
}

Good for development, not very helpful for our users. Let's update the docs to reflect our current support, and codify this in every monorepo package.json's engines:

Node.js v6 LTS, v8, v9 Yarn v1.2.1+, or npm v5.5 (I think? @helfi92?)

helfi92 commented 6 years ago

I believe it's npm v5.4.0. I will open a pull-request for that.

helfi92 commented 6 years ago

The first LTS version of v6 (Boron) happens to be 6.9.0. To that end, I think it's safe to downgrade the minimum requirement of node to that version.