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 14:16:33 +00:00
committed by GitHub
co-authored by Gregor Martynus Matt Travi
parent cff501a083
commit b178c18fde
+11
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:
```bash