0.1.0 β’ Published 1 month ago
@runespoorstack/danger-plugins v0.1.0
Table of Contents
- Table of Contents
- β¨ Features
- π¦Ύ Installation
- βΎοΈ Usage
- π οΈ Contributing
- π Special Thanks
- β€οΈ Support or Donate
β¨ Features
- Review the PR assignee
- Review the changelog updating on a PRs
- Review the lockfile updating on a PRs
- Review the PR merging time
- Review the PR size
- Review the PR title
- Review the PR reviewers
π¦Ύ Installation
npm i --save-dev @runespoorstack/danger-plugins
βΎοΈ Usage
Create the script file and run it in the CI, following the Danger.js guide.
import {
dangerAssignee,
dangerLockfileUpdate,
dangerPrMergingTime,
dangerPrSize,
dangerPrTitle,
dangerReviewers
} from '@runespoorstack/danger-plugins'
dangerAssignee();
dangerLockfileUpdate('npm');
dangerPrMergingTime(48);
dangerPrSize(777);
dangerPrTitle(/^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)/);
dangerReviewers(3);
π οΈ Contributing
See the CONTRIBUTING.md document.
π Special Thanks
- I want to say thank you to the best woman in the world, my wife Diana for her love, daily support, motivation and inspiration.
β€οΈ Support or Donate
If you are enjoying this work and feel extra appreciative, you could buy me a book π or 3 πππ.