mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
Build/Test Tools: Support NodeJS 14.x in the 5.2 branch.
This updates the 5.2 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. In addition to backporting the package updates that happened after branching 5.2, dependencies that were removed in future releases have also been updated to their latest versions. Props desrosj, dd32, netweb, jorbin, whyisjake. Merges [45321,45765,45826,45875,46403-46404,46408-46409,47404,47867,47872-47873,48213,48705,49636,49933,49937,49939-49940,49983,49989,50017,50126,50176,50185] to the 5.2 branch. See #52341. git-svn-id: https://develop.svn.wordpress.org/branches/5.2@50191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2965d0924b
commit
5ae193c4a3
26
Gruntfile.js
26
Gruntfile.js
@ -12,7 +12,7 @@ module.exports = function(grunt) {
|
||||
WORKING_DIR = grunt.option( 'dev' ) ? SOURCE_DIR : BUILD_DIR,
|
||||
BANNER_TEXT = '/*! This file is auto-generated */',
|
||||
autoprefixer = require( 'autoprefixer' ),
|
||||
nodesass = require( 'node-sass' ),
|
||||
sass = require( 'sass' ),
|
||||
phpUnitWatchGroup = grunt.option( 'group' ),
|
||||
buildFiles = [
|
||||
'*.php',
|
||||
@ -51,18 +51,6 @@ module.exports = function(grunt) {
|
||||
options: {
|
||||
processors: [
|
||||
autoprefixer({
|
||||
browsers: [
|
||||
'> 1%',
|
||||
'ie >= 11',
|
||||
'last 1 Android versions',
|
||||
'last 1 ChromeAndroid versions',
|
||||
'last 2 Chrome versions',
|
||||
'last 2 Firefox versions',
|
||||
'last 2 Safari versions',
|
||||
'last 2 iOS versions',
|
||||
'last 2 Edge versions',
|
||||
'last 2 Opera versions'
|
||||
],
|
||||
cascade: false
|
||||
})
|
||||
]
|
||||
@ -396,8 +384,7 @@ module.exports = function(grunt) {
|
||||
ext: '.css',
|
||||
src: ['wp-admin/css/colors/*/colors.scss'],
|
||||
options: {
|
||||
implementation: nodesass,
|
||||
outputStyle: 'expanded'
|
||||
implementation: sass
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -667,8 +654,9 @@ module.exports = function(grunt) {
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
ASCIIOnly: true,
|
||||
screwIE8: false
|
||||
output: {
|
||||
ascii_only: true
|
||||
}
|
||||
},
|
||||
core: {
|
||||
expand: true,
|
||||
@ -708,7 +696,9 @@ module.exports = function(grunt) {
|
||||
jqueryui: {
|
||||
options: {
|
||||
// Preserve comments that start with a bang.
|
||||
preserveComments: /^!/
|
||||
output: {
|
||||
comments: /^!/
|
||||
}
|
||||
},
|
||||
expand: true,
|
||||
cwd: 'node_modules/jquery-ui/ui/',
|
||||
|
11557
package-lock.json
generated
11557
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
70
package.json
70
package.json
@ -7,53 +7,65 @@
|
||||
"url": "https://develop.svn.wordpress.org/trunk"
|
||||
},
|
||||
"engines": {
|
||||
"node": "10.13.0",
|
||||
"npm": "6.1.0"
|
||||
"node": ">=14.15.0",
|
||||
"npm": ">=6.14.8"
|
||||
},
|
||||
"author": "The WordPress Contributors",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"ie >= 11",
|
||||
"last 1 Android versions",
|
||||
"last 1 ChromeAndroid versions",
|
||||
"last 2 Chrome versions",
|
||||
"last 2 Firefox versions",
|
||||
"last 2 Safari versions",
|
||||
"last 2 iOS versions",
|
||||
"last 2 Edge versions",
|
||||
"last 2 Opera versions"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@wordpress/custom-templated-path-webpack-plugin": "1.2.0",
|
||||
"@wordpress/library-export-default-webpack-plugin": "1.1.0",
|
||||
"autoprefixer": "9.4.7",
|
||||
"check-node-version": "3.2.0",
|
||||
"copy-webpack-plugin": "^4.6.0",
|
||||
"cssnano": "4.1.8",
|
||||
"autoprefixer": "^9.8.6",
|
||||
"check-node-version": "4.0.3",
|
||||
"copy-webpack-plugin": "^5.1.2",
|
||||
"cssnano": "4.1.10",
|
||||
"dotenv": "^8.2.0",
|
||||
"dotenv-expand": "^5.1.0",
|
||||
"grunt": "~1.0.3",
|
||||
"grunt": "~1.3.0",
|
||||
"grunt-banner": "^0.6.0",
|
||||
"grunt-contrib-clean": "~2.0.0",
|
||||
"grunt-contrib-concat": "~1.0.0",
|
||||
"grunt-contrib-copy": "~1.0.0",
|
||||
"grunt-contrib-cssmin": "~3.0.0",
|
||||
"grunt-contrib-imagemin": "~2.0.1",
|
||||
"grunt-contrib-jshint": "~2.0.0",
|
||||
"grunt-contrib-qunit": "^1.2.0",
|
||||
"grunt-contrib-uglify": "~2.0.0",
|
||||
"grunt-contrib-imagemin": "~4.0.0",
|
||||
"grunt-contrib-jshint": "3.0.0",
|
||||
"grunt-contrib-qunit": "^4.0.0",
|
||||
"grunt-contrib-uglify": "~5.0.0",
|
||||
"grunt-contrib-watch": "~1.1.0",
|
||||
"grunt-file-append": "0.0.7",
|
||||
"grunt-includes": "~1.1.0",
|
||||
"grunt-jsdoc": "2.3.0",
|
||||
"grunt-jsdoc": "2.4.1",
|
||||
"grunt-jsvalidate": "~0.2.2",
|
||||
"grunt-legacy-util": "^1.1.1",
|
||||
"grunt-patch-wordpress": "~1.0.0",
|
||||
"grunt-legacy-util": "^2.0.0",
|
||||
"grunt-patch-wordpress": "~3.0.0",
|
||||
"grunt-postcss": "~0.9.0",
|
||||
"grunt-replace": "~1.0.1",
|
||||
"grunt-rtlcss": "~2.0.1",
|
||||
"grunt-sass": "~3.0.2",
|
||||
"grunt-webpack": "^3.1.3",
|
||||
"ink-docstrap": "^1.3.0",
|
||||
"grunt-replace-lts": "~1.1.0",
|
||||
"grunt-rtlcss": "~2.0.2",
|
||||
"grunt-sass": "~3.1.0",
|
||||
"grunt-webpack": "^4.0.0",
|
||||
"ink-docstrap": "1.3.2",
|
||||
"jquery-migrate": "1.4.1",
|
||||
"matchdep": "~2.0.0",
|
||||
"node-sass": "~4.11.0",
|
||||
"source-map-loader": "^0.2.4",
|
||||
"uglify-js": "^3.4.9",
|
||||
"uglifyjs-webpack-plugin": "2.1.1",
|
||||
"wait-on": "^3.3.0",
|
||||
"webpack": "4.29.2",
|
||||
"webpack-dev-server": "3.1.14",
|
||||
"webpack-livereload-plugin": "2.2.0"
|
||||
"sass": "^1.32.6",
|
||||
"source-map-loader": "^1.1.3",
|
||||
"uglify-js": "^3.12.6",
|
||||
"uglifyjs-webpack-plugin": "2.2.0",
|
||||
"wait-on": "^5.2.1",
|
||||
"webpack": "4.43.0",
|
||||
"webpack-dev-server": "3.11.2",
|
||||
"webpack-livereload-plugin": "2.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "7.2.5",
|
||||
@ -101,10 +113,10 @@
|
||||
"element-closest": "^2.0.2",
|
||||
"formdata-polyfill": "3.0.13",
|
||||
"imagesloaded": "3.2.0",
|
||||
"jquery-color": "github:jquery/jquery-color#2.1.1",
|
||||
"jquery-color": "https://github.com/jquery/jquery-color/archive/2.1.1.tar.gz",
|
||||
"jquery-form": "4.2.1",
|
||||
"jquery-hoverintent": "1.8.3",
|
||||
"jquery-ui": "github:jquery/jquery-ui#1.11.4",
|
||||
"jquery-ui": "https://github.com/jquery/jquery-ui/archive/1.11.4.tar.gz",
|
||||
"lodash": "4.17.11",
|
||||
"masonry-layout": "3.3.2",
|
||||
"moment": "2.22.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user