Skip to content

Commit

Permalink
feat!: Remove the Ruby verifier and the associated CLI stubs (pact-br…
Browse files Browse the repository at this point in the history
…oker, pact-message, pact-mock-service, pact-provider-verifier, pact-stub-service, pact, and pactflow). These have moved to @pact-foundation/pact-cli
  • Loading branch information
TimothyJones committed Mar 15, 2023
1 parent 3a95cae commit 8e4f735
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 272 deletions.
13 changes: 0 additions & 13 deletions bin/pact-broker.ts

This file was deleted.

13 changes: 0 additions & 13 deletions bin/pact-message.ts

This file was deleted.

11 changes: 0 additions & 11 deletions bin/pact-mock-service.ts

This file was deleted.

13 changes: 0 additions & 13 deletions bin/pact-provider-verifier.ts

This file was deleted.

13 changes: 0 additions & 13 deletions bin/pact-stub-service.ts

This file was deleted.

13 changes: 0 additions & 13 deletions bin/pact.ts

This file was deleted.

13 changes: 0 additions & 13 deletions bin/pactflow.ts

This file was deleted.

28 changes: 15 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 4 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@
"main": "src/index.js",
"homepage": "https://github.com/pact-foundation/pact-js-core#readme",
"types": "src/index.d.ts",
"bin": {
"pact": "bin/pact.js",
"pact-broker": "bin/pact-broker.js",
"pact-mock-service": "bin/pact-mock-service.js",
"pact-stub-service": "bin/pact-stub-service.js",
"pact-provider-verifier": "bin/pact-provider-verifier.js",
"pact-message": "bin/pact-message.js",
"pactflow": "bin/pactflow.js"
},
"os": [
"darwin",
"linux",
Expand Down Expand Up @@ -54,7 +45,6 @@
"dependencies": {
"@types/needle": "2.5.2",
"bindings": "^1.5.0",
"chalk": "4.1.2",
"check-types": "7.3.0",
"cross-spawn": "7.0.3",
"mkdirp": "1.0.0",
Expand Down Expand Up @@ -123,18 +113,18 @@
"typescript": "4.7.4"
},
"scripts": {
"clean": "rimraf '{src,test,bin,standalone}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp'",
"clean": "rimraf '{src,test}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp'",
"lint": "eslint . --ext .ts --config .eslintrc",
"lint:fix": "npm run lint -- --fix",
"prebuild": "npm run clean && bash script/download-libs.sh",
"build": "tsc --project tsconfig.build.json",
"prerelease": "npm run snyk-protect",
"release": "standard-version",
"test": "cross-env LOGLEVEL=debug PACT_DO_NOT_TRACK=true mocha \"{src,test,bin,standalone}/**/*.spec.ts\"",
"test": "cross-env LOGLEVEL=debug PACT_DO_NOT_TRACK=true mocha \"{src,bin}/**/*.spec.ts\"",
"snyk-protect": "snyk protect",
"format:base": "prettier --parser typescript",
"format:check": "npm run format:base -- --list-different \"{src,standalone,bin,test}/**/*.{ts,tsx}\"",
"format:fix": "npm run format:base -- --write \"{src,standalone,bin,test}/**/*.{ts,tsx}\"",
"format:check": "npm run format:base -- --list-different \"{src,test}/**/*.{ts,tsx}\"",
"format:fix": "npm run format:base -- --write \"{src,test}/**/*.{ts,tsx}\"",
"postinstall": "npm run native",
"native": "node-gyp rebuild -v"
},
Expand Down
27 changes: 0 additions & 27 deletions script/create-pr-to-update-pact-ruby-standalone.sh

This file was deleted.

3 changes: 1 addition & 2 deletions script/download-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)" # Figure out where the script is running

. "${SCRIPT_DIR}/lib/export-binary-versions.sh"
"${SCRIPT_DIR}/lib/download-ffi.sh"
"${SCRIPT_DIR}/lib/download-standalone.sh"
"${SCRIPT_DIR}/lib/download-ffi.sh"
60 changes: 0 additions & 60 deletions script/lib/download-standalone.sh

This file was deleted.

1 change: 0 additions & 1 deletion script/lib/export-binary-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
LIB_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)" # Figure out where the script is running
PROJECT_DIR="${LIB_DIR}"/../../

export STANDALONE_VERSION=$(grep "PACT_STANDALONE_VERSION = '" "$PROJECT_DIR"/standalone/install.ts | grep -E -o "'(.*)'" | cut -d"'" -f2)
export FFI_VERSION=v$(grep "PACT_FFI_VERSION = '" "$PROJECT_DIR"/src/ffi/index.ts | grep -E -o "'(.*)'" | cut -d"'" -f2)
Empty file removed standalone/__fixtures__/.keep
Empty file.
Loading

0 comments on commit 8e4f735

Please sign in to comment.