{"id":51118964,"url":"https://github.com/sulthonzh/bumpkit","last_synced_at":"2026-06-25T00:30:35.000Z","repository":{"id":365946035,"uuid":"1254752940","full_name":"sulthonzh/bumpkit","owner":"sulthonzh","description":"Smart semver bumper that reads conventional commits and does the right thing","archived":false,"fork":false,"pushed_at":"2026-06-19T14:20:49.000Z","size":43,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T16:27:15.250Z","etag":null,"topics":["bump","changelog","conventional-commits","release","semver","version"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sulthonzh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T00:50:51.000Z","updated_at":"2026-06-19T14:20:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sulthonzh/bumpkit","commit_stats":null,"previous_names":["sulthonzh/bumpkit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sulthonzh/bumpkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fbumpkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fbumpkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fbumpkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fbumpkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sulthonzh","download_url":"https://codeload.github.com/sulthonzh/bumpkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fbumpkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34755061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","changelog","conventional-commits","release","semver","version"],"created_at":"2026-06-25T00:30:34.878Z","updated_at":"2026-06-25T00:30:34.980Z","avatar_url":"https://github.com/sulthonzh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bumpkit\n\nSmart semver bumper that reads your conventional commits and figures out what to do.\n\nNo config files. No presets. Just git log + semver.\n\n## Why\n\nEvery release tool either wants you to adopt their entire workflow or configure 15 plugins. `bumpkit` does one thing: look at your commits since the last tag, figure out the right semver bump, update your package.json, and optionally tag it.\n\n## Install\n\n```bash\nnpm install -g bumpkit\n```\n\n## Usage\n\n```bash\n# Analyze what bump is needed (no side effects)\nbumpkit\nbumpkit analyze\n\n# Machine-readable output\nbumpkit analyze --json\n\n# Generate changelog markdown\nbumpkit changelog\n\n# Actually bump version in package.json\nbumpkit bump\n\n# Preview without changes\nbumpkit bump --dry-run\n\n# Bump + git tag + commit\nbumpkit tag\n```\n\n## How It Works\n\n1. Finds the latest git tag (or uses `--tag`)\n2. Reads all commits since that tag\n3. Parses conventional commit format: `type(scope)!: description`\n4. Determines bump level:\n   - `feat!:` or `BREAKING CHANGE:` → **major**\n   - `feat:` → **minor**\n   - `fix:` → **patch**\n   - everything else → **no bump**\n5. Updates `package.json` and `CHANGELOG.md`\n\n## Conventional Commit Support\n\n```\nfeat: add dark mode              → minor\nfeat(ui): add sidebar toggle     → minor (scoped)\nfeat!: new API format            → major (breaking)\nfix: handle null response        → patch\nfix(api): timeout retry logic    → patch (scoped)\ndocs: update readme              → no bump\nchore: update deps               → no bump\n```\n\nBreaking changes detected via `!` after type or `BREAKING CHANGE:` in footer.\n\n## CLI Reference\n\n| Command | What it does |\n|---------|-------------|\n| `analyze` | Show bump recommendation (default) |\n| `changelog` | Generate changelog markdown |\n| `bump` | Update package.json version |\n| `tag` | Bump + git commit + tag |\n\n| Flag | Description |\n|------|-------------|\n| `--tag \u003ctag\u003e` | Use specific tag as base |\n| `--version \u003cver\u003e` | Override current version |\n| `--json` | JSON output |\n| `--dry-run` | Preview without changes |\n\n## Changelog Format\n\n```markdown\n## 2.0.0 (2026-05-31)\n\n### ⚠ BREAKING CHANGES\n\n- **api**: new response format (a1b2c3d)\n\n### Features\n\n- **ui**: add dark mode (e4f5g6h)\n\n### Bug Fixes\n\n- handle empty query params (i7j8k9l)\n\n---\n\n**Stats**: 12 commits → major bump (1.5.0 → 2.0.0)\n```\n\n## As a Library\n\n```typescript\nimport { analyze, generateChangelog, formatJSON } from 'bumpkit';\n\nconst result = analyze(); // auto-detects tag and version\nconsole.log(result.bumpType);    // 'major' | 'minor' | 'patch' | 'none'\nconsole.log(result.newVersion);  // calculated version\nconsole.log(result.features);    // feat commits\nconsole.log(result.breakingChanges); // breaking commits\n\nconst md = generateChangelog(result);\nconst json = formatJSON(result);\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsulthonzh%2Fbumpkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsulthonzh%2Fbumpkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsulthonzh%2Fbumpkit/lists"}