Build/Test Tools: Remove the dependency on a globally installed Grunt.

The existing `"grunt": "grunt"` script in `package.json` allows for the use of `npm run grunt ...` which uses the local `grunt` binary in the project's `node_modules`.

Fixes #47380

Built from https://develop.svn.wordpress.org/trunk@45445


git-svn-id: http://core.svn.wordpress.org/trunk@45256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2019-05-26 19:35:51 +00:00
parent 2205bc5e92
commit 27365c4ec4
4 changed files with 7 additions and 7 deletions

View File

@ -446,7 +446,7 @@ function get_post_embed_html( $width, $height, $post = null ) {
} else {
/*
* If you're looking at a src version of this file, you'll see an "include"
* statement below. This is used by the `grunt build` process to directly
* statement below. This is used by the `npm run build` process to directly
* include a minified version of wp-embed.js, instead of using the
* file_get_contents() method from above.
*
@ -1008,7 +1008,7 @@ function print_embed_styles() {
} else {
/*
* If you're looking at a src version of this file, you'll see an "include"
* statement below. This is used by the `grunt build` process to directly
* statement below. This is used by the `npm run build` process to directly
* include a minified version of wp-oembed-embed.css, instead of using the
* readfile() method from above.
*
@ -1040,7 +1040,7 @@ function print_embed_scripts() {
} else {
/*
* If you're looking at a src version of this file, you'll see an "include"
* statement below. This is used by the `grunt build` process to directly
* statement below. This is used by the `npm run build` process to directly
* include a minified version of wp-embed-template.js, instead of using the
* readfile() method from above.
*

View File

@ -5520,7 +5520,7 @@ function _print_emoji_detection_script() {
/*
* If you're looking at a src version of this file, you'll see an "include"
* statement below. This is used by the `grunt build` process to directly
* statement below. This is used by the `npm run build` process to directly
* include a minified version of wp-emoji-loader.js, instead of using the
* readfile() method from above.
*
@ -5736,7 +5736,7 @@ function wp_staticize_emoji_for_email( $mail ) {
* Returns arrays of emoji data.
*
* These arrays are automatically built from the regex in twemoji.js - if they need to be updated,
* you should update the regex there, then run the `grunt precommit:emoji` job.
* you should update the regex there, then run the `npm run grunt precommit:emoji` job.
*
* @since 4.9.0
* @access private

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45444';
$wp_version = '5.3-alpha-45445';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.