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:
Francesco Vattiato 2023-09-28 16:16:33 +02:00 committed by GitHub
parent cff501a083
commit b178c18fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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