Skip to content

feat: monorepo support — independent per-package semver bumping#89

Draft
ricogu wants to merge 4 commits into
mainfrom
feat/monorepo-support
Draft

feat: monorepo support — independent per-package semver bumping#89
ricogu wants to merge 4 commits into
mainfrom
feat/monorepo-support

Conversation

@ricogu
Copy link
Copy Markdown
Contributor

@ricogu ricogu commented May 14, 2026

Summary

  • Adds monorepo support to pull-request-semver-bumper enabling independent per-package semver bumping
  • Auto-detected via bumper.monorepo.json in the target repo root
  • Zero impact on existing single-package users

Resolves #82

Status

This PR tracks the implementation of monorepo support using the OpenSpec artifact-driven workflow. Currently contains the brainstorm artifact with agreed design decisions.

Key Design Decisions

  • Architecture: Early branch in index.ts, isolated new code in src/monorepo/
  • Detection: type input defaults to "auto", config file triggers monorepo mode
  • Changed files: git diff --name-only (no new dependencies)
  • Config: Supports exact paths and glob patterns (packages/* = one level)
  • Commit: Single atomic commit for all bumped packages
  • Output: new-version returns JSON map in monorepo mode

Artifacts Progress

  • brainstorm
  • design
  • proposal
  • specs
  • tasks
  • plan
  • verify
  • implementation

ricogu and others added 4 commits May 14, 2026 12:41
Captures design decisions from issue #82 brainstorming session:
- Early branch architecture with isolated src/monorepo/ modules
- Auto-detection via bumper.monorepo.json in target repo
- type input becomes optional (default 'auto')
- Git diff for changed-file detection
- Glob support for package paths (one level)
- Single atomic commit for all bumped packages
Adds OpenSpec workflow skills for artifact-driven development and
the openspec configuration file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: monorepo support — independent per-package semver bumping

1 participant