Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hull-connector-tester

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hull-connector-tester

This is a cli utility which runs multiple [checks](./src/checks) on the connector code base to make sure it complies with official Hull Connector standards.

  • 0.0.11
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

Hull Connector Tester

This is a cli utility which runs multiple checks on the connector code base to make sure it complies with official Hull Connector standards.

When any of the check fails the command exits with error code to fail CI job.

Continuous Integration usage

All official Hull connectors run hull-connector-tester on each CI build.

This is how the Circle CI configuration file (.circleci/config.yml) last step looks like this:

- run: npm i --no-save --no-cache hull-connector-tester@latest && ./node_modules/.bin/hull-connector-tester

Manual usage

To manually test the Connector code base, the tool should be installed globally and run in connector directory:

npm i -g hull-connector-tester

cd hull-connector-name/

hull-connector-tester

How to add new check?

  1. add new file in src/checks directory with the name of the check
  2. create a function taking no arguments and returning true in case of success or string in case of error with error message
  3. export this new check in src/checks/index.js
  4. bump version and update CHANGELOG.md

FAQs

Package last updated on 19 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc