youknowriad
5cf8452ae9
Build/Test Tools: Add the e2e tests setup.
...
- Adds a local environment based on docker
- Adds the e2e tests setup
- Adds a "Hello World" e2e test to serve as a template
Props gziolo, herregroen, mcsf.
Fixes #45165 .
Built from https://develop.svn.wordpress.org/trunk@45570
git-svn-id: http://core.svn.wordpress.org/trunk@45381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-06-27 11:28:19 +00:00
aduth
0feb55f633
Editor: Update packages to apply bugfixes from Gutenberg 5.5.
...
- @wordpress/block-editor@2.0.1
- @wordpress/block-library@2.4.4
- @wordpress/blocks@6.2.4
- @wordpress/components@7.3.1
- @wordpress/dom@2.2.4
- @wordpress/e2e-tests@1.1.4
- @wordpress/edit-post@3.3.4
- @wordpress/editor@9.2.4
- @wordpress/format-library@1.4.4
- @wordpress/list-reusable-blocks@1.3.4
- @wordpress/nux@3.2.4
Props iseulde, kjellr, aduth, get_dave, talldanwp, jorgefilipecosta, afercia, nosolosw, jasmussen, netweb .
See https://github.com/WordPress/gutenberg/pull/14987 .
See https://github.com/WordPress/gutenberg/pull/15020 .
Fixes #46951 .
Built from https://develop.svn.wordpress.org/trunk@45255
git-svn-id: http://core.svn.wordpress.org/trunk@45064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-22 12:40:04 +00:00
Ella Iseulde Van Dorpe
2aa1b8ff48
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
Built from https://develop.svn.wordpress.org/trunk@44960
git-svn-id: http://core.svn.wordpress.org/trunk@44791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-21 12:48:00 +00:00
youknowriad
2d58d57e38
Block Editor: Update the WordPress Packages from Gutenberg 5.2.
...
Updated Packages:
- @wordpress/a11y@2.1.0
- @wordpress/annotations@1.1.0
- @wordpress/api-fetch@3.0.0
- @wordpress/autop@2.1.0
- @wordpress/babel-plugin-import-jsx-pragma@2.0.0
- @wordpress/babel-plugin-makepot@3.0.0
- @wordpress/babel-preset-default@4.0.0
- @wordpress/blob@2.2.0
- @wordpress/block-editor@1.0.0
- @wordpress/block-library@2.3.0
- @wordpress/block-serialization-default-parser@3.0.0
- @wordpress/block-serialization-spec-parser@3.0.0
- @wordpress/blocks@6.1.0
- @wordpress/browserslist-config@2.3.0
- @wordpress/components@7.1.0
- @wordpress/compose@3.1.0
- @wordpress/core-data@2.1.0
- @wordpress/custom-templated-path-webpack-plugin@1.2.0
- @wordpress/data@4.3.0
- @wordpress/date@3.1.0
- @wordpress/deprecated@2.1.0
- @wordpress/docgen@1.0.0
- @wordpress/dom-ready@2.1.0
- @wordpress/dom@2.1.0
- @wordpress/e2e-test-utils@1.0.0
- @wordpress/e2e-tests@1.0.0
- @wordpress/edit-post@3.2.0
- @wordpress/editor@9.1.0
- @wordpress/element@2.2.0
- @wordpress/escape-html@1.1.0
- @wordpress/eslint-plugin@2.0.0
- @wordpress/format-library@1.3.0
- @wordpress/hooks@2.1.0
- @wordpress/html-entities@2.1.0
- @wordpress/i18n@3.2.0
- @wordpress/is-shallow-equal@1.2.0
- @wordpress/jest-console@3.0.0
- @wordpress/jest-preset-default@4.0.0
- @wordpress/jest-puppeteer-axe@1.0.0
- @wordpress/keycodes@2.1.0
- @wordpress/library-export-default-webpack-plugin@1.1.0
- @wordpress/list-reusable-blocks@1.2.0
- @wordpress/notices@1.2.0
- @wordpress/npm-package-json-lint-config@1.2.0
- @wordpress/nux@3.1.0
- @wordpress/plugins@2.1.0
- @wordpress/postcss-themes@2.0.0
- @wordpress/priority-queue@1.0.0
- @wordpress/redux-routine@3.1.0
- @wordpress/rich-text@3.1.0
- @wordpress/scripts@3.0.0
- @wordpress/shortcode@2.1.0
- @wordpress/token-list@1.2.0
- @wordpress/url@2.4.0
- @wordpress/viewport@2.2.0
- @wordpress/wordcount@2.1.0
This also includes the update to the scripts dependencies and the new widgets php files.
Props iseulde.
Fixes #46429 .
Built from https://develop.svn.wordpress.org/trunk@44808
git-svn-id: http://core.svn.wordpress.org/trunk@44640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-07 09:09:59 +00:00
desrosj
0ee1a0e4e1
Block Editor: Upgrade @WordPress
packages to the latest versions.
...
Updated packages:
- @wordpress/annotations@1.0.5
- @wordpress/api-fetch@2.2.7
- @wordpress/block-library@2.2.12
- @wordpress/block-serialization-default-parser@2.0.3
- @wordpress/blocks@6.0.5
- @wordpress/components@7.0.5
- @wordpress/core-data@2.0.16
- @wordpress/data@4.2.0
- @wordpress/deprecated@2.0.4
- @wordpress/dom@2.0.8
- @wordpress/edit-post@3.1.7
- @wordpress/editor@9.0.7
- @wordpress/format-library@1.2.10
- @wordpress/hooks@2.0.4
- @wordpress/list-reusable-blocks@1.1.18
- @wordpress/notices@1.1.2
- @wordpress/nux@3.0.6
- @wordpress/plugins@2.0.10
- @wordpress/rich-text@3.0.4
- @wordpress/url@2.3.3
- @wordpress/viewport@2.1.0
Props: youknowriad, gziolo, desrosj.
Fixes #45814 .
Built from https://develop.svn.wordpress.org/trunk@44389
git-svn-id: http://core.svn.wordpress.org/trunk@44219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-04 19:38:57 +00:00
atimmer
a814e5d34e
Build tools: Allow building WordPress to src
.
...
After the JavaScript reorganization in [43309], it was no longer possible to test WordPress from the `src` folder. That meant a build step was required to test PHP modifications. That is suboptimal as even a simple copy is slower than a web server just serving the new file.
We achieve building to `src` by setting a `WORKING_DIR` constant in the Gruntfile that is `build` by default, but changes to `src` when the `--dev` flag is present on any Grunt command. We provide sensible defaults so some commands, such as copying `version.php`, always build to `build`.
Because testing from `build` is no longer required, we change the messages present in `index.php` and `wp-admin/index.php` to be more broadly about building WordPress.
We also change the webpack config to have more straightforward behavior based on the `buildTarget` argument. It only determines the build target now and has no implicit behavior anymore. `grunt build` still works as it worked before, to make sure that the build server produces the same `wordpress.zip` we are used to.
We do all this instead of a symlink setup because symlinks don't work on every platform.
Props omarreiss, netweb, flixos90, SergeyBiryukov.
Fixes #44492 .
Built from https://develop.svn.wordpress.org/trunk@44359
git-svn-id: http://core.svn.wordpress.org/trunk@44189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-24 13:29:50 +00:00
Sergey Biryukov
693e8303ba
Build Tools: Don't minimise CSS in the unminimised files.
...
Props pento.
Merges [43933] to trunk.
Fixes #45201 .
Built from https://develop.svn.wordpress.org/trunk@44283
git-svn-id: http://core.svn.wordpress.org/trunk@44113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 03:17:48 +00:00
Sergey Biryukov
8f4440eb10
Build Tools: Don't include .map
files in the build.
...
These files are fairly large, and while they're useful in development, they're not needed in the final build.
Props pento, mcsf.
Merges [43931] and [43932] to trunk.
See #45201 .
Built from https://develop.svn.wordpress.org/trunk@44282
git-svn-id: http://core.svn.wordpress.org/trunk@44112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 03:14:52 +00:00
desrosj
36158d7909
Block Editor: Update @wordpress
package dependencies.
...
Update packages include:
- block-library
- components
- edit-post
- editor
- format-library
- list-reusable-blocks
- nux
Other changes:
- Fix a translator comment in `edit-form-blocks.php`.
- Rename the `gutenberg_` functions in `blocks/latest-comments.php`.
Props noisy socks, youknowriad, pinto, swissspidy.
Merges [43935] and [43949-43951] into trunk.
See #45145 .
Built from https://develop.svn.wordpress.org/trunk@44273
git-svn-id: http://core.svn.wordpress.org/trunk@44103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 19:06:59 +00:00
desrosj
4f86a03258
Block Editor: Update @wordpress
dependencies to match Gutenberg 4.5.1.
...
- Update the annotations, api-fetch, block-library, blocks, components, compose, core-data, data, date, dom, edit-post, editor, element, format-library, html-entities, i18n, jest-console, jest-preset-default, keycodes, list-reusable-blocks, notices, nux, plugins, rich-text, scripts, token-lists, url, viewport packages.
- Upgrades React from 16.5.2 to 16.6.3.
- Adds a missing `wp-date` dependency to the editor script.
- Updates changed dependencies in `script-loader.php`.
- Fixes undefined notices in some blocks.
- Removes incorrect `gutenberg` textdomain.
Merges [43891], [43903], and [43919] to trunk.
Props atimmer, aduth, youknowriad, danielbachhuber.
See #45145 .
Built from https://develop.svn.wordpress.org/trunk@44262
git-svn-id: http://core.svn.wordpress.org/trunk@44092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 15:37:00 +00:00
desrosj
9d7aa3436e
Block Editor: Update @wordpress
dependencies.
...
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 favor 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 favor of a `render_block` filter in `render_block()`.
Also, a little cleanup to `render_block()`. Always normalize `$block['attrs’]` to array in `’render_block’` filter.
Props pento, azaozz.
Merges [43884] and [43888] to trunk.
See #45145 , #45190 , #45264 , #45282 .
Built from https://develop.svn.wordpress.org/trunk@44261
git-svn-id: http://core.svn.wordpress.org/trunk@44091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 04:52:00 +00:00
Sergey Biryukov
07ce537eb8
Build Tools: Minify the package CSS when building.
...
CSS coming from the `@wordpress` packages wasn't being minified in the build. This had the noteable side effect of causing RTL CSS to not be loaded when `SCRIPT_DEBUG` was set to `false`.
Props websupporter.
Merges [43905] to trunk.
Fixes #45330 .
Built from https://develop.svn.wordpress.org/trunk@44252
git-svn-id: http://core.svn.wordpress.org/trunk@44082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:28:06 +00:00