@wordpress/env 10.17.0 → 10.19.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.
Files changed (2) hide show
  1. package/README.md +14 -13
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -479,19 +479,20 @@ You can customize the WordPress installation, plugins and themes that the develo
479
479
 
480
480
  `.wp-env.json` supports fields for options applicable to both the tests and development instances.
481
481
 
482
- | Field | Type | Default | Description |
483
- |--------------------|----------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
484
- | `"core"` | `string\|null` | `null` | The WordPress installation to use. If `null` is specified, `wp-env` will use the latest production release of WordPress. |
485
- | `"phpVersion"` | `string\|null` | `null` | The PHP version to use. If `null` is specified, `wp-env` will use the default version used with production release of WordPress. |
486
- | `"plugins"` | `string[]` | `[]` | A list of plugins to install and activate in the environment. |
487
- | `"themes"` | `string[]` | `[]` | A list of themes to install in the environment. |
488
- | `"port"` | `integer` | `8888` (`8889` for the tests instance) | The primary port number to use for the installation. You'll access the instance through the port: 'http://localhost:8888'. |
489
- | `"testsPort"` | `integer` | `8889` | The port number for the test site. You'll access the instance through the port: 'http://localhost:8889'. |
490
- | `"config"` | `Object` | See below. | Mapping of wp-config.php constants to their desired values. |
491
- | `"mappings"` | `Object` | `"{}"` | Mapping of WordPress directories to local directories to be mounted in the WordPress instance. |
492
- | `"mysqlPort"` | `integer` | `null` (randomly assigned) | The MySQL port number to expose. The setting is only available in the `env.development` and `env.tests` objects. |
493
- | `"phpmyadminPort"` | `integer` | `null` | The port number for phpMyAdmin. If provided, you'll access phpMyAdmin through: http://localhost:<port> |
494
- | `"multisite"` | `boolean` | `false` | Whether to set up a multisite installation. |
482
+ | Field | Type | Default | Description |
483
+ |----------------------|----------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
484
+ | `"core"` | `string\|null` | `null` | The WordPress installation to use. If `null` is specified, `wp-env` will use the latest production release of WordPress. |
485
+ | `"phpVersion"` | `string\|null` | `null` | The PHP version to use. If `null` is specified, `wp-env` will use the default version used with production release of WordPress. |
486
+ | `"plugins"` | `string[]` | `[]` | A list of plugins to install and activate in the environment. |
487
+ | `"themes"` | `string[]` | `[]` | A list of themes to install in the environment. |
488
+ | `"port"` | `integer` | `8888` (`8889` for the tests instance) | The primary port number to use for the installation. You'll access the instance through the port: 'http://localhost:8888'. |
489
+ | `"testsPort"` | `integer` | `8889` | The port number for the test site. You'll access the instance through the port: 'http://localhost:8889'. |
490
+ | `"config"` | `Object` | See below. | Mapping of wp-config.php constants to their desired values. |
491
+ | `"mappings"` | `Object` | `"{}"` | Mapping of WordPress directories to local directories to be mounted in the WordPress instance. |
492
+ | `"mysqlPort"` | `integer` | `null` (randomly assigned) | The MySQL port number to expose. The setting is only available in the `env.development` and `env.tests` objects. |
493
+ | `"phpmyadminPort"` | `integer` | `null` | The port number for phpMyAdmin. If provided, you'll access phpMyAdmin through: http://localhost:<port> |
494
+ | `"multisite"` | `boolean` | `false` | Whether to set up a multisite installation. |
495
+ | `"lifecycleScripts"` | `Object` | `"{}"` | Mapping of commands that should be executed at certain points in the lifecycle. |
495
496
 
496
497
  _Note: the port number environment variables (`WP_ENV_PORT` and `WP_ENV_TESTS_PORT`) take precedent over the .wp-env.json values._
497
498
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/env",
3
- "version": "10.17.0",
3
+ "version": "10.19.0",
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",
@@ -55,5 +55,5 @@
55
55
  "scripts": {
56
56
  "test": "echo \"Error: run tests from root\" && exit 1"
57
57
  },
58
- "gitHead": "68a831c3178197fe87db284d4b94e5743bfb6b6c"
58
+ "gitHead": "d6b0b20fa927b110140dc7fdd906a7e0bf662004"
59
59
  }