
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
automatic-versioning
Advanced tools
A script which will automatically increment your app package version in accordance with conventional commits
A script which will automatically increment your app package version in accordance with conventional commits
Most version bumping scripts only focus on just the version bumping. automatic-versioning takes into account your git changes and automatically increments the version number based on your last commit message only if there are changes in your directory, a feature which is highly useful in monorepos.
automatic-versioning by default, skips version bumping for special commits such as merge and revert commits.
# using npm
npm install automatic-versioning
# using yarn
yarn add automatic-versioning
"scripts": {
"bump-version": "yarn --cwd ./node_modules/automatic-versioning/ run bump-version --name=<package_name>"
}
# using npm
npm run bump-version
# using yarn
yarn bump-version
"dependencies": {
"@commitlint/cli": "^17.0.1",
"@commitlint/config-conventional": "^17.0.0",
"husky": "^4.3.8"
}
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-commit": "HUSKY_SKIP_HOOKS=1 yarn bump-version",
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
- feat! - bump major version
- feat - bump minor version
- fix - bump patch version
// example command
git commit -m "feat: some feature --no-bump"
// example script:
yarn --cwd ./node_modules/automatic-versioning/ run bump-version --name=<package_name> --no-commit-edit
// example script:
yarn --cwd ./node_modules/automatic-versioning/ run bump-version --name=<package_name> --rootDir=<custom_dir>
FAQs
A script which will automatically increment your app package version in accordance with conventional commits
The npm package automatic-versioning receives a total of 21 weekly downloads. As such, automatic-versioning popularity was classified as not popular.
We found that automatic-versioning demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.