
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@auto-it/all-contributors
Advanced tools
Automatically add contributors as changelogs are produced.
This plugin maps one of the contribution types to a glob or array of globs. Out of the box the plugin will only detect the following contribution types:
doc
- Edits to any README ['**/*.mdx', '**/*.md', '**/docs/**/*', '**/documentation/**/*']
example
- Edits to ['**/*.stories*', '**/*.story.*']
infra
- Edits to ['**/.circle/**/*', '**/.github/**/*', '**/travis.yml'],
test
- Edits to ['**/*.test.*']
code
- Edits to ['**/src/**/*', '**/lib/**/*', '**/package.json', '**/tsconfig.json']
This plugin is not included with the auto
CLI installed via NPM. To install:
npm i --save-dev @auto-it/all-contributors
# or
yarn add -D @auto-it/all-contributors
For this plugin to work your project needs to have initialized an all-contributors
RC file.
npx all-contributors init
{
"plugins": ["all-contributors"]
}
You use any of the contribution types. If you configure an pre-configured contribution type the arrays are not merged, it is overridden.
auto.rc
{
"plugins": [
[
"all-contributors",
{
"types": {
"plugin": "**/plugin/**/*",
"example": ["**/*.stories.*", "**/*.examples.*", "**/*.snippet.*"]
}
}
]
]
}
Sometimes you worked with a person that didn't touch the code personally so this plugin would never attribute them with any contributions.
Since these contributions cannot be automated you can instead just list out another contributor's contributions directly in the PR.
These contributors will also be added to all changelogs that auto
outputs.
Add the following to a PR body and auto
will try to parse it and add contributors from it.
# Contributions
- @some_guy - design, doc
To ensure you are doing it right auto
will comment on the PR with the people + contributions you are manually adding.
Useful for excluding bots from getting into your contributors.
auto.rc
{
"plugins": [
[
"all-contributors",
{
"exclude": ["dependabot", "ci-services"]
}
]
]
}
Maintain contributors lists for sub-packages in a monorepo setup (lerna
/yarn
).
All you need to do is initialize each sub-package you want contributors tracked in with an .all-contributorsrc
. If no rc file is found nothing will happen for that package. Any non-code contribution listed in the PR body will also be added to the sub-package contributors list.
cd packages/your-package
npx all-contributors init
âšī¸ Tip: If you only want 1 commit for new contributions set
commit
to false in all of your.all-contributorsrc
. Otherwise a commit will be made for each package's contributor update.
v10.36.4 (Sun Mar 20 2022)
@auto-it/gem
FAQs
Automatically add contributors as changelogs are produced.
The npm package @auto-it/all-contributors receives a total of 3,318 weekly downloads. As such, @auto-it/all-contributors popularity was classified as popular.
We found that @auto-it/all-contributors 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.