@wordpress/env 5.4.0 → 5.5.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
@@ -123,7 +123,7 @@ You may also specify the port numbers in your `.wp-env.json` file, but the envir
123
123
 
124
124
  Restarting `wp-env` will restart the underlying Docker containers which can fix many issues.
125
125
 
126
- To restart `wp-env`, just run `wp-env start` again. It will automatically stop and start the container. If you also pass the `--update` argument, it will download updates and configure WordPress agian.
126
+ To restart `wp-env`, just run `wp-env start` again. It will automatically stop and start the container. If you also pass the `--update` argument, it will download updates and configure WordPress again.
127
127
 
128
128
  ```sh
129
129
  $ wp-env start --update
@@ -312,7 +312,7 @@ Positionals:
312
312
  The run command can be used to open shell sessions or invoke WP-CLI commands.
313
313
 
314
314
  <div class="callout callout-alert">
315
- In some cases, `wp-env` may consume options that you are attempting to pass to
315
+ In some cases, `wp-env` may consume options that you are attempting to pass to
316
316
  the container. This happens with options that `wp-env` has already declared,
317
317
  such as `--debug`, `--help`, and `--version`. When this happens, you should fall
318
318
  back to using quotation marks; `wp-env` considers everything inside the
@@ -122,7 +122,7 @@ async function downloadTestSuite(
122
122
  // Alpha, Beta, and RC versions are bleeding edge and should pull from trunk.
123
123
  let ref;
124
124
  const fetchRaw = [];
125
- if ( ! wpVersion || wpVersion.match( /-(?:alpha|beta|rc)/ ) ) {
125
+ if ( ! wpVersion || wpVersion.match( /-(?:alpha|beta|rc)/i ) ) {
126
126
  ref = 'trunk';
127
127
  fetchRaw.push( 'fetch', 'origin', ref, '--depth', '1' );
128
128
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/env",
3
- "version": "5.4.0",
3
+ "version": "5.5.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": "8d42d2febb7d0ba8372a33e560a62f5a5f6a9112"
54
+ "gitHead": "a2ff0e6471c88436dad0287beb88d1729aa6f5dd"
55
55
  }