chore: add standard-version for automated releases #14
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.
π― What This PR Does
Implements automated semantic versioning, changelog generation, and simplifies Git workflow to
Feature β Main.β Changes
Added
standard-versionpackage for automated releasesnpm run release- automatic version bumpnpm run release:minor- minor version bump (new features)npm run release:major- major version bump (breaking changes)npm run release:patch- patch version bump (bug fixes)npm run release:dry-run- test without changes.versionrc.json- standard-version configurationCHANGELOG.mddocumenting v1.0.0 releaseChanged
Feature β Main(removeddevbranch)mainmainvia PRπ New Workflow
Before
After
π Release Process
π How It Works
Conventional commits drive everything:
feat: add Angular Material β v1.0.0 β v1.1.0 (MINOR) fix: resolve build issue β v1.0.0 β v1.0.1 (PATCH) feat!: upgrade to Angular 21 β v1.0.0 β v2.0.0 (MAJOR)standard-version automatically:
π§ͺ Testing
npm run release:dry-runπ Documentation
Added to README:
ποΈ Cleanup
devremoved (simplified workflow)mainprotected)maindirectlyπ Next Steps After Merge
git checkout main git pull origin main npm run release:patch # 1.0.0 β 1.0.1 git push --follow-tags origin mainπ Resources
Type: Tooling & Workflow improvement
Breaking Changes: None (infrastructure only)
Version: No bump (will be v1.0.1 after merge)