However in the end @wordpress/data is an external which, in production, will always match with the version shipped in Gutenberg. So we only use it in tests and for code completion.
Test instructions
This PR can be tested by following these steps:
Without this PR, see that yarn test in the schema-blocks leads to failing unit tests.
With this PR, the tests are fixed.
I did a quick smoke test on the Job Posting block, and saw the validation still seemed to be working (the analysis turned green after I filled in all the required blocks).
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
QA could do a smoke test on the Job Posting block (for example looking at the validation), but other than that this PR does not have to be tested by QA.
UI changes
[ ] This PR changes the UI in the plugin. I have added the 'UI change' label to this PR.
Quality assurance
[ ] I have tested this code to the best of my abilities
[ ] I have added unittests to verify the code works as intended
Summary
This PR can be summarized in the following changelog entry:
@wordpress/data
dependency to its latest version.Relevant technical choices:
release/16.3
, with the error messageTypeError: (0 , _data.createReduxStore) is not a function
.@wordpress/data
, see here.yarn upgrade @wordpress/data@^4.26
to bump the package to version 4.26.@wordpress/data
is an external which, in production, will always match with the version shipped in Gutenberg. So we only use it in tests and for code completion.Test instructions
This PR can be tested by following these steps:
yarn test
in theschema-blocks
leads to failing unit tests.Impact check
UI changes
Quality assurance
Fixes #