15 Commits

Author SHA1 Message Date
Gary Pendergast
26414eec37 Block Editor: Update @wordpress dependencies to the latest version.
Changes of note:
- Includes the new Annotations API package.
- `wp-polyfill-ecmascript.js` is renamed to `wp-polyfill.js`.
- `strip_dynamic_blocks()` has been removed in favour of `excerpt_remove_blocks()`.
- The PHP block parser is now syncing from the `block-serialization-default-parser` package.
- `do_blocks()` uses the new parser.
- The `do_block` filter has been removed from `do_blocks()`, in favour of a `render_block` filter in `render_block()`.

See #45145, #45190, #45264, #45282.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43884 602fd350-edb4-49c9-b593-d223f7449a82
2018-11-12 02:26:18 +00:00
Gary Pendergast
5504866f20 Build Tools: Update the @wordpress packages.
This brings support for the custom fields meta box to the block editor.

The `webpack` and `copy-webpack-plugin` packages have also been updated.

See #45145.
Fixes #45257.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43861 602fd350-edb4-49c9-b593-d223f7449a82
2018-11-03 07:56:28 +00:00
Gary Pendergast
f05a39a875 Build Tools: Update the @wordpress packages.
Trunk now matches Gutenberg 4.2 RC1.

See #45145.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43847 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-31 05:49:01 +00:00
Gary Pendergast
165b192bbd Build Tools: Update @wordpress packages.
See #45145.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43843 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-30 02:43:08 +00:00
Gary Pendergast
f5788217b3 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.

See #45145.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43840 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-29 07:40:44 +00:00
Gary Pendergast
25928ac375 Build Tools: Revert [43826] and [43824].
Grabbing the packages directly from the Gutenberg repo was an interesting experiment, but it causes significant workflow issues, particular for folks using Windows.

See #45145.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43835 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-29 01:55:57 +00:00
Anton Timmermans
6da9e42b26 Build tools: Clone and build from packages repo.
Instead of requiring the packages individually this commit changes it so the packages are used from the packages repository (gutenberg). This is a solution that makes updating the packages easier, as long as we don't have a monorepo to manage both WordPress & the JavaScript packages together.

Props youknowriad, gziolo, omarreiss, herregroen.
See #45145.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43824 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-25 13:42:03 +00:00
Gary Pendergast
ff39bf3d68 Build: Update the @wordpress/editor package.
The `@wordpress/editor` wasn't upgraded to the correct version in [43789].

This commit includes changes from the `@wordpress/block-library` upgrade in [43789], that weren't copied to the correct location in core.

This also regenerates the `package-lock.json` in Linux, which the build server requires.

See #45145.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43801 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-23 05:34:43 +00:00
Anton Timmermans
d45455e3bf Build tools: Upgrade @wordpress packages.
Generated using `npm update @wordpress/api-fetch @wordpress/blob @wordpress/block-library @wordpress/blocks @wordpress/components @wordpress/compose @wordpress/core-data @wordpress/data @wordpress/date @wordpress/dom @wordpress/edit-post @wordpress/editor @wordpress/element @wordpress/escape-html @wordpress/list-reusable-blocks @wordpress/nux @wordpress/plugins @wordpress/redux-routine @wordpress/rich-text @wordpress/url @wordpress/viewport`.

See #45145.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43789 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-22 13:57:49 +00:00
Gary Pendergast
34aa09d5b8 Build: Switch package.json to using tabs for indents.
Merges [42460] to the 5.0 branch.

Props netweb.
Fixes #43075.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43782 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-22 04:49:24 +00:00
Anton Timmermans
2588c1cae2 Build tools: Build @wordpress packages with webpack.
We decided to split the media webpack config into it's own file. The
main webpack config then combines this file with the packages config.

Include vendor scripts by copying them. We copy the minified files if
they are available. If they aren't available we minify the original
files ourselves.

Props omarreiss, herregroen, gziolo, youknowriad, netweb, adamsilverstein.
See #45065.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43719 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-11 10:00:16 +00:00
Anton Timmermans
d1373c8af6 Build tools: Upgrade webpack to version 4.
* Minification is done by uglify, so disable that in the media build.
* The webpack boilerplate has changed, which explains the changes in the build files.
* `ModuleConcatenationPlugin` is enable by default for production builds so we don't have to specify that ourselves.

See #45065.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43688 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-09 09:33:36 +00:00
Aaron Jorbin
d2c93a4e64 Build/Test Tools: Revert grunt-contrib-uglify update
Follow up to [43684].
See #45064.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43686 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-09 04:43:30 +00:00
Aaron Jorbin
f24452eb46 Build/Test: Use same grunt-qunit as trunk for 5.0
See [43684].
See #45064.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43685 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-09 03:25:21 +00:00
Aaron Jorbin
bb3dc305dd Build/Test: Update dependencies for 5.0
Updates package dependencies to more modern versions, also adds .nvmrc and package-lock.json as followups to [43683] and [43571].

See #44600.
Fixes #45064.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43684 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-09 02:51:32 +00:00