On Wed, Apr 17, 2019 at 6:54 AM Mark Banner <mban...@mozilla.com> wrote:

> I'd like to bump the minimum version of node to 8.12.0 (from 8.11.0) and
> npm to 6.4.1 (from 5.6.0).
>
> The reason is that we are seeing occasional issues when we update our
> in-tree ESLint versions that mean that especially Windows users can get
> into a broken state and need to remove the node_modules directory before
> continuing.
>
> npm version 6.x has support for the `npm ci` command which automatically
> removes node_modules and installs to match with `package-lock.json`.
>
> At the moment, if we detect > 6.x, then we automatically use the `npm
> ci` command. However, most installs have just 5.6.0, so I'd like to bump
> both the version downloaded to .mozbuild, and the minimum requirement.
>
> At some stage we should consider node 10 (the current LTS), but we may
> want to do a review of Linux distributions to see how it affects them.
>
> If there's any feedback, please respond here or direct to me. If I've
> not heard anything in a week or so, I'll start making it happen.
>

As somebody who is trying to add new things that look like `npm ci` in the
happy case and have to do the same machinations as ESLint does in the
unhappy case, I'm all for bumping our minimum version of NPM.

The thing I worry about is releasing a new MozillaBuild version.  Is that
easy?  (I hope the answer is yes.)

Thanks for driving this!
Nick
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to