@percy/cli-upload 1.0.0-beta.68 → 1.0.0-beta.71

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.
@@ -140,8 +140,8 @@ class Upload extends _cliCommand.default {
140
140
  if (error) this.queue.close(true);
141
141
  if (this.closing) return;
142
142
  this.closing = true;
143
- await this.queue.empty(len => {
144
- this.log.progress(`Uploading ${len}` + ` snapshot${len !== 1 ? 's' : ''}...`, !!len);
143
+ await this.queue.empty(s => {
144
+ this.log.progress(`Uploading ${s} snapshot${s !== 1 ? 's' : ''}...`, !!s);
145
145
  });
146
146
  await this.client.finalizeBuild(this.build.id);
147
147
  this.log.info(`Finalized build #${this.build.number}: ${this.build.url}`);
@@ -1 +1 @@
1
- {"version":"1.0.0-beta.68","commands":{"upload":{"id":"upload","description":"Upload a directory of images to Percy","pluginName":"@percy/cli-upload","pluginType":"core","aliases":[],"examples":["$ percy upload ./images"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"files":{"name":"files","type":"option","char":"f","description":"one or more globs matching image file paths to upload","default":"**/*.{png,jpg,jpeg}"},"ignore":{"name":"ignore","type":"option","char":"i","description":"one or more globs matching image file paths to ignore"},"strip-extensions":{"name":"strip-extensions","type":"boolean","char":"e","description":"strips file extensions from snapshot names","allowNo":false},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"prints a list of matching images to upload without uploading","allowNo":false}},"args":[{"name":"dirname","description":"directory of images to upload","required":true}]}}}
1
+ {"version":"1.0.0-beta.71","commands":{"upload":{"id":"upload","description":"Upload a directory of images to Percy","pluginName":"@percy/cli-upload","pluginType":"core","aliases":[],"examples":["$ percy upload ./images"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"files":{"name":"files","type":"option","char":"f","description":"one or more globs matching image file paths to upload","default":"**/*.{png,jpg,jpeg}"},"ignore":{"name":"ignore","type":"option","char":"i","description":"one or more globs matching image file paths to ignore"},"strip-extensions":{"name":"strip-extensions","type":"boolean","char":"e","description":"strips file extensions from snapshot names","allowNo":false},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"prints a list of matching images to upload without uploading","allowNo":false}},"args":[{"name":"dirname","description":"directory of images to upload","required":true}]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/cli-upload",
3
- "version": "1.0.0-beta.68",
3
+ "version": "1.0.0-beta.71",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -29,10 +29,10 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@percy/cli-command": "1.0.0-beta.68",
33
- "@percy/client": "1.0.0-beta.68",
34
- "@percy/config": "1.0.0-beta.68",
35
- "@percy/logger": "1.0.0-beta.68",
32
+ "@percy/cli-command": "1.0.0-beta.71",
33
+ "@percy/client": "1.0.0-beta.71",
34
+ "@percy/config": "1.0.0-beta.71",
35
+ "@percy/logger": "1.0.0-beta.71",
36
36
  "globby": "^11.0.4",
37
37
  "image-size": "^1.0.0"
38
38
  },
@@ -41,5 +41,5 @@
41
41
  "url": "https://github.com/percy/cli",
42
42
  "directory": "packages/cli-upload"
43
43
  },
44
- "gitHead": "32ffd12d1db407b7c2b4ca8364f99f90b2cfa862"
44
+ "gitHead": "364d1df717fb19a26ccb024458df6e78a9c11f99"
45
45
  }