Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build/Test Tool updates to the 4.9 branch #893

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9fc0b7a
Backport workflows.
desrosj Oct 15, 2020
19eb7ef
Revert "Backport workflows."
desrosj Oct 16, 2020
82ee309
Merge branch '4.9' of github.com:WordPress/wordpress-develop into 4.9
desrosj Oct 30, 2020
cbf0dd4
Merge branch '4.9' of github.com:WordPress/wordpress-develop into 4.9
desrosj Nov 6, 2020
cac1d31
Merge branch '4.9' of github.com:WordPress/wordpress-develop into 4.9
desrosj Nov 19, 2020
4bd3205
Merge branch '4.9' of github.com:WordPress/wordpress-develop into 4.9
desrosj Jan 4, 2021
bc1bdab
Remove `grunt-cli`.
desrosj Jan 15, 2021
d0598b0
Update the 4.9 branch to run on NodeJS 14.
desrosj Jan 15, 2021
cc71bd6
CSS changes after running build commands.
desrosj Jan 15, 2021
745595f
Update `grunt-contrib-compress`.
desrosj Jan 15, 2021
e548821
Updating several JavaScript files after updating `uglify`.
desrosj Jan 15, 2021
4cdfc2e
Update minified images after updating `grunt-contrib-imagemin`.
desrosj Jan 15, 2021
71729e5
Update the shrinkwrap file.
desrosj Jan 15, 2021
ee154c5
Revert "CSS changes after running build commands."
desrosj Jan 20, 2021
70c2476
Update the `browserslist` to a defined list of versions.
desrosj Jan 20, 2021
82515b9
Adjust the NodeJS versions in NVM config and package file.
desrosj Jan 21, 2021
e66ef3c
Revert "Update minified images after updating `grunt-contrib-imagemin`."
desrosj Jan 22, 2021
c14d213
Update `autoprefixer`.
desrosj Jan 25, 2021
048517c
Correct the version of Edge supported.
desrosj Jan 25, 2021
89424bd
Merge branch '4.9' of github.com:WordPress/wordpress-develop into 4.9
desrosj Feb 1, 2021
abf5ea4
Remove `grunt-cli`.
desrosj Jan 15, 2021
22b39a3
Update the 4.9 branch to run on NodeJS 14.
desrosj Jan 15, 2021
ad482f0
CSS changes after running build commands.
desrosj Jan 15, 2021
a5b91b5
Update `grunt-contrib-compress`.
desrosj Jan 15, 2021
0925b4e
Updating several JavaScript files after updating `uglify`.
desrosj Jan 15, 2021
aa3688b
Update minified images after updating `grunt-contrib-imagemin`.
desrosj Jan 15, 2021
99b893d
Update the shrinkwrap file.
desrosj Jan 15, 2021
d0b8abb
Revert "CSS changes after running build commands."
desrosj Jan 20, 2021
fda434f
Update the `browserslist` to a defined list of versions.
desrosj Jan 20, 2021
aaf17ea
Adjust the NodeJS versions in NVM config and package file.
desrosj Jan 21, 2021
a2505b3
Revert "Update minified images after updating `grunt-contrib-imagemin`."
desrosj Jan 22, 2021
cdee296
Update `autoprefixer`.
desrosj Jan 25, 2021
039c55d
Correct the version of Edge supported.
desrosj Jan 25, 2021
39b0b6d
Merge branch 'node-update/4.9' of github.com:desrosj/wordpress-develo…
desrosj Feb 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Expand Up @@ -13,7 +13,7 @@ insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
v6.9.1
14
31 changes: 13 additions & 18 deletions Gruntfile.js
Expand Up @@ -10,7 +10,8 @@ module.exports = function(grunt) {
SOURCE_DIR = 'src/',
BUILD_DIR = 'build/',
BANNER_TEXT = '/*! This file is auto-generated */',
autoprefixer = require( 'autoprefixer' );
autoprefixer = require( 'autoprefixer' ),
nodesass = require( 'node-sass' );

// Load tasks.
require('matchdep').filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks );
Expand All @@ -23,18 +24,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
})
]
Expand Down Expand Up @@ -180,6 +169,7 @@ module.exports = function(grunt) {
ext: '.css',
src: ['wp-admin/css/colors/*/colors.scss'],
options: {
implementation: nodesass,
outputStyle: 'expanded'
}
}
Expand Down Expand Up @@ -472,8 +462,9 @@ module.exports = function(grunt) {
},
uglify: {
options: {
ASCIIOnly: true,
screwIE8: false
output: {
ascii_only: true
}
},
core: {
expand: true,
Expand Down Expand Up @@ -529,7 +520,9 @@ module.exports = function(grunt) {
jqueryui: {
options: {
// Preserve comments that start with a bang.
preserveComments: /^!/
output: {
comments: /^!/
}
},
expand: true,
cwd: SOURCE_DIR,
Expand All @@ -540,7 +533,9 @@ module.exports = function(grunt) {
masonry: {
options: {
// Preserve comments that start with a bang.
preserveComments: /^!/
output: {
comments: /^!/
}
},
src: SOURCE_DIR + 'wp-includes/js/jquery/jquery.masonry.js',
dest: SOURCE_DIR + 'wp-includes/js/jquery/jquery.masonry.min.js'
Expand Down Expand Up @@ -812,7 +807,7 @@ module.exports = function(grunt) {
] );

grunt.registerTask( 'precommit:php', [
'phpunit'
// 'phpunit'
] );

grunt.registerTask( 'precommit:emoji', [
Expand Down