feat(packages): @sa/scripts: add new commit type optimize and commit scope packages

This commit is contained in:
Soybean 2024-04-27 13:32:45 +08:00
parent 55d7cc09d7
commit fbc2e61f49

View File

@ -19,6 +19,7 @@ const defaultOptions: CliOption = {
['style', 'Changes that do not affect the meaning of the code'], ['style', 'Changes that do not affect the meaning of the code'],
['refactor', 'A code change that neither fixes a bug nor adds a feature'], ['refactor', 'A code change that neither fixes a bug nor adds a feature'],
['perf', 'A code change that improves performance'], ['perf', 'A code change that improves performance'],
['optimize', 'A code change that optimizes code quality'],
['test', 'Adding missing tests or correcting existing tests'], ['test', 'Adding missing tests or correcting existing tests'],
['build', 'Changes that affect the build system or external dependencies'], ['build', 'Changes that affect the build system or external dependencies'],
['ci', 'Changes to our CI configuration files and scripts'], ['ci', 'Changes to our CI configuration files and scripts'],
@ -27,6 +28,7 @@ const defaultOptions: CliOption = {
], ],
gitCommitScopes: [ gitCommitScopes: [
['projects', 'project'], ['projects', 'project'],
['packages', 'packages'],
['components', 'components'], ['components', 'components'],
['hooks', 'hook functions'], ['hooks', 'hook functions'],
['utils', 'utils functions'], ['utils', 'utils functions'],