-
Notifications
You must be signed in to change notification settings - Fork 78
/
.releaserc.js
44 lines (43 loc) · 1.25 KB
/
.releaserc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Copyright (c) 2016-2024 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
module.exports = {
branches: ['main', '+([0-9]).x', { name: 'beta', prerelease: true }, { name: 'next', prerelease: true }],
plugins: [
[
'@semantic-release/commit-analyzer',
{
releaseRules: [
{ breaking: true, release: 'major' },
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'chore', release: false },
],
parserOpts: {
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'],
},
},
],
'@semantic-release/release-notes-generator',
'./scripts/semantic-release-add-peer-dependency.js',
'@semantic-release/github',
[
'@amanda-mitchell/semantic-release-npm-multiple',
{
registries: {
angular: {
npmPublish: true,
pkgRoot: './dist/clr-angular',
},
ui: {
npmPublish: true,
pkgRoot: './dist/clr-ui',
},
},
},
],
],
};