@dollarshaveclub/cli

Executables for Frontend

Usage no npm install needed!

<script type="module">
  import dollarshaveclubCli from 'https://cdn.skypack.dev/@dollarshaveclub/cli';
</script>

README

dsc-cli

CircleCI codecov Greenkeeper badge

THIS NPM MODULE IS PUBLISHED PUBLICLY. DO NOT PUBLISH SENSITIVE DATA.

These are executable scripts primarily for frontend.

Installation

In your project:

npm i --save-dev @dollarshaveclub/cli

Executables available via npm

dsc-automerge

Automatically updates and merges PRs when it has a label called "AUTOMERGE". This script is automatically ran via CircleCI every 5 minutes from this repository.

Requirements for automerge will work:

  • Your PR must be approved
  • All your required checks must pass
  • Your PR must be at the HEAD of master
  • There must be no merge conflicts

To effectively use it, make sure you:

  • Enable branch protection on master
  • Require pull request reviews before merging
  • Require status checks to pass before merging
  • Require branches to be update to date before merging
  • Set status checks as required

dsc-cleanup-issues

Cleans up issues in an organization. Currently just closes greenkeeper issues.

dsc-install-face-e2e

dsc-install-face-monitor

dsc-install-npm-token

dsc-wait-for-dqa

Waits for the DQA to spin up, then pings a list of URLs (here), and waits for all of them to have a successful response.