Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds danger #3

Merged
merged 1 commit into from
Jul 23, 2019
Merged

Adds danger #3

merged 1 commit into from
Jul 23, 2019

Conversation

cloudify
Copy link
Contributor

No description provided.

@digitalcitizenship
Copy link

Warnings
⚠️

Please include a Pivotal story at the beginning of the PR title (see below).

⚠️

Please include a description of your PR changes.

Example of PR titles that include pivotal stories:

  • single story: [#123456] my PR title
  • multiple stories: [#123456,#123457,#123458] my PR title

New dependencies added: danger and danger-plugin-digitalcitizenship.

danger

Author: Orta Therox

Description: Unit tests for Team Culture

Homepage: https://github.com/danger/danger-js#readme

Createdabout 3 years ago
Last Updatedabout 4 hours ago
LicenseMIT
Maintainers3
Releases250
Direct Dependencies@babel/polyfill, @octokit/rest, async-retry, chalk, commander, debug, get-stdin, gitlab, http-proxy-agent, https-proxy-agent, hyperlinker, jsome, json5, jsonpointer, jsonwebtoken, lodash.find, lodash.includes, lodash.isobject, lodash.keys, lodash.mapvalues, lodash.memoize, memfs-or-file-map-to-github-branch, micromatch, node-cleanup, node-fetch, override-require, p-limit, parse-diff, parse-git-config, parse-github-url, parse-link-header, pinpoint, readline-sync, require-from-string, rfc6902 and supports-hyperlinks
Keywordsdanger and ci
README


Formalize your Pull Request etiquette.

What is Danger JS?VisionHelping OutPlugin Development

What is Danger JS?

Danger runs after your CI, automating your team's conventions surrounding code review.

This provides another logical step in your process, through which Danger can help lint your rote tasks in daily code
review.

You can use Danger to codify your teams norms, leaving humans to think about harder problems.

Danger JS works with GitHub, BitBucket Server, BitBucket Cloud for code review, then with: Travis CI, GitLab CI,
Semaphore, Circle CI, GitHub Actions, Jenkins, Docker Cloud, Bitrise, surf-build, Codeship, Drone, Buildkite, Nevercode,
buddybuild, TeamCity, Visual Studio Team Services, Screwdriver, Concourse, Netlify, CodeBuild, Codefresh, AppCenter, or
BitBucket Pipelines.

npm
Build Status
Build Status
Join the community on Spectrum

For example?

You can:

  • Enforce CHANGELOGs
  • Enforce links to Trello/JIRA in PR/MR bodies
  • Enforce using descriptive labels
  • Look out for common anti-patterns
  • Highlight interesting build artifacts
  • Give warnings when specific files change

Danger provides the glue to let you build out the rules specific to your team's culture, offering useful metadata and
a comprehensive plugin system to share common issues.

Getting Started

Alright. So, actually, you may be in the wrong place. From here on in, this README is going to be for people who are
interested in working on and improving on Danger JS.

We keep all of the end-user documentation at http://danger.systems/js.

Some quick links to get you started:

This thing is broken, I should help improve it!

Awesommmmee. Everything you need is down below. You can also refer to CONTRIBUTING file where you'll
find the same information listed below.

git clone https://github.com/danger/danger-js.git
cd danger-js

# if you don't have yarn installed
npm install -g yarn

yarn install

You can then verify your install by running the tests, and the linters:

yarn test
yarn lint

The fixers for both tslint and prettier will be applied when you commit, and on a push your code will be verified that
it compiles.

You can run your dev copy of danger against a PR by running:

yarn build; node --inspect distribution/commands/danger-pr.js https://github.com/danger/danger-js/pull/817

How does Danger JS work?

Check the architecture doc.

What is the TODO?

Check the issues, I try and keep my short term perspective there. Long term is in the VISION.md.

Releasing a new version of Danger

Following this commit as a model:

  • Checkout the master branch. Ensure your working tree is clean, and make sure you have the latest changes by running
    git pull.
  • Publish - npm run release -- [major/patch/minor] --non-interactive.

🚢

License, Contributor's Guidelines and Code of Conduct

We try to keep as much discussion as possible in GitHub issues, but also have a pretty inactive Slack --- if you'd like
an invite, ping @Orta a DM on Twitter with your email. It's mostly interesting if you want
to stay on top of Danger without all the emails from GitHub.

This project is open source under the MIT license, which means you have full access to the source code and can modify
it to fit your own needs.

This project subscribes to the Moya Contributors Guidelines which TLDR: means
we give out push access easily and often.

Contributors subscribe to the Contributor Code of Conduct based on
the Contributor Covenant version 1.3.0.

danger-plugin-digitalcitizenship

Author: Federico Feroldi

Description: Shared rules for DangerJS, used in the Digital Citizenship projects

Homepage: https://github.com/teamdigitale/danger-plugin-digitalcitizenship#readme

Createdover 1 year ago
Last Updatedabout 1 month ago
LicenseMIT
Maintainers1
Releases4
Direct Dependenciesdanger-plugin-yarn and pivotaljs
README

Custom DangerJS rules for io.italia.it projects

This repository is part of the
io.italia.it
project.

Development

Release

The release process is based on npm version:

$ npm version [patch|minor|major]

Generated by 🚫 dangerJS

@cloudify cloudify merged commit b76d485 into master Jul 23, 2019
@cloudify cloudify deleted the fix-danger branch July 23, 2019 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants