@wordpress/env 5.5.0 → 5.7.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.
|
@@ -206,6 +206,7 @@ module.exports = function buildDockerComposeConfig( config ) {
|
|
|
206
206
|
image: 'mariadb',
|
|
207
207
|
ports: [ '3306' ],
|
|
208
208
|
environment: {
|
|
209
|
+
MYSQL_ROOT_HOST: '%',
|
|
209
210
|
MYSQL_ROOT_PASSWORD:
|
|
210
211
|
dbEnv.credentials.WORDPRESS_DB_PASSWORD,
|
|
211
212
|
MYSQL_DATABASE: dbEnv.development.WORDPRESS_DB_NAME,
|
|
@@ -216,6 +217,7 @@ module.exports = function buildDockerComposeConfig( config ) {
|
|
|
216
217
|
image: 'mariadb',
|
|
217
218
|
ports: [ '3306' ],
|
|
218
219
|
environment: {
|
|
220
|
+
MYSQL_ROOT_HOST: '%',
|
|
219
221
|
MYSQL_ROOT_PASSWORD:
|
|
220
222
|
dbEnv.credentials.WORDPRESS_DB_PASSWORD,
|
|
221
223
|
MYSQL_DATABASE: dbEnv.tests.WORDPRESS_DB_NAME,
|
package/lib/cli.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Error subtype which indicates that an expected validation erorr
|
|
9
|
+
* Error subtype which indicates that an expected validation erorr occurred
|
|
10
10
|
* while reading wp-env configuration.
|
|
11
11
|
*/
|
|
12
12
|
class ValidationError extends Error {}
|
|
@@ -16,7 +16,7 @@ class ValidationError extends Error {}
|
|
|
16
16
|
* do not match the required format.
|
|
17
17
|
*
|
|
18
18
|
* @param {Object} config A config object to validate.
|
|
19
|
-
* @param {?string} envLocation Identifies if the error
|
|
19
|
+
* @param {?string} envLocation Identifies if the error occurred in a specific environment property.
|
|
20
20
|
* @return {Object} The passed config object with no modifications.
|
|
21
21
|
*/
|
|
22
22
|
function validateConfig( config, envLocation ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/env",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.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",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"scripts": {
|
|
52
52
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "7ac04f446242452d3cb24372f9ca58f0cae97715"
|
|
55
55
|
}
|