Repository navigation
Add JSON schema and enhance config options - #34
Merged
Merged
Conversation
Collaborator
|
The changes in this PR will be included in the next version bump.
|
- Add published JSON schema (config-schema.json) for .bumpy/_config.json with full
validation, autocomplete, and descriptions for all options
- `bumpy init` now includes $schema pointing to local node_modules copy
- Add `changedFilePatterns` option (root + per-package) using picomatch for filtering
which file changes count toward marking a package as changed
- Expand `commit` to accept `{ message, generateFn }` for custom commit messages
- Allow `changelog: false` to disable changelog generation entirely
- Add picomatch dependency for robust glob matching
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove `commit` from config (was boolean controlling auto-commit)
- Add `versionCommitMessage` config option (string or { message, generateFn })
for customizing the commit message used by both local and CI commands
- Add `--commit` flag to `bumpy version` for local auto-commit
- Extract shared resolveCommitMessage to core/commit-message.ts
- CI commands (autoPublish, createVersionPr) now respect versionCommitMessage
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Paths starting with "./" or "../" are loaded as modules, otherwise the string is used as a static commit message. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
theoephraim
force-pushed
the
feat/json-schema-and-config-enhancements
branch
from
April 21, 2026 23:46
b88b592 to
7a91512
Compare
Only count src, package.json, and build config changes toward triggering the bump file check. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
config-schema.json) for.bumpy/_config.json— provides editor autocomplete, validation, and inline descriptions for all optionsbumpy initnow includes$schemapointing to the localnode_modulescopy so the schema stays in sync with the installed versionchangedFilePatternsoption (root + per-package, powered by picomatch) to control which file changes count toward marking a package as changedversionCommitMessageconfig option for customizing the version commit message — a plain string is used as-is, a path starting with./or../is loaded as a module. Used by bothbumpy version --commitand CI commands--commitflag tobumpy versionfor local auto-commit (replaces oldcommitboolean config)changelog: falseto disable changelog generation entirelyautoPublish,createVersionPr) now respectversionCommitMessageTest plan
changedFilePatternsfiltering with per-package overridesbumpy version --commitwith default and customversionCommitMessagechangelog: falseskips changelog generation🤖 Generated with Claude Code