mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	feat(packages): @sa/scripts: add new commit type optimize and commit scope packages
				
					
				
			This commit is contained in:
		@@ -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'],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user