TopGit theo dõi danger/danger-js trên GitHub trong nhóm Automation, đã đạt 5.5k sao. ⚠️ Stop saying "you forgot to …" in code review
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
What is Danger JS? •
Vision •
Helping Out •
Plugin 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 team's 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, Bamboo, Bitrise, surf-build, Codeship, Drone, Buildkite, Buddy.works,
TeamCity, Visual Studio Team Services, Screwdriver, Concourse, Netlify, CodeBuild, Codefresh, AppCenter, BitBucket
Pipelines, Cirrus CI, Codemagic or Xcode Cloud.
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:
Getting Started
Guides Index
DSL Reference
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:
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
Releases are triggered by pushing a version tag. Tag creation on this repo is restricted by the "Release tags"
repository ruleset, so the set of people who can ship a release is that ruleset's bypass list.
Checkout the main branch. Ensure your working tree is clean, and make sure you have the latest changes by running
git pull; yarn.
Bump and tag - npm run release -- patch --ci. This bumps package.json, commits, tags and pushes. It no longer publishes
to npm from your machine, so there's no OTP to enter.
Pushing the tag runs npm_publish.yml, which publishes to npm using npm's
trusted publishing (there is no NPM_TOKEN secret) and then kicks off release.yml for the macOS native builds and
the homebrew tap.
The publish job runs in the npm-release environment, which only tags can deploy to. Combined with the tag ruleset,
that means a branch can never obtain npm's OIDC credentials. Changes to anything under .github/workflows/ need a
review from an admin, via CODEOWNERS.
:ship:
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 but don't have access to deploy.
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/danger-js có 5.5k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/danger/danger-js. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
danger/danger-js có những chủ đề gì?
GitHub topics của danger/danger-js: "ci", "circle", "code-review", "danger", "danger-js", "github-actions", "jenkins", "travis". TopGit xếp repo vào nhóm Automation.
danger/danger-js có trang demo không?
Dự án có trang chủ ở http://danger.systems/js/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
danger/danger-js còn đang phát triển không?
Commit gần nhất trên danger/danger-js là 3 tháng trước (theo timestamp GitHub). Repo có 386 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
danger/danger-js dùng license gì?
danger/danger-js phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
danger/danger-js viết bằng ngôn ngữ gì?
danger/danger-js chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc thêm về danger/danger-js ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/danger/danger-js là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
danger-js có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về danger-js.