Giter Club home page Giter Club logo

npm-pact-binaries's Introduction

NPM Pact binaries

npm-pact-binaries is a library containing the Pact binaries, hosted here, so they can be used as an alternative for whom can't have access to github to download them during the pact-node post-install script. (Usually companies with a strict proxy or firewall).

The code hosted in Gihub is an aggregator of node scripts, which check daily if there are new releases of the binaries, and creates a package, hosted in NPM, with those binaries.

The package published in NPM is just the package.json of the dist folder, plus all the binaries of a version.

When a new version of the Pact binaries are released, a new version of this package will be released too, with the same version of the binaries.

Installation

Add this config to your package.json, so pact-node get the binaries from the package instead of Github. (Official information)

"config": {
  "pact_binary_location": "node_modules/npm-pact-binaries"
},

Add the npm-pact-binaries to your devDependencies.

npm install -save-dev npm-pact-binaries

Now you can install pact-node without access to Github.

Automated work

This project runs a travis cron daily, in this url.

When a new update is available, the pipeline generates a new version and automagically publish it to the NPM registry.

If it doesn't found a new version, the pipeline fails to avoid the publish script, so don't worry if you see failing jobs :)

Thanks!

To all the PACT team, for creating this awesome tool! All credits belong to them.

License

MIT

npm-pact-binaries's People

Contributors

vlaraort avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.