@percy/cli-exec 1.19.1-alpha.0 → 1.19.2-alpha.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/dist/common.js ADDED
@@ -0,0 +1,10 @@
1
+ export const flags = [{
2
+ name: 'port',
3
+ description: 'Local CLI server port',
4
+ env: 'PERCY_SERVER_PORT',
5
+ percyrc: 'port',
6
+ type: 'number',
7
+ parse: Number,
8
+ default: 5338,
9
+ short: 'P'
10
+ }];
package/dist/exec.js CHANGED
@@ -28,7 +28,8 @@ export const exec = command('exec', {
28
28
  examples: ['$0 -- echo "percy is running around this echo command"', '$0 -- yarn test'],
29
29
  loose: ['Warning: Missing command separator (--),', 'some command options may not work as expected'].join(' '),
30
30
  percy: {
31
- server: true
31
+ server: true,
32
+ projectType: 'web'
32
33
  }
33
34
  }, async function* ({
34
35
  flags,
package/dist/start.js CHANGED
@@ -3,7 +3,8 @@ export const start = command('start', {
3
3
  description: 'Starts a locally running Percy process',
4
4
  examples: ['$0 &> percy.log'],
5
5
  percy: {
6
- server: true
6
+ server: true,
7
+ projectType: 'web'
7
8
  }
8
9
  }, async function* ({
9
10
  percy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/cli-exec",
3
- "version": "1.19.1-alpha.0",
3
+ "version": "1.19.2-alpha.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,9 +32,9 @@
32
32
  ]
33
33
  },
34
34
  "dependencies": {
35
- "@percy/cli-command": "1.19.1-alpha.0",
35
+ "@percy/cli-command": "1.19.2-alpha.0",
36
36
  "cross-spawn": "^7.0.3",
37
37
  "which": "^2.0.2"
38
38
  },
39
- "gitHead": "1a95e827ef2fb7e6f2c7a7a5a90d265185f31fc2"
39
+ "gitHead": "d9bf82889731f5cdc3f7fa4fe836cc5232ee8fb6"
40
40
  }