Make WordPress Core

Changeset 50224 for branches/3.7


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

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

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

Props desrosj, dd32, netweb, jorbin.
Merges [27053,27299,27721,27848,28796,29270,30060,30062-30063,30066,31557,31650,32356,32988,33726,35513,35521,35538,35540-35541,36861-36865,37019-37020,37212,37612,38111,39113,39115-39117,39478,42460-42461,42887,42989,43320,43323,43977,44219,45446,45765,46408-46409,47867,47872,48705,49636,49933,49939,50185] to the 3.7 branch.
See #52341.

Location:
branches/3.7
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7

  • branches/3.7/.nvmrc

    r49665 r50224  
    1 v0.10.48
     114
  • branches/3.7/Gruntfile.js

    r47343 r50224  
    66
    77    // Load tasks.
    8     require('matchdep').filterDev('grunt-*').forEach( grunt.loadNpmTasks );
     8    require('matchdep').filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks );
     9    // Load legacy utils
     10    grunt.util = require('grunt-legacy-util');
    911
    1012    // Project configuration.
     
    108110        },
    109111        uglify: {
     112            options: {
     113                '!ie8': false
     114            },
    110115            core: {
    111116                expand: true,
     
    224229    grunt.registerTask('travis:phpunit', 'Runs PHPUnit Travis CI tasks.', 'phpunit');
    225230
     231    // Patch task.
     232    grunt.renameTask('patch_wordpress', 'patch');
     233
    226234    // Default task.
    227235    grunt.registerTask('default', ['build']);
  • branches/3.7/package.json

    r49427 r50224  
    11{
    2   "name": "WordPress",
    3   "version": "3.7.35",
    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.1",
    13     "grunt-contrib-clean": "~0.5.0",
    14     "grunt-contrib-compress": "~0.5.2",
    15     "grunt-contrib-concat": "~0.3.0",
    16     "grunt-contrib-copy": "~0.4.1",
    17     "grunt-contrib-cssmin": "~0.6.1",
    18     "grunt-contrib-qunit": "~0.2.2",
    19     "grunt-contrib-uglify": "~0.2.2",
    20     "grunt-contrib-watch": "~0.5.1",
    21     "matchdep": "~0.1.2"
    22   }
     2    "name": "WordPress",
     3    "version": "3.7.35",
     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-contrib-clean": "~2.0.0",
     18        "grunt-contrib-compress": "~2.0.0",
     19        "grunt-contrib-concat": "~1.0.1",
     20        "grunt-contrib-copy": "~1.0.0",
     21        "grunt-contrib-cssmin": "~3.0.0",
     22        "grunt-contrib-qunit": "^4.0.0",
     23        "grunt-contrib-uglify": "~5.0.0",
     24        "grunt-contrib-watch": "~1.1.0",
     25        "grunt-legacy-util": "^2.0.0",
     26        "grunt-patch-wordpress": "~3.0.0",
     27        "matchdep": "~2.0.0"
     28    }
    2329}
  • branches/3.7/src

Note: See TracChangeset for help on using the changeset viewer.