Skip to content

Commit 7447acc

Browse files
ashleyshawCopilot
andauthored
Update .wp-env.json
Co-authored-by: Copilot <[email protected]> Signed-off-by: Ash Shaw <[email protected]>
1 parent bfd8ebc commit 7447acc

File tree

1 file changed

+35
-39
lines changed

1 file changed

+35
-39
lines changed

.wp-env.json

Lines changed: 35 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,35 @@
1-
/**
2-
* WordPress environment configuration
3-
*/
4-
5-
module.exports = {
6-
core: 'https://wordpress.org/latest.tar.gz',
7-
plugins: [
8-
'https://downloads.wordpress.org/plugin/gutenberg.latest-stable.zip',
9-
'https://downloads.wordpress.org/plugin/create-block-theme.latest-stable.zip'
10-
],
11-
themes: [
12-
'.'
13-
],
14-
config: {
15-
WP_DEBUG: true,
16-
WP_DEBUG_LOG: true,
17-
WP_DEBUG_DISPLAY: false,
18-
SCRIPT_DEBUG: true
19-
},
20-
env: {
21-
development: {
22-
config: {
23-
WP_DEBUG: true,
24-
WP_DEBUG_LOG: true,
25-
WP_DEBUG_DISPLAY: true,
26-
WP_ENVIRONMENT_TYPE: 'development'
27-
}
28-
},
29-
tests: {
30-
config: {
31-
WP_DEBUG: true,
32-
WP_DEBUG_LOG: true,
33-
WP_DEBUG_DISPLAY: false,
34-
WP_ENVIRONMENT_TYPE: 'local'
35-
},
36-
port: 8890
37-
}
38-
}
39-
};
1+
{
2+
"core": "https://wordpress.org/latest.tar.gz",
3+
"plugins": [
4+
"https://downloads.wordpress.org/plugin/gutenberg.latest-stable.zip",
5+
"https://downloads.wordpress.org/plugin/create-block-theme.latest-stable.zip"
6+
],
7+
"themes": [
8+
"."
9+
],
10+
"config": {
11+
"WP_DEBUG": true,
12+
"WP_DEBUG_LOG": true,
13+
"WP_DEBUG_DISPLAY": false,
14+
"SCRIPT_DEBUG": true
15+
},
16+
"env": {
17+
"development": {
18+
"config": {
19+
"WP_DEBUG": true,
20+
"WP_DEBUG_LOG": true,
21+
"WP_DEBUG_DISPLAY": true,
22+
"WP_ENVIRONMENT_TYPE": "development"
23+
}
24+
},
25+
"tests": {
26+
"config": {
27+
"WP_DEBUG": true,
28+
"WP_DEBUG_LOG": true,
29+
"WP_DEBUG_DISPLAY": false,
30+
"WP_ENVIRONMENT_TYPE": "local"
31+
},
32+
"port": 8890
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)