@percy/cli-build
Advanced tools
Comparing version 1.20.3 to 1.21.0
@@ -37,2 +37,6 @@ import command from '@percy/cli-command'; | ||
short: 'f' | ||
}, { | ||
name: 'pass-if-approved', | ||
description: "Doesn't exit with an error if the build is approved, regardless of if diffs are found.", | ||
inclusive: ['fail-on-changes'] | ||
}], | ||
@@ -122,6 +126,8 @@ examples: ['$0 --build 2222222', '$0 --project org/project --commit HEAD'], | ||
state, | ||
'review-state': reviewState, | ||
'total-comparisons-diff': diffs | ||
} = {} | ||
} = {}, { | ||
failOnChanges | ||
failOnChanges, | ||
passIfApproved | ||
}) { | ||
@@ -131,4 +137,4 @@ // not pending and not processing | ||
// not finished or finished with diffs | ||
state !== 'finished' || failOnChanges && !!diffs); | ||
state !== 'finished' || failOnChanges && !!diffs && !(passIfApproved && reviewState === 'approved')); | ||
} | ||
export default wait; |
{ | ||
"name": "@percy/cli-build", | ||
"version": "1.20.3", | ||
"version": "1.21.0", | ||
"license": "MIT", | ||
@@ -35,5 +35,5 @@ "repository": { | ||
"dependencies": { | ||
"@percy/cli-command": "1.20.3" | ||
"@percy/cli-command": "1.21.0" | ||
}, | ||
"gitHead": "520bd156af47080881b651e4819014cbacf76781" | ||
"gitHead": "44c63a3214f1fbfb0b1adcb6fcfe284a9f54d0cb" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10132
212
+ Added@percy/cli-command@1.21.0(transitive)
+ Added@percy/client@1.21.0(transitive)
+ Added@percy/config@1.21.0(transitive)
+ Added@percy/core@1.21.0(transitive)
+ Added@percy/dom@1.21.0(transitive)
+ Added@percy/env@1.21.0(transitive)
+ Added@percy/logger@1.21.0(transitive)
- Removed@percy/cli-command@1.20.3(transitive)
- Removed@percy/client@1.20.3(transitive)
- Removed@percy/config@1.20.3(transitive)
- Removed@percy/core@1.20.3(transitive)
- Removed@percy/dom@1.20.3(transitive)
- Removed@percy/env@1.20.3(transitive)
- Removed@percy/logger@1.20.3(transitive)
Updated@percy/cli-command@1.21.0