test: update README and tests to use 'versionPrefix' instead of 'prefix'#50
Open
juancarlosjr97 wants to merge 1 commit intorelease-it:masterfrom
Open
test: update README and tests to use 'versionPrefix' instead of 'prefix'#50juancarlosjr97 wants to merge 1 commit intorelease-it:masterfrom
juancarlosjr97 wants to merge 1 commit intorelease-it:masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Aligns tests and README documentation with the actual @release-it/bumper configuration option name versionPrefix (instead of the outdated prefix), per Issue #49.
Changes:
- Updated a README JSON config example to use
versionPrefix. - Renamed test case descriptions to reference
versionPrefix/ clarify “prefix” behavior.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
test/json.test.js |
Updates a test name to explicitly reference versionPrefix. |
test/general.test.js |
Clarifies a test name to describe preserving an existing version string prefix. |
README.md |
Fixes the configuration example to use the correct versionPrefix key. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Closes #49
Summary
Updates documentation/tests to use
versionPrefixinstead ofprefix.Changes
README.md: update config example key fromprefix→versionPrefix.test/json.test.js: update test title to referenceversionPrefix.test/general.test.js: clarify test title wording (preserve existing version-string prefix).How to test
npm testNo runtime behavior changes expected (docs/tests only).