Commit Graph

4 Commits

Author SHA1 Message Date
Joey Parrish 8554539299 Update prerequisites script w/ new nodejs versions
Debian stable and Ubuntu LTS now both have usable nodejs packages.
When possible, we will use those.  In older distros, we will still
install packages from nodesource.  The nodesource version has been
updated to v10.

b/150687293

Change-Id: I25f14fbc1751aea1ac1d51cb38f8736d34a601e6
2020-03-03 10:57:24 -08:00
Joey Parrish 42b40bd3da Require NodeJS v8+ and NPM v5+
This updates our build requirements to NodeJS v8+ and NPM v5+, both
released in 2017.

This also clarifies our support for Python 3 (not well-documented
before) to the version we are using on Debian, v3.5.

Requiring NodeJS v8+ means our node tools (like our extern generator)
no longer need shims for compatibility.  This allows us to drop the
"es6-shim" and "array-includes" modules.

In NPM v5+, the "prepublish" script has been deprecated, and replaced
with "prepublishOnly" (which is what we want) and "prepare" (the old
behavior we had to work around).  This allows us to drop the
"in-publish" module.

Change-Id: Ied189c76a58fe981c12d41155b834f2d6ea73bbd
2019-05-15 20:32:34 +00:00
Joey Parrish 2ab2cb074e Improve node upgrade for Ubuntu
In some versions of Ubuntu, there is a nodejs-dev package that also
must be removed.

Change-Id: I4f0b87914c455476bde7ffde1c9e928bcbf08d43
2018-06-14 13:23:09 -07:00
Joey Parrish 86b323d6a1 Simplify linux prereqs process with a script
This adds a new script which should simplify the process of installing
prereqs on Debian and Ubuntu-based Linux distributions.  This also
updates the required versions of NodeJS and Git.

Closes #1175

Change-Id: If298cc46650bfd0ebe726c8fa3184dd0d063bfaf
2018-02-26 18:03:09 +00:00