@wordpress/env 5.11.1 → 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.
package/README.md CHANGED
@@ -14,6 +14,8 @@ $ wp-env start
14
14
 
15
15
  The local environment will be available at http://localhost:8888 (Username: `admin`, Password: `password`).
16
16
 
17
+ The database credentials are: user `root`, password `password`. For a comprehensive guide on connecting directly to the database, refer to [Accessing the MySQL Database](https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/code/getting-started-with-code-contribution.md#accessing-the-mysql-database).
18
+
17
19
  ## Prerequisites
18
20
 
19
21
  `wp-env` requires Docker to be installed. There are instructions available for installing Docker on [Windows](https://docs.docker.com/desktop/install/windows-install/), [macOS](https://docs.docker.com/docker-for-mac/install/), and [Linux](https://docs.docker.com/desktop/install/linux-install/).
@@ -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.11.1",
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": "e9ff92d836928aba65dde94d9d193bc401a934d7"
54
+ "gitHead": "d5e03a74b79e3ca84afda24375474a103a063ee4"
55
55
  }