Make WordPress Core


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

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

This updates the 4.9 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.

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.9, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [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.9 branch.
See #52341.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/package.json

    r49530 r50202  
    11{
    2   "name": "WordPress",
    3   "version": "4.9.16",
    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": "6.9.1"
    11   },
    12   "author": "The WordPress Contributors",
    13   "license": "GPL-2.0+",
    14   "devDependencies": {
    15     "autoprefixer": "^6.5.1",
    16     "dotenv": "^8.2.0",
    17     "dotenv-expand": "^5.1.0",
    18     "grunt": "~0.4.5",
    19     "grunt-banner": "^0.6.0",
    20     "grunt-contrib-clean": "~1.0.0",
    21     "grunt-cli": "0.1.13",
    22     "grunt-contrib-compress": "~1.3.0",
    23     "grunt-contrib-concat": "~1.0.0",
    24     "grunt-contrib-copy": "~1.0.0",
    25     "grunt-contrib-cssmin": "~1.0.2",
    26     "grunt-contrib-imagemin": "~1.0.0",
    27     "grunt-contrib-jshint": "~1.0.0",
    28     "grunt-contrib-qunit": "^1.2.0",
    29     "grunt-contrib-uglify": "~2.0.0",
    30     "grunt-contrib-watch": "~1.0.0",
    31     "grunt-includes": "~0.5.1",
    32     "grunt-jsdoc": "^2.1.0",
    33     "grunt-jsvalidate": "~0.2.2",
    34     "grunt-legacy-util": "^0.2.0",
    35     "grunt-patch-wordpress": "~0.4.2",
    36     "grunt-postcss": "~0.7.1",
    37     "grunt-replace": "~1.0.1",
    38     "grunt-rtlcss": "~2.0.1",
    39     "grunt-sass": "~1.2.1",
    40     "grunt-webpack": "^3.0.2",
    41     "ink-docstrap": "^1.3.0",
    42     "matchdep": "~1.0.0",
    43     "wait-on": "~3.2.0",
    44     "webpack": "^3.6.0",
    45     "webpack-dev-server": "^2.9.1"
    46   },
    47   "scripts": {
    48     "build": "grunt build",
    49     "build:dev": "grunt build --dev",
    50     "dev": "grunt watch --dev",
    51     "test": "grunt test",
    52     "watch": "grunt watch",
    53     "grunt": "grunt",
    54     "env:start": "node ./tools/local-env/scripts/start.js",
    55     "env:stop": "node ./tools/local-env/scripts/docker.js down",
    56     "env:restart": "npm run env:stop && npm run env:start",
    57     "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
    58     "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
    59     "env:install": "node ./tools/local-env/scripts/install.js",
    60     "env:cli": "node ./tools/local-env/scripts/docker.js run cli",
    61     "env:logs": "node ./tools/local-env/scripts/docker.js logs",
    62     "env:pull": "node ./tools/local-env/scripts/docker.js pull",
    63     "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit"
    64   }
     2    "name": "WordPress",
     3    "version": "4.9.16",
     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": "GPL-2.0+",
     15    "browserslist": [
     16        "> 1%",
     17        "ie >= 11",
     18        "last 1 Android versions",
     19        "last 1 ChromeAndroid versions",
     20        "last 2 Chrome versions",
     21        "last 2 Firefox versions",
     22        "last 2 Safari versions",
     23        "last 2 iOS versions",
     24        "last 2 Edge versions",
     25        "last 2 Opera versions"
     26    ],
     27    "devDependencies": {
     28        "autoprefixer": "^9.8.6",
     29        "dotenv": "^8.2.0",
     30        "dotenv-expand": "^5.1.0",
     31        "grunt": "~1.3.0",
     32        "grunt-banner": "^0.6.0",
     33        "grunt-contrib-clean": "~2.0.0",
     34        "grunt-contrib-compress": "~2.0.0",
     35        "grunt-contrib-concat": "1.0.1",
     36        "grunt-contrib-copy": "~1.0.0",
     37        "grunt-contrib-cssmin": "~3.0.0",
     38        "grunt-contrib-imagemin": "~4.0.0",
     39        "grunt-contrib-jshint": "3.0.0",
     40        "grunt-contrib-qunit": "^4.0.0",
     41        "grunt-contrib-uglify": "~5.0.0",
     42        "grunt-contrib-watch": "~1.1.0",
     43        "grunt-includes": "~1.1.0",
     44        "grunt-jsdoc": "2.4.1",
     45        "grunt-jsvalidate": "~0.2.2",
     46        "grunt-legacy-util": "^2.0.0",
     47        "grunt-patch-wordpress": "~3.0.0",
     48        "grunt-postcss": "~0.9.0",
     49        "grunt-replace-lts": "~1.1.0",
     50        "grunt-rtlcss": "~2.0.2",
     51        "grunt-sass": "~3.1.0",
     52        "grunt-webpack": "^3.1.3",
     53        "ink-docstrap": "1.3.2",
     54        "matchdep": "~2.0.0",
     55        "sass": "^1.32.6",
     56        "wait-on": "5.2.1",
     57        "webpack": "^3.12.0",
     58        "webpack-dev-server": "^2.11.5"
     59    },
     60    "scripts": {
     61        "build": "grunt build",
     62        "build:dev": "grunt build --dev",
     63        "dev": "grunt watch --dev",
     64        "test": "grunt test",
     65        "watch": "grunt watch",
     66        "grunt": "grunt",
     67        "env:start": "node ./tools/local-env/scripts/start.js",
     68        "env:stop": "node ./tools/local-env/scripts/docker.js down",
     69        "env:restart": "npm run env:stop && npm run env:start",
     70        "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
     71        "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
     72        "env:install": "node ./tools/local-env/scripts/install.js",
     73        "env:cli": "node ./tools/local-env/scripts/docker.js run cli",
     74        "env:logs": "node ./tools/local-env/scripts/docker.js logs",
     75        "env:pull": "node ./tools/local-env/scripts/docker.js pull",
     76        "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit"
     77    }
    6578}
Note: See TracChangeset for help on using the changeset viewer.