@automattic/vip 3.2.0 → 3.3.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.
@@ -38,7 +38,6 @@ services:
38
38
  image: ghcr.io/automattic/vip-container-images/nginx:latest
39
39
  command: nginx -g "daemon off;"
40
40
  environment:
41
- LANDO_NO_SCRIPTS: 1
42
41
  LANDO_NEEDS_EXEC: 1
43
42
  volumes:
44
43
  - ./nginx/extra.conf:/etc/nginx/conf.extra/extra.conf
@@ -226,7 +225,6 @@ services:
226
225
  - ":8025"
227
226
  environment:
228
227
  LANDO_NO_USER_PERMS: 1
229
- LANDO_NO_SCRIPTS: 1
230
228
  LANDO_NEEDS_EXEC: 1
231
229
  <% } %>
232
230
 
@@ -55,8 +55,8 @@ cmd.argv(process.argv, async (arg, opt) => {
55
55
 
56
56
  /** @type {InstanceOptions} */
57
57
  const defaultOptions = {
58
- appCode: currentInstanceData.appCode.dir || currentInstanceData.appCode.tag || 'latest',
59
- muPlugins: currentInstanceData.muPlugins.dir || currentInstanceData.muPlugins.tag || 'latest',
58
+ appCode: currentInstanceData.appCode.dir || currentInstanceData.appCode.tag || 'demo',
59
+ muPlugins: currentInstanceData.muPlugins.dir || currentInstanceData.muPlugins.tag || 'demo',
60
60
  wordpress: currentInstanceData.wordpress.tag || 'trunk',
61
61
  elasticsearch: currentInstanceData.elasticsearch,
62
62
  php: currentInstanceData.php || _devEnvironment.DEV_ENVIRONMENT_PHP_VERSIONS[Object.keys(_devEnvironment.DEV_ENVIRONMENT_PHP_VERSIONS)[0]].image,
@@ -208,7 +208,7 @@ function parseComponentForInfo(component) {
208
208
  }
209
209
 
210
210
  // Environments created by the old code will have `component.tag` set to `demo` instead of `undefined`.
211
- if (component.tag === 'demo') {
211
+ if (component.tag === 'demo' || component.tag === 'latest') {
212
212
  component.tag = undefined;
213
213
  }
214
214
  return component.tag ?? '[demo-image]';
@@ -242,6 +242,11 @@ async function printEnvironmentInfo(lando, slug, options) {
242
242
  appInfo.title = environmentData.wpTitle;
243
243
  appInfo.multisite = Boolean(environmentData.multisite);
244
244
  appInfo.php = environmentData.php.split(':')[1];
245
+ let xdebug = environmentData.xdebug ? 'enabled' : 'disabled';
246
+ if (environmentData.xdebug && environmentData.xdebugConfig) {
247
+ xdebug += ' (with additional configuration)';
248
+ }
249
+ appInfo.xdebug = xdebug;
245
250
  appInfo.wordpress = parseComponentForInfo(environmentData.wordpress);
246
251
  appInfo['Mu plugins'] = parseComponentForInfo(environmentData.muPlugins);
247
252
  appInfo['App Code'] = parseComponentForInfo(environmentData.appCode);
package/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## Changelog
2
2
 
3
+ ### 3.3.0
4
+
5
+ * fix(dev-env): make sure wildcard subdomains work with SSL/TLS
6
+ * feat(dev-env): add XDebug information to `vip dev-env info --extended`
7
+
8
+ **Full Changelog**: https://github.com/Automattic/vip-cli/compare/3.2.0...3.3.0
9
+
3
10
  ### 3.2.0
4
11
 
5
12
  * feat(dev-env): make `domain` configurable
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@automattic/vip",
9
- "version": "3.2.0",
9
+ "version": "3.3.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "The VIP Javascript library & CLI",
5
5
  "main": "index.js",
6
6
  "bin": {