Make WordPress Core


Ignore:
Timestamp:
02/05/2021 04:33:16 AM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Support NodeJS 14.x in the 4.0 branch.

This updates the 4.0 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 change also introduces a packager-lock.json file to the branch.

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

Props desrosj, dd32, netweb, jorbin.
Merges [30059-30063,30066-30067,31425,31504,31557,31648,31649-31650,32356-32357,32988,33726,35363,35513,35521,35538-35541,35859,36861-36865,37017,37019-37020,37212,37612,38111,39110,39113,39115-39117,39478,41835,42460-42461,42463,42887,43320,43323,43977,44219,44233,45321,45765,46404,46408-46409,47404,47867,47872-47873,48705,49636,49933,49937,49939,50126,50176,50185,50192] to the 4.0 branch.
See #52341.

Location:
branches/4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0

  • branches/4.0/package.json

    r49424 r50218  
    11{
    2   "name": "WordPress",
    3   "version": "4.0.32",
    4   "description": "WordPress is web software you can use to create a beautiful website or blog.",
    5   "repository": {
    6     "type": "svn",
    7     "url": "https://develop.svn.wordpress.org/trunk"
    8   },
    9   "author": "The WordPress Contributors",
    10   "license": "GPLv2 or later",
    11   "devDependencies": {
    12     "grunt": "~0.4.5",
    13     "grunt-autoprefixer": "~0.8.2",
    14     "grunt-contrib-clean": "~0.5.0",
    15     "grunt-contrib-compress": "~0.10.0",
    16     "grunt-contrib-concat": "~0.5.0",
    17     "grunt-contrib-copy": "~0.5.0",
    18     "grunt-contrib-cssmin": "~0.10.0",
    19     "grunt-contrib-imagemin": "~0.4.1",
    20     "grunt-contrib-jshint": "~0.10.0",
    21     "grunt-contrib-qunit": "~0.5.2",
    22     "grunt-contrib-uglify": "~0.5.0",
    23     "grunt-contrib-watch": "~0.6.1",
    24     "grunt-cssjanus": "git://github.com/ocean90/grunt-cssjanus.git#936144c11fdee00427c3ce3cb0f87ee5770149b7",
    25     "grunt-jsvalidate": "~0.2.2",
    26     "grunt-legacy-util": "^0.2.0",
    27     "grunt-patch-wordpress": "~0.2.1",
    28     "grunt-sass": "~0.16.0",
    29     "matchdep": "~0.3.0"
    30   }
     2    "name": "WordPress",
     3    "version": "4.0.32",
     4    "description": "WordPress is web software you can use to create a beautiful website or blog.",
     5    "repository": {
     6        "type": "svn",
     7        "url": "https://develop.svn.wordpress.org/trunk"
     8    },
     9    "engines": {
     10        "node": ">=14.15.0",
     11        "npm": ">=6.14.8"
     12    },
     13    "author": "The WordPress Contributors",
     14    "license": "GPLv2 or later",
     15    "devDependencies": {
     16        "grunt": "~1.3.0",
     17        "grunt-autoprefixer": "~3.0.0",
     18        "grunt-contrib-clean": "~2.0.0",
     19        "grunt-contrib-compress": "~2.0.0",
     20        "grunt-contrib-concat": "1.0.1",
     21        "grunt-contrib-copy": "~1.0.0",
     22        "grunt-contrib-cssmin": "~3.0.0",
     23        "grunt-contrib-imagemin": "~4.0.0",
     24        "grunt-contrib-jshint": "3.0.0",
     25        "grunt-contrib-qunit": "^4.0.0",
     26        "grunt-contrib-uglify": "~5.0.0",
     27        "grunt-contrib-watch": "~1.1.0",
     28        "grunt-cssjanus": "~0.5.0",
     29        "grunt-jsvalidate": "~0.2.2",
     30        "grunt-legacy-util": "^2.0.0",
     31        "grunt-patch-wordpress": "~3.0.0",
     32        "grunt-sass": "~3.1.0",
     33        "matchdep": "~2.0.0",
     34        "sass": "^1.32.6"
     35    }
    3136}
Note: See TracChangeset for help on using the changeset viewer.