@wordpress/env 5.12.0 → 5.13.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.
|
@@ -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
|
-
|
|
4
|
+
{
|
|
5
5
|
"configDirectoryPath": ".",
|
|
6
6
|
"detectedLocalConfig": true,
|
|
7
|
-
"env":
|
|
8
|
-
"development":
|
|
9
|
-
"config":
|
|
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":
|
|
24
|
+
"mappings": {},
|
|
25
25
|
"phpVersion": null,
|
|
26
|
-
"pluginSources":
|
|
26
|
+
"pluginSources": [],
|
|
27
27
|
"port": 2000,
|
|
28
|
-
"themeSources":
|
|
28
|
+
"themeSources": [],
|
|
29
29
|
},
|
|
30
|
-
"tests":
|
|
31
|
-
"config":
|
|
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":
|
|
46
|
+
"mappings": {},
|
|
47
47
|
"phpVersion": null,
|
|
48
|
-
"pluginSources":
|
|
48
|
+
"pluginSources": [],
|
|
49
49
|
"port": 1000,
|
|
50
|
-
"themeSources":
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "5.13.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": "d5e03a74b79e3ca84afda24375474a103a063ee4"
|
|
55
55
|
}
|