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:
parent
2205bc5e92
commit
27365c4ec4
|
@ -446,7 +446,7 @@ function get_post_embed_html( $width, $height, $post = null ) {
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* If you're looking at a src version of this file, you'll see an "include"
|
* 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
|
* include a minified version of wp-embed.js, instead of using the
|
||||||
* file_get_contents() method from above.
|
* file_get_contents() method from above.
|
||||||
*
|
*
|
||||||
|
@ -1008,7 +1008,7 @@ function print_embed_styles() {
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* If you're looking at a src version of this file, you'll see an "include"
|
* 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
|
* include a minified version of wp-oembed-embed.css, instead of using the
|
||||||
* readfile() method from above.
|
* readfile() method from above.
|
||||||
*
|
*
|
||||||
|
@ -1040,7 +1040,7 @@ function print_embed_scripts() {
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* If you're looking at a src version of this file, you'll see an "include"
|
* 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
|
* include a minified version of wp-embed-template.js, instead of using the
|
||||||
* readfile() method from above.
|
* readfile() method from above.
|
||||||
*
|
*
|
||||||
|
|
|
@ -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"
|
* 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
|
* include a minified version of wp-emoji-loader.js, instead of using the
|
||||||
* readfile() method from above.
|
* readfile() method from above.
|
||||||
*
|
*
|
||||||
|
@ -5736,7 +5736,7 @@ function wp_staticize_emoji_for_email( $mail ) {
|
||||||
* Returns arrays of emoji data.
|
* Returns arrays of emoji data.
|
||||||
*
|
*
|
||||||
* These arrays are automatically built from the regex in twemoji.js - if they need to be updated,
|
* 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
|
* @since 4.9.0
|
||||||
* @access private
|
* @access private
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue