Make WordPress Core


Ignore:
Timestamp:
12/14/2018 10:53:17 AM (8 years ago)
Author:
atimmer
Message:

Build Tools: Upgrade @wordpress packages to the latest version.

This also includes the new @wordpress/format-library and @wordpress/notices packages.

package-lock.json has been completely regenerated in this commit.

Props pento.
Merges [43840] to trunk.
See #45145.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-includes/script-loader.php

    r44171 r44177  
    176176                        'wp-block-serialization-default-parser',
    177177                        'wp-data',
    178                         'wp-deprecated',
    179178                        'wp-dom',
    180179                        'wp-element',
     
    185184                        'wp-shortcode',
    186185                        'lodash',
    187                         'wp-rich-text',
    188186                ),
    189187                'block-library'                      => array(
     
    226224                        'wp-keycodes',
    227225                        'wp-polyfill',
     226                        'wp-rich-text',
    228227                        'wp-url',
    229                         'wp-rich-text',
    230228                ),
    231                 'compose'                            => array( 'lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill' ),
     229                'compose'                            => array(
     230                        'lodash',
     231                        'wp-deprecated',
     232                        'wp-element',
     233                        'wp-is-shallow-equal',
     234                        'wp-polyfill'
     235                ),
    232236                'core-data'                          => array( 'wp-data', 'wp-api-fetch', 'wp-polyfill', 'wp-url', 'lodash' ),
    233237                'data'                               => array(
    234238                        'lodash',
    235239                        'wp-compose',
    236                         'wp-deprecated',
    237240                        'wp-element',
    238241                        'wp-is-shallow-equal',
     
    292295                        'wp-is-shallow-equal',
    293296                        'wp-keycodes',
     297                        'wp-notices',
    294298                        'wp-nux',
    295299                        'wp-polyfill',
     
    303307                'element'                            => array( 'wp-polyfill', 'react', 'react-dom', 'lodash', 'wp-escape-html' ),
    304308                'escape-html'                        => array( 'wp-polyfill' ),
     309                'format-library'                     => array(
     310                        'wp-components',
     311                        'wp-dom',
     312                        'wp-editor',
     313                        'wp-element',
     314                        'wp-i18n',
     315                        'wp-keycodes',
     316                        'wp-polyfill',
     317                        'wp-rich-text',
     318                        'wp-url',
     319                ),
    305320                'hooks'                              => array( 'wp-polyfill' ),
    306321                'html-entities'                      => array( 'wp-polyfill' ),
     
    317332                        'wp-polyfill',
    318333                ),
     334                'notices'                            => array(
     335                        'lodash',
     336                        'wp-a11y',
     337                        'wp-data',
     338                        'wp-polyfill-ecmascript',
     339                ),
    319340                'nux'                                => array(
    320341                        'wp-element',
     
    322343                        'wp-compose',
    323344                        'wp-data',
     345                        'wp-deprecated',
    324346                        'wp-i18n',
    325347                        'wp-polyfill',
     
    328350                'plugins'                            => array( 'lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill' ),
    329351                'redux-routine'                      => array( 'wp-polyfill' ),
    330                 'rich-text'                          => array( 'wp-polyfill', 'wp-escape-html', 'lodash' ),
     352                'rich-text'                          => array(
     353                        'lodash',
     354                        'wp-blocks',
     355                        'wp-data',
     356                        'wp-escape-html',
     357                        'wp-polyfill',
     358                ),
    331359                'shortcode'                          => array( 'wp-polyfill', 'lodash' ),
    332360                'token-list'                         => array( 'lodash', 'wp-polyfill' ),
     
    381409                                '       wp.data',
    382410                                '               .use( wp.data.plugins.persistence, { storageKey: storageKey } )',
    383                                 '               .use( wp.data.plugins.asyncGenerator )',
    384411                                '               .use( wp.data.plugins.controls );',
    385412                                '} )()',
     
    18161843                'edit-post'            => array( 'wp-components', 'wp-editor', 'wp-edit-blocks', 'wp-block-library', 'wp-nux' ),
    18171844                'editor'               => array( 'wp-components', 'wp-editor-font', 'wp-nux' ),
     1845                'format-library'       => array(),
    18181846                'list-reusable-blocks' => array( 'wp-components' ),
    18191847                'nux'                  => array( 'wp-components' ),
Note: See TracChangeset for help on using the changeset viewer.