Skip to content

feat: add breaking change flag (-w), and new semantic types (ci, build, perf)#18

Open
pallax03 wants to merge 4 commits into
fteem:masterfrom
pallax03:master
Open

feat: add breaking change flag (-w), and new semantic types (ci, build, perf)#18
pallax03 wants to merge 4 commits into
fteem:masterfrom
pallax03:master

Conversation

@pallax03
Copy link
Copy Markdown

This pull request introduces new semantic git commit types (ci, build, and perf), and refactors all semantic commit scripts to support optional scope and breaking change flags in a consistent way. Additionally, the installation process and documentation are updated to reflect these enhancements. The main improvements are grouped below.

New commit types and script additions:

  • Added new semantic commit scripts: git-ci, git-build, and git-perf, each supporting optional scope (-s) and breaking change (-w) flags.
  • Updated the installation script to register these new aliases automatically.

Refactoring and consistency improvements:

  • Refactored all existing semantic commit scripts (git-chore, git-docs, git-feat, git-fix, git-localize, git-refactor, git-style, git-test) to use a unified approach for handling scope and breaking change flags, improving maintainability and user experience.
  • Updated the git alias registration logic in install.sh to match the new script logic, ensuring aliases support both scope and breaking change flags.

Documentation updates:

  • Expanded the README.md to document the new commit types and explain the usage of the -s (scope) and -w (breaking change) flags for all semantic commit commands.

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.

1 participant