File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Conventional Versioning
2
2
3
- [ ![ NPM Version] ( https://img.shields.io/npm/v/conventional-versioning )] ( https://npmjs.com/package/conventional-versioning )
4
- ![ GitHub Actions Workflow Status] ( https://img.shields.io/github/actions/workflow/status/tscpp/conventional-versioning/checks.yml )
3
+ [ ![ NPM Version] ( https://img.shields.io/npm/v/conventional-versioning?color=red )] ( https://npmjs.com/package/conventional-versioning )
4
+ [ ![ NPM Downloads] ( https://img.shields.io/npm/dm/conventional-versioning?color=blue )
5
+ ] ( https://www.npmjs.com/package/conventional-versioning )
6
+ [ ![ GitHub Actions Workflow Status] ( https://img.shields.io/github/actions/workflow/status/tscpp/conventional-versioning/checks.yml?label=checks )] ( https://github.com/tscpp/conventional-versioning/actions/workflows/checks.yml )
5
7
6
8
## Introduction
7
9
@@ -116,12 +118,12 @@ You can specify which packages or patterns of packages to include or exclude fro
116
118
" @some-scope/*" ,
117
119
// And also these packages
118
120
" a" ,
119
- " b"
121
+ " b" ,
120
122
],
121
123
// And exclude all packages under @other-scope/.
122
124
" exclude" : [" @other-scope/*" ],
123
125
// Also exclude all private packages.
124
- " ignorePrivatePackages" : true
126
+ " ignorePrivatePackages" : true ,
125
127
}
126
128
```
127
129
@@ -133,8 +135,8 @@ You can specify custom mapping from conventional commit types to the version bum
133
135
{
134
136
" bumps" : {
135
137
// Commit "addition: some features" will infer a minor bump for affected packages.
136
- " addition" : " minor"
137
- }
138
+ " addition" : " minor" ,
139
+ },
138
140
}
139
141
```
140
142
@@ -146,12 +148,12 @@ There are two methods for linking packages. `linked` ensures that all major and
146
148
{
147
149
" linked" : [
148
150
// Will release with same minor.
149
- [" a" , " b" ]
151
+ [" a" , " b" ],
150
152
],
151
153
" fixed" : [
152
154
// Will release with same patch.
153
- [" c" , " d" ]
154
- ]
155
+ [" c" , " d" ],
156
+ ],
155
157
}
156
158
```
157
159
Original file line number Diff line number Diff line change 4
4
"branch" : " main" ,
5
5
"base" : " 037cce8ad32e9ed9022b80f3089848583f9aac1a" ,
6
6
"original" : {
7
+ },
8
+ "promotions" : {
9
+ "conventional-versioning" : " patch"
7
10
}
8
11
}
You can’t perform that action at this time.
0 commit comments