@wordpress/env 5.12.0 → 5.14.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 CHANGED
@@ -119,7 +119,7 @@ $ WP_ENV_PORT=3333 wp-env start
119
119
 
120
120
  Running `docker ps` and inspecting the `PORTS` column allows you to determine which port `wp-env` is currently using.
121
121
 
122
- You may also specify the port numbers in your `.wp-env.json` file, but the environment variables take precedent.
122
+ You may also specify the port numbers in your `.wp-env.json` file, but the environment variables will take precedence.
123
123
 
124
124
  ### 3. Restart `wp-env` with updates
125
125
 
@@ -1,12 +1,12 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`readConfig config file should match snapshot 1`] = `
4
- Object {
4
+ {
5
5
  "configDirectoryPath": ".",
6
6
  "detectedLocalConfig": true,
7
- "env": Object {
8
- "development": Object {
9
- "config": Object {
7
+ "env": {
8
+ "development": {
9
+ "config": {
10
10
  "SCRIPT_DEBUG": true,
11
11
  "TEST": 100,
12
12
  "TEST_VAL1": 1,
@@ -21,14 +21,14 @@ Object {
21
21
  "WP_TESTS_EMAIL": "admin@example.org",
22
22
  "WP_TESTS_TITLE": "Test Blog",
23
23
  },
24
- "mappings": Object {},
24
+ "mappings": {},
25
25
  "phpVersion": null,
26
- "pluginSources": Array [],
26
+ "pluginSources": [],
27
27
  "port": 2000,
28
- "themeSources": Array [],
28
+ "themeSources": [],
29
29
  },
30
- "tests": Object {
31
- "config": Object {
30
+ "tests": {
31
+ "config": {
32
32
  "SCRIPT_DEBUG": false,
33
33
  "TEST": 200,
34
34
  "TEST_VAL1": 1,
@@ -43,11 +43,11 @@ Object {
43
43
  "WP_TESTS_EMAIL": "admin@example.org",
44
44
  "WP_TESTS_TITLE": "Test Blog",
45
45
  },
46
- "mappings": Object {},
46
+ "mappings": {},
47
47
  "phpVersion": null,
48
- "pluginSources": Array [],
48
+ "pluginSources": [],
49
49
  "port": 1000,
50
- "themeSources": Array [],
50
+ "themeSources": [],
51
51
  },
52
52
  },
53
53
  "name": ".",
@@ -55,7 +55,7 @@ Object {
55
55
  `;
56
56
 
57
57
  exports[`readConfig wp config values should use default config values 1`] = `
58
- Object {
58
+ {
59
59
  "SCRIPT_DEBUG": false,
60
60
  "WP_DEBUG": false,
61
61
  "WP_ENVIRONMENT_TYPE": "local",
@@ -69,7 +69,7 @@ Object {
69
69
  `;
70
70
 
71
71
  exports[`readConfig wp config values should use default config values 2`] = `
72
- Object {
72
+ {
73
73
  "SCRIPT_DEBUG": true,
74
74
  "WP_DEBUG": true,
75
75
  "WP_ENVIRONMENT_TYPE": "local",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/env",
3
- "version": "5.12.0",
3
+ "version": "5.14.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": "c25ff895413bad4354c55c0c2d732552618b0d56"
54
+ "gitHead": "9534a7b3bbf07c1d40b94fdb7a3d091f297bfb06"
55
55
  }