@wordpress/env 11.1.0 → 11.1.1-next.v.202603161435.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -586,6 +586,15 @@ Options:
|
|
|
586
586
|
|
|
587
587
|
You can customize the WordPress installation, plugins and themes that the development environment will use by specifying a `.wp-env.json` file in the directory that you run `wp-env` from.
|
|
588
588
|
|
|
589
|
+
To enable editor autocomplete and validation, add a `$schema` key:
|
|
590
|
+
|
|
591
|
+
```json
|
|
592
|
+
{
|
|
593
|
+
"$schema": "https://schemas.wp.org/trunk/wp-env.json",
|
|
594
|
+
"plugins": [ "." ]
|
|
595
|
+
}
|
|
596
|
+
```
|
|
597
|
+
|
|
589
598
|
`.wp-env.json` supports the following fields:
|
|
590
599
|
|
|
591
600
|
| Field | Type | Default | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/env",
|
|
3
|
-
"version": "11.1.0",
|
|
3
|
+
"version": "11.1.1-next.v.202603161435.0+ab4981c4f",
|
|
4
4
|
"description": "A zero-config, self contained local WordPress environment for development and testing.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"scripts": {
|
|
64
64
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "748f4e4564fcc0e6ae90200d90bb993a3cef5828"
|
|
67
67
|
}
|