@automattic/vip 2.27.0-dev2 → 2.27.0-dev3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Changelog
2
2
 
3
+ ### 2.26.2
4
+
5
+ - #1278 Prepare v2.26.2
6
+ - #1277 Fix the PassThrough class import
7
+ - #1276 [dev-env] Add ability to override default options for lando with a global Lando config.yml
8
+
3
9
  ### 2.26.1
4
10
 
5
11
  - #1275 Prepare v2.26.1
Binary file
@@ -114,9 +114,13 @@ class DevEnvSyncSQLCommand {
114
114
  const replacements = this.siteUrls.reduce((acc, url) => [...acc, url, this.landoDomain], []);
115
115
  const readStream = _fs.default.createReadStream(this.sqlFile);
116
116
  const replacedStream = await (0, _vipSearchReplace.replace)(readStream, replacements);
117
- replacedStream.pipe(_fs.default.createWriteStream(this.sqlFile));
117
+ const outputFile = `${this.tmpDir}/sql-export-sr.sql`;
118
+ replacedStream.pipe(_fs.default.createWriteStream(outputFile));
118
119
  return new Promise((resolve, reject) => {
119
- replacedStream.on('finish', resolve);
120
+ replacedStream.on('finish', () => {
121
+ _fs.default.renameSync(outputFile, this.sqlFile);
122
+ resolve();
123
+ });
120
124
  replacedStream.on('error', reject);
121
125
  });
122
126
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "2.27.0-dev2",
3
+ "version": "2.27.0-dev3",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@automattic/vip",
9
- "version": "2.26.1",
9
+ "version": "2.26.2",
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": "2.27.0-dev2",
3
+ "version": "2.27.0-dev3",
4
4
  "description": "The VIP Javascript library & CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
Binary file