Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
release-plan
Advanced tools
This package was originally developed to help release [Embroider](https://github.com/embroider-build/embroider) and was extracted so everyone can use it 🎉
This package was originally developed to help release Embroider and was extracted so everyone can use it 🎉
npm i --save-dev release-plan
To use release-plan
you need to have a valid GITHUB_AUTH
environment variable that has the repo
permission. This allows release-plan
to check what PRs have been merged since the last release and plan the release accordingly.
Run npx release-plan explain-plan
. If there are unlabeled PRs that need to be released it will complain and show you a list of them. Each PR needs to be labeled with one of:
Once all the PRs are labeled, release-plan
will instead show you the release plan, explaining which packages are getting released, at which versions, and why.
If you disagree with the plan, you can modify the list of changes before using it to explain-plan
or prepare
a release:
npx release-plan gather-changes > /tmp/changelog
/tmp/changelog
npx release-plan --from-stdin < /tmp/changelog
For example, this can be necessary if a PR that's labeled breaking
touches multiple packages and only one of those packages is actually a breaking change. In that case you can take the other package names out of the description of the PR.
Once you're happy with the plan, run npx release-plan prepare
. This will edit CHANGELOG.md, bump the version numbers in package.json files, and create a file named .release-plan.json
. Make a PR with these changes.
Once the PR is merged, in a clean local repo at the merge commit, run npx release-plan publish
. if you need an otp
for your release you can provide that to the publish
command like this npx release-plan publish --otp=123456
FAQs
_The most contributor friendly and hands-off release tool there is_.
The npm package release-plan receives a total of 3,543 weekly downloads. As such, release-plan popularity was classified as popular.
We found that release-plan demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.