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.8 branch #894

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f3dd835
Remove `grunt-cli`.
desrosj Jan 15, 2021
9a5390c
Update the 4.8 branch to run on NodeJS 14.
desrosj Jan 15, 2021
251c230
Update `grunt-browserify`.
desrosj Jan 15, 2021
830a0ae
Update `grunt-contrib-compress`.
desrosj Jan 15, 2021
cd4a938
Updating several JavaScript files after updating `uglify`.
desrosj Jan 15, 2021
ab2fa59
Update minified images after updating `grunt-contrib-imagemin`.
desrosj Jan 15, 2021
85798e2
Update the `bookmarklet.min.js` file after updating `grunt-contrib-ug…
desrosj Jan 15, 2021
297d003
Update the shrinkwrap file.
desrosj Jan 15, 2021
74e08a9
Adjust the NodeJS versions in NVM config and package file.
desrosj Jan 21, 2021
988781e
Revert "Update minified images after updating `grunt-contrib-imagemin`."
desrosj Jan 22, 2021
7fa5137
Update `autoprefixer`.
desrosj Jan 25, 2021
3d2973b
Tests: Use `skipTestOnTimeout()` in more HTTP tests.
SergeyBiryukov Jan 30, 2021
51e5ca1
Remove `grunt-cli`.
desrosj Jan 15, 2021
3c74a38
Update the 4.8 branch to run on NodeJS 14.
desrosj Jan 15, 2021
1f4cb8a
Update `grunt-browserify`.
desrosj Jan 15, 2021
1f7a44b
Update `grunt-contrib-compress`.
desrosj Jan 15, 2021
4831142
Updating several JavaScript files after updating `uglify`.
desrosj Jan 15, 2021
8d6685e
Update minified images after updating `grunt-contrib-imagemin`.
desrosj Jan 15, 2021
544d4eb
Update the `bookmarklet.min.js` file after updating `grunt-contrib-ug…
desrosj Jan 15, 2021
f6fa6dc
Update the shrinkwrap file.
desrosj Jan 15, 2021
c0396ad
Adjust the NodeJS versions in NVM config and package file.
desrosj Jan 21, 2021
ddc73a9
Revert "Update minified images after updating `grunt-contrib-imagemin`."
desrosj Jan 22, 2021
0208a12
Update `autoprefixer`.
desrosj Jan 25, 2021
1cb6f40
Merge branch 'node-update/4.8' 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

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

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
v6.9.1
14
25 changes: 12 additions & 13 deletions Gruntfile.js
Expand Up @@ -5,6 +5,7 @@ module.exports = function(grunt) {
SOURCE_DIR = 'src/',
BUILD_DIR = 'build/',
autoprefixer = require('autoprefixer'),
nodesass = require( 'node-sass' ),
mediaConfig = {},
mediaBuilds = ['audiovideo', 'grid', 'models', 'views'];

Expand All @@ -25,15 +26,6 @@ module.exports = function(grunt) {
options: {
processors: [
autoprefixer({
browsers: [
'Android >= 2.1',
'Chrome >= 21',
'Edge >= 12',
'Explorer >= 7',
'Firefox >= 17',
'Opera >= 12.1',
'Safari >= 6.0'
],
cascade: false
})
]
Expand Down Expand Up @@ -166,6 +158,7 @@ module.exports = function(grunt) {
ext: '.css',
src: ['wp-admin/css/colors/*/colors.scss'],
options: {
implementation: nodesass,
outputStyle: 'expanded'
}
}
Expand Down Expand Up @@ -447,8 +440,10 @@ module.exports = function(grunt) {
},
uglify: {
options: {
ASCIIOnly: true,
screwIE8: false
output: {
ascii_only: true,
ie8: true
}
},
core: {
expand: true,
Expand Down Expand Up @@ -505,7 +500,9 @@ module.exports = function(grunt) {
jqueryui: {
options: {
// Preserve comments that start with a bang.
preserveComments: /^!/
output: {
comments: /^!/
}
},
expand: true,
cwd: SOURCE_DIR,
Expand All @@ -525,7 +522,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