Changelog
0.7.0
You can build and run in vscode using your own custom env/development.env
file. This is useful because you can use
the debugger against a real PR. See env/development.env.example
for syntax. - [@orta]
Uses jest-transform
and jest-runtime
to eval and apply babel transforms.
This does two things, makes it feasible to do hosted-danger and makes it possible to write your Dangerfile in a way that's consistent with the rest of your JavaScript. - [@orta]
Add tests directory to .npmignore - macklinu
Update to Jest 18 - macklinu
Changelog
0.6.9
babel-polyfill
a direct dependency, this is because it is actually an implicit dependency in the app. I'm not
sure how I feel about this, I guess if we use a part of it in the babel translation of a user's Dangerfile them I'm OK
with it. - [@orta]Changelog
0.6.5
Changelog
0.6.4
DANGER_TEST_REPO
and DANGER_TEST_PR
will allow you initialize the FakeCI with a repo of your choice.
See README.md for more infoDANGER_GITHUB_API_TOKEN
in the ENV - nsfmc / orta// Politely ask for their name on the entry too
const changelogDiff = danger.git.diffForFile("changelog.md")
const contributorName = danger.github.pr.user.login
if (changelogDiff && changelogDiff.indexOf(contributorName) === -1) {
warn("Please add your GitHub name to the changelog entry, so we can attribute you.")
}
Changelog
0.6.3
Changelog
0.5.0
danger.pr
-> danger.github.pr
, I've also created interfaces for them - [@orta]warn
, message
, markdown
are all ported over to DangerJS - [@orta]npm run export-flowtype
- [@orta]