<#514 fix: add deprecation warnings for pact cli t...
# pact-js-development
g
#514 fix: add deprecation warnings for pact cli tools in pact-js-core Pull request opened by YOU54F Motivation Inform users of upcoming breaking change in #513 Considerations Users may be setup to output in json format. This warning will appear conditionally I believe, so may mess up workflows if one if using the json output from stdout and now has a warning in it. An option to silence the warnings is provided if
PACT_SILENCE_DEPRECATION_WARNINGS
is set to
true
Breaking change detail All CLI/API functionality provided by the Pact CLI tools (ruby based) will be moved in pact-js-core 15.x to pact-js-cli. • Repo • https://github.com/pact-foundation/pact-js-cli/ • NPM Package • https://www.npmjs.com/package/@pact-foundation/pact-cli • imports •
@pact-foundation/pact-core
imports will now become
@pact-foundation/pact-cli
for programatic usage of the CLI tools • npx usage •
npx --package=@pact-foundation/pact-cli@15.0.1 -c pact-broker
pact-foundation/pact-js-core GitHub Actions: release_dry_run GitHub Actions: release_dry_run ✅ 28 other checks have passed 28/30 successful checks