{"id":16298850,"url":"https://github.com/ihexxa/auto-bump","last_synced_at":"2026-05-07T11:32:28.133Z","repository":{"id":79417533,"uuid":"137494153","full_name":"ihexxa/auto-bump","owner":"ihexxa","description":"Bump version in package.json automatically according to git log.","archived":false,"fork":false,"pushed_at":"2018-06-23T13:48:40.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T11:45:43.864Z","etag":null,"topics":["bump","javascript","npm","versioning","yarn"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ihexxa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T14:00:05.000Z","updated_at":"2018-06-23T13:48:31.000Z","dependencies_parsed_at":"2023-07-17T21:45:52.352Z","dependency_job_id":null,"html_url":"https://github.com/ihexxa/auto-bump","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihexxa%2Fauto-bump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihexxa%2Fauto-bump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihexxa%2Fauto-bump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihexxa%2Fauto-bump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ihexxa","download_url":"https://codeload.github.com/ihexxa/auto-bump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248097214,"owners_count":21047188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bump","javascript","npm","versioning","yarn"],"created_at":"2024-10-10T20:45:45.280Z","updated_at":"2026-05-07T11:32:23.114Z","avatar_url":"https://github.com/ihexxa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Auto-Bump\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  Bump version in package.json automatically according to git log.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/ihexxa/auto-bump\"\u003e\n    \u003cimg src=\"https://travis-ci.org/ihexxa/auto-bump.svg?branch=master\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/ihexxa/auto-bump/raw/master/demo.png\" alt=\"auto-bump\"\u003e\n\u003cp\u003e\n\nChoose Language: English | [简体中文](./README_zh_cn.md)\n\n## Background\n\nHelp to bump `version` in `pacakge.json` according to commit types (such as fix, feature or breaking change).\n\nFor example:\nIf previous version is \"1.0.0\" (using git tag), and there are 3 commits after that version, they are:\n\n- BREAKING CHANGE(button): add button api\n- feat(button): add button\n- fix(button): fix button bug\n\nThe version should be `2.1.1`.\n\nBy inputting `yarn auto-bump`, `version` in `package.json` will be updated to `2.1.1`.\n\n## Install\n\n### Preconditions\n\n- There is only one root branch in git history.\n- Subjects of commits should align to [Conventional Commits](https://conventionalcommits.org/) (or you need to add autoBump config in `package.json` to specify custom matching patterns).\n\n```sh\n$ yarn add -D auto-bump\n```\n\nor\n\n```sh\n$ npm install -D auto-bump\n```\n\n## Usage\n\nOnly one command to bump your version:\n\n```sh\n$ yarn auto-bump\n```\n\nAt first auto-bump will check if there is tag for previous version.\nOr it will traverse from the first commit of root branch and bump version for each commit.\nAnd you will see package.json version is udpated.\n\nPlease notice that auto-bump will check commit subject to decide bumping major/minor/patch version. So by default your commit subject should follow [Conventional Commits](https://conventionalcommits.org/). Or your can add custom matching patterns in `package.json`, you can refer `package.json` in this repository as example.\n\n## Contribute\n\nWIP.\n\n## TODO\n\n- Add API for Javascript\n- Add life cycle functions\n\n## License\n\n[MIT](LICENSE) © Hexxa\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihexxa%2Fauto-bump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihexxa%2Fauto-bump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihexxa%2Fauto-bump/lists"}