Add local version of wp-env schema to .wp-env.json#63253
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Looks good!
For our blocks and themes, we test the files with Ajv as part of the automated testing.
gutenberg/test/integration/blocks-schema.test.js
Lines 33 to 42 in ed018ef
gutenberg/test/integration/theme-schema.test.js
Lines 37 to 47 in ed018ef
Adding tests for our .wp-env.json would be a good next step.
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org> Co-authored-by: ajlende <ajlende@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org> Co-authored-by: ajlende <ajlende@git.wordpress.org>
Similar to #61312
What?
This PR adds a reference to the local schema in the wp-env config file used by the Gutenberg project.
Why?
.wp-env.json..wp-env.jsonin the Gutenberg project.Testing Instructions
.wp-env.jsonfile in a code editor.