{"id":30325712,"url":"https://github.com/stacksjs/bumpx","last_synced_at":"2026-05-04T05:03:25.895Z","repository":{"id":296920914,"uuid":"994971064","full_name":"stacksjs/bumpx","owner":"stacksjs","description":"Bump your package.json versions \u0026 dependencies automatically.","archived":false,"fork":false,"pushed_at":"2026-04-28T00:36:12.000Z","size":1265,"stargazers_count":10,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-28T02:30:24.268Z","etag":null,"topics":["bump","package-json","updates","version-bump","zig"],"latest_commit_sha":null,"homepage":"https://bumpx.netlify.app","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/stacksjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","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},"funding":{"github":["stacksjs","chrisbbreuer"],"open_collective":"stacksjs"}},"created_at":"2025-06-02T19:09:25.000Z","updated_at":"2026-04-26T22:36:53.000Z","dependencies_parsed_at":"2025-07-25T06:26:09.235Z","dependency_job_id":"4e174acd-14ba-4409-9236-3997ab518381","html_url":"https://github.com/stacksjs/bumpx","commit_stats":null,"previous_names":["stacksjs/bumpx"],"tags_count":78,"template":false,"template_full_name":null,"purl":"pkg:github/stacksjs/bumpx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fbumpx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fbumpx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fbumpx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fbumpx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stacksjs","download_url":"https://codeload.github.com/stacksjs/bumpx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fbumpx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32595202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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","package-json","updates","version-bump","zig"],"created_at":"2025-08-17T23:07:12.890Z","updated_at":"2026-05-04T05:03:25.889Z","avatar_url":"https://github.com/stacksjs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/stacksjs","https://github.com/sponsors/chrisbbreuer","https://opencollective.com/stacksjs"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\".github/art/cover.jpg\" alt=\"Social Card of this repo\"\u003e\u003c/p\u003e\n\n[![npm version][npm-version-src]][npm-version-href]\n[![GitHub Actions][github-actions-src]][github-actions-href]\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\u003c!-- [![npm downloads][npm-downloads-src]][npm-downloads-href] --\u003e\n\u003c!-- [![Codecov][codecov-src]][codecov-href] --\u003e\n\n# bumpx\n\n\u003e A fast, dependency-free version bumping tool similar to bumpp and version-bump-prompt, built for Bun.\n\n## Features\n\n- 🚀 **Zero dependencies** - Built using only Node.js built-ins and Bun tooling\n- 📦 **Semver compliant** - Supports all semantic versioning release types\n- 🔄 **Monorepo support** - Recursive bumping with `--recursive` flag\n- 🎯 **Git integration** - Automatic commit, tag, and push\n- ⚡ **Fast execution** - Compiled binary for instant startup\n- 🛠 **Highly configurable** - Config file and CLI options\n- 🎨 **Interactive prompts** - Choose version increment interactively\n- 🔧 **Custom commands** - Execute scripts before git operations\n\n## Installation\n\n```bash\n# Install globally\nbun install -g @stacksjs/bumpx\n\n# Or use with bunx\nbunx @stacksjs/bumpx patch\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\n# Bump patch version (1.0.0 → 1.0.1)\nbumpx patch\n\n# Bump minor version (1.0.0 → 1.1.0)\nbumpx minor\n\n# Bump major version (1.0.0 → 2.0.0)\nbumpx major\n\n# Bump to specific version\nbumpx 1.2.3\n\n# Interactive version selection\nbumpx prompt\n```\n\n### Prerelease Versions\n\n```bash\n# Bump to prerelease\nbumpx prepatch --preid beta  # 1.0.0 → 1.0.1-beta.0\nbumpx preminor --preid alpha # 1.0.0 → 1.1.0-alpha.0\nbumpx premajor --preid rc    # 1.0.0 → 2.0.0-rc.0\n\n# Increment prerelease\nbumpx prerelease  # 1.0.1-beta.0 → 1.0.1-beta.1\n```\n\n### Git Integration\n\n```bash\n# Disable git operations\nbumpx patch --no-commit --no-tag --no-push\n\n# Custom commit message\nbumpx patch --commit-message \"chore: release v%s\"\n\n# Custom tag message\nbumpx patch --tag-message \"Release v%s\"\n\n# Sign commits and tags\nbumpx patch --sign\n\n# Skip git hooks\nbumpx patch --no-verify\n```\n\n### Monorepo Support\n\nbumpx now has **first-class workspace support** with automatic workspace detection:\n\n```bash\n# Bump all workspace packages\nbumpx patch\n\n# Explicitly use recursive mode (detects workspaces automatically)\nbumpx patch --recursive\n\n# Bump specific files\nbumpx patch package.json packages/*/package.json\n\n# Synchronized versioning across all workspace packages\nbumpx patch --current-version 1.0.0\n```\n\n### Advanced Options\n\n```bash\n# Execute custom commands\nbumpx patch --execute \"bun run build \u0026\u0026 bun run test\"\n\n# Install dependencies after bump\nbumpx patch --install\n\n# Skip confirmation prompts\nbumpx patch --yes\n\n# CI mode (non-interactive, quiet)\nbumpx patch --ci\n\n# Print recent commits\nbumpx patch --print-commits\n\n# Skip git status check\nbumpx patch --no-git-check\n```\n\n## CI/CD Integration\n\nbumpx is designed to work seamlessly in CI/CD environments:\n\n### Quick CI Usage\n\n```bash\n# CI mode - automatically non-interactive\nbumpx patch --ci\n\n# Or with explicit flags\nbumpx patch --yes --quiet\n\n# Auto-detect CI environment\nexport CI=true\nbumpx patch  # Automatically enables CI mode\n```\n\n### GitHub Actions Example\n\n```yaml\nname: Release\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: Release type\n        required: true\n        default: patch\n        type: choice\n        options: [patch, minor, major]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n\n      - uses: actions/checkout@v4\n\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          fetch-depth: 0\n\n      - uses: oven-sh/setup-bun@v1\n\n      - name: Install dependencies\n\n        run: bun install\n\n      - name: Configure git\n\n        run: |\n          git config --global user.name \"github-actions[bot]\"\n          git config --global user.email \"github-actions[bot]@users.noreply.github.com\"\n\n      - name: Version bump and release\n\n        run: bunx bumpx ${{ github.event.inputs.release_type }} --ci\n```\n\nFor more CI/CD examples and configurations, see [Automation \u0026 CI/CD](./docs/advanced/automation.md).\n\n## Configuration\n\nCreate a `bumpx.config.ts` file in your project root:\n\n```typescript\nimport { defineConfig } from '@stacksjs/bumpx'\n\nexport default defineConfig({\n  // Git options (these are the defaults)\n  commit: true,\n  tag: true,\n  push: false,\n  sign: false,\n\n  // Execution options\n  install: false,\n  execute: ['bun run build', 'bun run test'],\n\n  // UI options\n  confirm: true,\n  quiet: false,\n\n  // Advanced options\n  recursive: true,\n  printCommits: false\n})\n```\n\nYou can also use JSON configuration in `package.json`:\n\n```json\n{\n  \"bumpx\": {\n    \"commit\": true,\n    \"tag\": true,\n    \"push\": true,\n    \"execute\": \"bun run build\"\n  }\n}\n```\n\n## CLI Options\n\n| Option | Alias | Description | Default |\n|--------|-------|-------------|---------|\n| `--preid` | | ID for prerelease | |\n| `--all` | | Include all files | `false` |\n| `--no-git-check` | | Skip git status check | |\n| `--commit [msg]` | `-c` | Create git commit | `false` |\n| `--no-commit` | | Skip git commit | |\n| `--tag [name]` | `-t` | Create git tag | `false` |\n| `--no-tag` | | Skip git tag | |\n| `--push` | `-p` | Push to remote | `false` |\n| `--no-push` | | Skip git push | |\n| `--sign` | | Sign commits and tags | `false` |\n| `--install` | | Run npm install | `false` |\n| `--execute` | `-x` | Execute command | |\n| `--recursive` | `-r` | Bump recursively | `true` |\n| `--yes` | `-y` | Skip confirmation | `false` |\n| `--quiet` | `-q` | Quiet mode | `false` |\n| `--ci` | | CI mode (sets --yes --quiet) | `false` |\n| `--no-verify` | | Skip git hooks | `false` |\n| `--ignore-scripts` | | Ignore npm scripts | `false` |\n| `--current-version` | | Override current version | |\n| `--print-commits` | | Show recent commits | `false` |\n\n## Library Usage\n\nYou can also use bumpx programmatically:\n\n```typescript\nimport { versionBump } from '@stacksjs/bumpx'\n\nawait versionBump({\n  release: 'patch',\n  commit: true,\n  tag: true,\n  push: true,\n  progress: ({ event, newVersion }) =\u003e {\n    console.log(`${event}: ${newVersion}`)\n  }\n})\n```\n\n## Changelog\n\nPlease see our [releases](https://github.com/stackjs/bumpx/releases) page for information on changes.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Community\n\nFor help or discussion:\n\n- [Discussions on GitHub](https://github.com/stacksjs/bumpx/discussions)\n- [Join the Stacks Discord Server](https://discord.gg/stacksjs)\n\n## Postcardware\n\n“Software that is free, but hopes for a postcard.” We love receiving postcards from around the world showing where Stacks is being used! We showcase them on our website too.\n\nOur address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States 🌎\n\n## Credits\n\n- [`version-bump-prompt`](https://github.com/JS-DevTools/version-bump-prompt) - for the initial inspiration\n- [Antony Fu](https://github.com/antfu) - for creating [bumpp](https://github.com/antfu-collective/bumpp)\n- [Chris Breuer](https://github.com/chrisbbreuer)\n- [All Contributors](https://github.com/stacksjs/bumpx/graphs/contributors)\n\n## Sponsors\n\nWe would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.\n\n- [JetBrains](https://www.jetbrains.com/)\n- [The Solana Foundation](https://solana.com/)\n\n## License\n\nThe MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.\n\nMade with 💙\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/@stacksjs/bumpx?style=flat-square\n[npm-version-href]: https://npmjs.com/package/@stacksjs/bumpx\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/stacksjs/bumpx/ci.yml?style=flat-square\u0026branch=main\n[github-actions-href]: https://github.com/stacksjs/bumpx/actions?query=workflow%3Aci\n\n\u003c!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/bumpx/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/stacksjs/bumpx --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacksjs%2Fbumpx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstacksjs%2Fbumpx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacksjs%2Fbumpx/lists"}