1.1.8 • Published 4 years ago
dangerjs-wrapper v1.1.8
Dangerjs-wrapper
Apply cultural rules during your CI process.
Plugin to Apply cultural rules during your CI process.
Usage
- Install:
npm i -D dangerjs-wrapper
- Create a
dangerfile.js
- Create the config file following this interface:
interface DangerConfig {
giphyApiKey: string
minReviewersRequired: number
ticketLinkRegExp: RegExp
changedFilesLimit: number
testFilesRegExp?: RegExp
docFilesRegExp?: RegExp
}
- Call the function
checkPullRequest
passing the config as a param
const { checkPullRequest } = require('dangerjs-wrapper')
const dangerConfig = {
giphyApiKey: 'irrelevant',
docFilesRegExp: /./g,
changedFilesLimit: 4,
minReviewersRequired: 2,
ticketLinkRegExp: /https:\/\/dev.example.com/g,
}
checkPullRequest(dangerConfig)
Changelog
See the GitHub release history.
Contributing
See CONTRIBUTING.md.
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.25
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.22
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.11
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.5
5 years ago
1.0.2
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago