4 Commits

Author SHA1 Message Date
Jonathan Desrosiers
2f3e040c4f Build/Test Tools: Support NodeJS 14.x in the 4.5 branch.
This updates the 4.5 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

Because older branches use (really) old versions of NodeJS, the local Docker environment cannot be backported since the needed dependencies will not run on these older versions (see #48301). This also blocks the ability to move automated testing over to GitHub Actions (see #50401).

This also replaces the `npm-shrinkwrap.json` with a `package-lock.json` file. Lock files were not supported in earlier versions of NPM, but can now be used.

In addition to backporting the package updates that happened after branching 4.5, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [37185,37212,37612,38111,38688,39110,39113-39119,39478,42460-42461,42463,42887,43320,43323,43977,44219,44233,44728,45321,45765,46404,46408-46409,47404,47867-47869,47872-47873,48705,49636,49933,49937,49939,50017,50126,50176,50185,50192] to the 4.5 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@50208 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 04:19:31 +00:00
Jake Spurlock
13cc6cc6e3 Build/Test Tools: Match .nvmrc with the declared node engine.
Let's match up the versions from package.json, .travis.yml and .nvmrc.

This brings the changes from [49653] to the 4.5 branch.

Fixes #51682.


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@49658 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-18 22:56:31 +00:00
Jake Spurlock
7d3e6bd78d Build/Test Tools: Match .nvmrc with the declared node engine.
Let's match up the versions from package.json, .travis.yml and .nvmrc.

This brings the changes from [49653] to the 4.5 branch.

Fixes #51682.

Props SergeyBiryukov, desrosj, whyisjake.


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@49657 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-18 22:52:48 +00:00
Jake Spurlock
26f09592f8 Add .nvmrc files to older versions of WordPress
When jumping between branches, it would be nice to have the correct node version for the older versions of WordPress. Let's add .nvmrc files to these older branches for the supported versions.

Merges [46295] to the 4.5 branch.

Fixes #48140


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@46299 602fd350-edb4-49c9-b593-d223f7449a82
2019-09-25 20:56:32 +00:00