| 
									
										
										
										
											2018-06-11 19:24:25 +05:30
										 |  |  | /* eslint-env node */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const types = [ | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     value: 'feat', | 
					
						
							| 
									
										
										
										
											2018-06-21 17:45:28 +05:30
										 |  |  |     name: 'feat:     A new challenge or feature is being added.' | 
					
						
							| 
									
										
										
										
											2018-06-11 19:24:25 +05:30
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     value: 'fix', | 
					
						
							| 
									
										
										
										
											2018-06-21 17:45:28 +05:30
										 |  |  |     name: `fix:      Modifying an existing challenge, fixing a bug, text, 
 | 
					
						
							|  |  |  |             or updating challenge tests.`
 | 
					
						
							| 
									
										
										
										
											2018-06-11 19:24:25 +05:30
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     value: 'docs', | 
					
						
							| 
									
										
										
										
											2018-06-21 17:45:28 +05:30
										 |  |  |     name: 'docs:     Documentation only changes to readme, guides, etc.' | 
					
						
							| 
									
										
										
										
											2018-06-11 19:24:25 +05:30
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     value: 'test', | 
					
						
							| 
									
										
										
										
											2018-06-21 17:45:28 +05:30
										 |  |  |     name: `test:     Adding missing tests to tooling (NOT to be used for tests 
 | 
					
						
							|  |  |  |             inside challenges).`
 | 
					
						
							| 
									
										
										
										
											2018-06-11 19:24:25 +05:30
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     value: 'chore', | 
					
						
							|  |  |  |     name: `chore:    Changes to the build process or auxiliary tools
 | 
					
						
							| 
									
										
										
										
											2018-06-21 17:45:28 +05:30
										 |  |  |             and libraries such as documentation generation.`
 | 
					
						
							| 
									
										
										
										
											2018-06-11 19:24:25 +05:30
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     value: 'revert', | 
					
						
							| 
									
										
										
										
											2018-06-21 17:45:28 +05:30
										 |  |  |     name: 'revert:   Revert a commit.' | 
					
						
							| 
									
										
										
										
											2018-06-11 19:24:25 +05:30
										 |  |  |   } | 
					
						
							|  |  |  | ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const scopes = ['challenges', 'tools', 'scripts'].map(name => ({ | 
					
						
							|  |  |  |   name | 
					
						
							|  |  |  | })); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module.exports = { | 
					
						
							|  |  |  |   types, | 
					
						
							|  |  |  |   scopes, | 
					
						
							|  |  |  |   allowCustomScopes: true, | 
					
						
							|  |  |  |   allowBreakingChanges: ['feat', 'fix', 'perf', 'refactor'] | 
					
						
							|  |  |  | }; |