mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Block Editor: Update the WordPress Packages from Gutenberg 5.3
- @wordpress/a11y@2.2.0 - @wordpress/annotations@1.2.0 - @wordpress/api-fetch@3.1.0 - @wordpress/autop@2.2.0 - @wordpress/babel-plugin-import-jsx-pragma@2.1.0 - @wordpress/babel-preset-default@4.1.0 - @wordpress/blob@2.3.0 - @wordpress/block-editor@1.1.0 - @wordpress/block-library@2.4.0 - @wordpress/block-serialization-default-parser@3.1.0 - @wordpress/blocks@6.2.0 - @wordpress/components@7.2.0 - @wordpress/compose@3.2.0 - @wordpress/core-data@2.2.0 - @wordpress/data@4.4.0 - @wordpress/date@3.2.0 - @wordpress/deprecated@2.2.0 - @wordpress/docgen@1.1.0 - @wordpress/dom-ready@2.2.0 - @wordpress/dom@2.2.0 - @wordpress/e2e-test-utils@1.1.0 - @wordpress/e2e-tests@1.1.0 - @wordpress/edit-post@3.3.0 - @wordpress/edit-widgets@0.2.0 - @wordpress/editor@9.2.0 - @wordpress/element@2.3.0 - @wordpress/escape-html@1.2.0 - @wordpress/eslint-plugin@2.1.0 - @wordpress/format-library@1.4.0 - @wordpress/hooks@2.2.0 - @wordpress/html-entities@2.2.0 - @wordpress/i18n@3.3.0 - @wordpress/keycodes@2.2.0 - @wordpress/list-reusable-blocks@1.3.0 - @wordpress/notices@1.3.0 - @wordpress/nux@3.2.0 - @wordpress/plugins@2.2.0 - @wordpress/priority-queue@1.1.0 - @wordpress/redux-routine@3.2.0 - @wordpress/rich-text@3.2.0 - @wordpress/scripts@3.1.0 - @wordpress/shortcode@2.2.0 - @wordpress/url@2.5.0 - @wordpress/viewport@2.3.0 - @wordpress/wordcount@2.2.0 git-svn-id: https://develop.svn.wordpress.org/trunk@44960 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -91,8 +91,8 @@ function wp_default_packages_vendor( &$scripts ) {
|
||||
);
|
||||
|
||||
$vendor_scripts_versions = array(
|
||||
'react' => '16.6.3',
|
||||
'react-dom' => '16.6.3',
|
||||
'react' => '16.8.4',
|
||||
'react-dom' => '16.8.4',
|
||||
'moment' => '2.22.2',
|
||||
'lodash' => '4.17.11',
|
||||
'wp-polyfill-fetch' => '3.0.0',
|
||||
@@ -224,45 +224,45 @@ function wp_default_packages_scripts( &$scripts ) {
|
||||
$suffix = wp_scripts_get_suffix();
|
||||
|
||||
$packages_versions = array(
|
||||
'a11y' => '2.1.0',
|
||||
'annotations' => '1.1.0',
|
||||
'api-fetch' => '3.0.0',
|
||||
'autop' => '2.1.0',
|
||||
'blob' => '2.2.0',
|
||||
'block-editor' => '1.0.0',
|
||||
'block-library' => '2.3.0',
|
||||
'block-serialization-default-parser' => '3.0.0',
|
||||
'blocks' => '6.1.0',
|
||||
'components' => '7.1.0',
|
||||
'compose' => '3.1.0',
|
||||
'core-data' => '2.1.0',
|
||||
'data' => '4.3.0',
|
||||
'date' => '3.1.0',
|
||||
'deprecated' => '2.1.0',
|
||||
'dom' => '2.1.0',
|
||||
'dom-ready' => '2.1.0',
|
||||
'edit-post' => '3.2.0',
|
||||
'editor' => '9.1.0',
|
||||
'element' => '2.2.0',
|
||||
'escape-html' => '1.1.0',
|
||||
'format-library' => '1.3.0',
|
||||
'hooks' => '2.1.0',
|
||||
'html-entities' => '2.1.0',
|
||||
'i18n' => '3.2.0',
|
||||
'a11y' => '2.2.0',
|
||||
'annotations' => '1.2.0',
|
||||
'api-fetch' => '3.1.0',
|
||||
'autop' => '2.0.0',
|
||||
'blob' => '2.3.0',
|
||||
'block-editor' => '1.1.0',
|
||||
'block-library' => '2.4.0',
|
||||
'block-serialization-default-parser' => '3.1.0',
|
||||
'blocks' => '6.2.0',
|
||||
'components' => '7.2.0',
|
||||
'compose' => '3.2.0',
|
||||
'core-data' => '2.2.0',
|
||||
'data' => '4.4.0',
|
||||
'date' => '3.2.0',
|
||||
'deprecated' => '2.2.0',
|
||||
'dom' => '2.2.0',
|
||||
'dom-ready' => '2.2.0',
|
||||
'edit-post' => '3.3.0',
|
||||
'editor' => '9.2.0',
|
||||
'element' => '2.3.0',
|
||||
'escape-html' => '1.2.0',
|
||||
'format-library' => '1.4.0',
|
||||
'hooks' => '2.2.0',
|
||||
'html-entities' => '2.2.0',
|
||||
'i18n' => '3.3.0',
|
||||
'is-shallow-equal' => '1.2.0',
|
||||
'keycodes' => '2.1.0',
|
||||
'list-reusable-blocks' => '1.2.0',
|
||||
'notices' => '1.2.0',
|
||||
'nux' => '3.1.0',
|
||||
'plugins' => '2.1.0',
|
||||
'priority-queue' => '1.0.0',
|
||||
'redux-routine' => '3.1.0',
|
||||
'rich-text' => '3.1.0',
|
||||
'shortcode' => '2.1.0',
|
||||
'keycodes' => '2.2.0',
|
||||
'list-reusable-blocks' => '1.3.0',
|
||||
'notices' => '1.3.0',
|
||||
'nux' => '3.2.0',
|
||||
'plugins' => '2.2.0',
|
||||
'priority-queue' => '1.1.0',
|
||||
'redux-routine' => '3.2.0',
|
||||
'rich-text' => '3.2.0',
|
||||
'shortcode' => '2.2.0',
|
||||
'token-list' => '1.2.0',
|
||||
'url' => '2.4.0',
|
||||
'viewport' => '2.2.0',
|
||||
'wordcount' => '2.1.0',
|
||||
'url' => '2.5.0',
|
||||
'viewport' => '2.3.0',
|
||||
'wordcount' => '2.2.0',
|
||||
);
|
||||
|
||||
$packages_dependencies = array(
|
||||
@@ -318,12 +318,25 @@ function wp_default_packages_scripts( &$scripts ) {
|
||||
'block-serialization-default-parser' => array(),
|
||||
'block-editor' => array(
|
||||
'lodash',
|
||||
'wp-a11y',
|
||||
'wp-blob',
|
||||
'wp-blocks',
|
||||
'wp-compose',
|
||||
'wp-components',
|
||||
'wp-compose',
|
||||
'wp-core-data',
|
||||
'wp-data',
|
||||
'wp-dom',
|
||||
'wp-element',
|
||||
'wp-hooks',
|
||||
'wp-html-entities',
|
||||
'wp-i18n',
|
||||
'wp-is-shallow-equal',
|
||||
'wp-keycodes',
|
||||
'wp-rich-text',
|
||||
'wp-token-list',
|
||||
'wp-url',
|
||||
'wp-viewport',
|
||||
'wp-wordcount',
|
||||
),
|
||||
'components' => array(
|
||||
'lodash',
|
||||
@@ -399,7 +412,6 @@ function wp_default_packages_scripts( &$scripts ) {
|
||||
),
|
||||
'editor' => array(
|
||||
'lodash',
|
||||
'wp-a11y',
|
||||
'wp-api-fetch',
|
||||
'wp-blob',
|
||||
'wp-block-editor',
|
||||
@@ -410,25 +422,22 @@ function wp_default_packages_scripts( &$scripts ) {
|
||||
'wp-data',
|
||||
'wp-date',
|
||||
'wp-deprecated',
|
||||
'wp-dom',
|
||||
'wp-element',
|
||||
'wp-hooks',
|
||||
'wp-html-entities',
|
||||
'wp-i18n',
|
||||
'wp-is-shallow-equal',
|
||||
'wp-keycodes',
|
||||
'wp-notices',
|
||||
'wp-nux',
|
||||
'wp-polyfill',
|
||||
'wp-token-list',
|
||||
'wp-url',
|
||||
'wp-viewport',
|
||||
'wp-wordcount',
|
||||
'wp-rich-text',
|
||||
),
|
||||
'element' => array( 'wp-polyfill', 'react', 'react-dom', 'lodash', 'wp-escape-html' ),
|
||||
'escape-html' => array( 'wp-polyfill' ),
|
||||
'format-library' => array(
|
||||
'wp-block-editor',
|
||||
'wp-components',
|
||||
'wp-editor',
|
||||
'wp-element',
|
||||
@@ -1995,10 +2004,25 @@ function wp_default_styles( &$styles ) {
|
||||
);
|
||||
|
||||
$package_styles = array(
|
||||
'block-editor' => array(
|
||||
'wp-components',
|
||||
'wp-editor-font',
|
||||
),
|
||||
'block-library' => array(),
|
||||
'components' => array(),
|
||||
'edit-post' => array( 'wp-components', 'wp-editor', 'wp-edit-blocks', 'wp-block-library', 'wp-nux' ),
|
||||
'editor' => array( 'wp-components', 'wp-editor-font', 'wp-nux' ),
|
||||
'edit-post' => array(
|
||||
'wp-components',
|
||||
'wp-block-editor',
|
||||
'wp-editor',
|
||||
'wp-edit-blocks',
|
||||
'wp-block-library',
|
||||
'wp-nux',
|
||||
),
|
||||
'editor' => array(
|
||||
'wp-components',
|
||||
'wp-block-editor',
|
||||
'wp-nux',
|
||||
),
|
||||
'format-library' => array(),
|
||||
'list-reusable-blocks' => array( 'wp-components' ),
|
||||
'nux' => array( 'wp-components' ),
|
||||
@@ -2047,6 +2071,7 @@ function wp_default_styles( &$styles ) {
|
||||
// Package styles
|
||||
'wp-block-library-theme',
|
||||
'wp-edit-blocks',
|
||||
'wp-block-editor',
|
||||
'wp-block-library',
|
||||
'wp-components',
|
||||
'wp-edit-post',
|
||||
|
||||
Reference in New Issue
Block a user