docs: Add release.config.cjs example with TypeScript definitions on docs/usage/configuration.md (#2950)
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com> Co-authored-by: Matt Travi <programmer@travi.org>
This commit is contained in:
		
							parent
							
								
									cff501a083
								
							
						
					
					
						commit
						b178c18fde
					
				| @ -40,6 +40,17 @@ The following three examples are the same. | |||||||
| } | } | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | - Via `release.config.cjs` file: | ||||||
|  | 
 | ||||||
|  | ```js | ||||||
|  | /** | ||||||
|  |  * @type {import('semantic-release').GlobalConfig} | ||||||
|  |  */ | ||||||
|  | module.exports = { | ||||||
|  |   branches: ["master", "next"], | ||||||
|  | }; | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| - Via CLI argument: | - Via CLI argument: | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user