WordPress.org

Make WordPress Core

Changeset 50222


Ignore:
Timestamp:
02/05/2021 04:42:34 AM (9 months ago)
Author:
desrosj
Message:

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

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

Props desrosj, dd32, netweb, jorbin.
Merges [26886,27053,28796,27053,29270,29505,30060,30062-30063,30066,31425,31648,31649,31650,32356,32988,33726,35363,35513,35521,35538-35541,36861-36865,37017,37019,37020,37212,39110,39113,39115-39116,39117,39478,41835,42460,42461,42463,43320,43323,43977,44219,44233,45321,46408-46409,47404,47867,47872-47873,49636,49933,49937,49939,50126,50176,50185,50192] to the 3.8 branch.
See #52341.

Location:
branches/3.8
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8

  • branches/3.8/.jshintrc

    r26136 r50222  
    2020        "Backbone": false,
    2121        "jQuery": false,
     22        "JSON": false,
    2223        "wp": false
    2324    }
  • branches/3.8/.nvmrc

    r49664 r50222  
    1 v0.10.48
     114
  • branches/3.8/Gruntfile.js

    r47338 r50222  
    33    var path = require('path'),
    44        SOURCE_DIR = 'src/',
    5         BUILD_DIR = 'build/';
     5        BUILD_DIR = 'build/',
     6        sass = require( 'sass' );
    67
    78    // Load tasks.
    8     require('matchdep').filterDev('grunt-*').forEach( grunt.loadNpmTasks );
     9    require('matchdep').filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks );
     10    // Load legacy utils
     11    grunt.util = require('grunt-legacy-util');
    912
    1013    // Project configuration.
     
    8588                src: ['wp-admin/css/colors/*/colors.scss'],
    8689                options: {
    87                     outputStyle: 'expanded'
     90                    implementation: sass
    8891                }
    8992            }
     
    253256        },
    254257        uglify: {
     258            options: {
     259                output: {
     260                    ie8: true
     261                }
     262            },
    255263            core: {
    256264                expand: true,
     
    394402    grunt.registerTask('travis:phpunit', 'Runs PHPUnit Travis CI tasks.', 'phpunit');
    395403
     404    // Patch task.
     405    grunt.renameTask('patch_wordpress', 'patch');
     406
    396407    // Default task.
    397408    grunt.registerTask('default', ['build']);
  • branches/3.8/package.json

    r49426 r50222  
    11{
    2   "name": "WordPress",
    3   "version": "3.8.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-jshint": "~0.10.0",
    19     "grunt-contrib-qunit": "~0.2.2",
    20     "grunt-contrib-uglify": "~0.2.2",
    21     "grunt-contrib-watch": "~0.5.1",
    22     "grunt-cssjanus": "git://github.com/yoavf/grunt-cssjanus.git#e0158f4087d1c4bb5a8d1648a63ef133338b5879",
    23     "grunt-sass": "~0.16.0",
    24     "matchdep": "~0.1.2"
    25   }
     2    "name": "WordPress",
     3    "version": "3.8.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-jshint": "3.0.0",
     23        "grunt-contrib-qunit": "^4.0.0",
     24        "grunt-contrib-uglify": "~5.0.0",
     25        "grunt-contrib-watch": "~1.1.0",
     26        "grunt-cssjanus": "~0.5.0",
     27        "grunt-legacy-util": "^2.0.0",
     28        "grunt-patch-wordpress": "~3.0.0",
     29        "grunt-sass": "~3.1.0",
     30        "matchdep": "~2.0.0",
     31        "sass": "^1.32.6"
     32    }
    2633}
  • branches/3.8/src/wp-admin/css/colors/_admin.scss

    r26809 r50222  
    359359}
    360360
    361 #wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { color: $menu-text; opacity: .7; }
    362 #wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { color: $menu-text; opacity: .7; }
    363 #wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { color: $menu-text; opacity: .7; }
    364 #wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { color: $menu-text; opacity: .7; }
     361#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { color: $menu-text; opacity: 0.7; }
     362#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { color: $menu-text; opacity: 0.7; }
     363#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { color: $menu-text; opacity: 0.7; }
     364#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { color: $menu-text; opacity: 0.7; }
    365365
    366366
  • branches/3.8/src/wp-admin/css/ie.css

    r26851 r50222  
    213213.theme-browser .theme .theme-screenshot {
    214214    height: 180px;
    215     min-width:
    216215}
    217216
Note: See TracChangeset for help on using the changeset viewer.