@percy/cli-app 1.32.3 → 1.32.4-beta.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/exec.js +4 -1
- package/package.json +5 -5
package/dist/exec.js
CHANGED
|
@@ -168,11 +168,14 @@ export function maybeInjectScreenshotDir(ctx, log) {
|
|
|
168
168
|
}
|
|
169
169
|
export const exec = command('exec', {
|
|
170
170
|
description: 'Start and stop Percy around a supplied command for native apps',
|
|
171
|
-
usage: '[options] -- <command>',
|
|
171
|
+
usage: '[options] [--] <command>',
|
|
172
172
|
commands: [start, stop, ping],
|
|
173
173
|
flags: ExecPlugin.default.definition
|
|
174
174
|
// grouped flags are built-in flags
|
|
175
175
|
.flags.filter(f => !f.group),
|
|
176
|
+
// some environments (e.g. npx PowerShell shims) strip the `--` separator;
|
|
177
|
+
// fall back to loose parsing like `percy exec` instead of hard failing
|
|
178
|
+
loose: ExecPlugin.default.definition.loose,
|
|
176
179
|
percy: {
|
|
177
180
|
server: true,
|
|
178
181
|
projectType: 'app',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/cli-app",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.4-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public",
|
|
12
|
-
"tag": "
|
|
12
|
+
"tag": "beta"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=14"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@percy/cli-command": "1.32.
|
|
37
|
-
"@percy/cli-exec": "1.32.
|
|
36
|
+
"@percy/cli-command": "1.32.4-beta.0",
|
|
37
|
+
"@percy/cli-exec": "1.32.4-beta.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "2eac4afca6594c382606fa80a901c30cd385dc0b"
|
|
40
40
|
}
|