1.0.0-beta.1 • Published 1 year ago

libxmljs-wrapper v1.0.0-beta.1

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

libxmljs-wrapper

Setup

  • Install Yarn
  • Make sure you can access Chain.io private NPM Packages. Either:
    • authenticate to your npm account: npm adduser OR
    • Add a valid NPM_TOKEN to your ENV variables OR
    • Add a valid NPM_TOKEN to your user .npmrc file
  • yarn to install dependencies

Testing

  • Run terraform to deploy the red environment (you only have to do this if there have been infrastructure changes)
    • cd./ terraform / environments / red
    • terraform get
    • terraform plan
    • terraform apply
  • yarn test or yarn run jest for any specific options
  • yarn lint to lint

Deploying

  • Dev: yarn deploy
  • Other environments are deployed via CD upon successful build of master

Git Hooks

This repo employs a pre-commit hook that does the following:

  • Runs yarn lint to reject commits if StandardJS detects errors.
  • Runs yalc check to reject commits if any packages were added to this repo using yalc. If you do not have yalc installed, this check will skip.

:exclamation: On MacOS, some Git UI tools may not play well with git hooks. Please launch those tools from the command line ($ open /Applications/Sourcetree.app) or add /usr/local/bin to your $PATH.

1.0.0-beta.1

1 year ago