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 11# Conventional Versioning
22
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 )
57
68## Introduction
79
@@ -116,12 +118,12 @@ You can specify which packages or patterns of packages to include or exclude fro
116118 " @some-scope/*" ,
117119 // And also these packages
118120 " a" ,
119- " b"
121+ " b" ,
120122 ],
121123 // And exclude all packages under @other-scope/.
122124 " exclude" : [" @other-scope/*" ],
123125 // Also exclude all private packages.
124- " ignorePrivatePackages" : true
126+ " ignorePrivatePackages" : true ,
125127}
126128```
127129
@@ -133,8 +135,8 @@ You can specify custom mapping from conventional commit types to the version bum
133135{
134136 " bumps" : {
135137 // Commit "addition: some features" will infer a minor bump for affected packages.
136- " addition" : " minor"
137- }
138+ " addition" : " minor" ,
139+ },
138140}
139141```
140142
@@ -146,12 +148,12 @@ There are two methods for linking packages. `linked` ensures that all major and
146148{
147149 " linked" : [
148150 // Will release with same minor.
149- [" a" , " b" ]
151+ [" a" , " b" ],
150152 ],
151153 " fixed" : [
152154 // Will release with same patch.
153- [" c" , " d" ]
154- ]
155+ [" c" , " d" ],
156+ ],
155157}
156158```
157159
Original file line number Diff line number Diff line change 44 "branch" : " main" ,
55 "base" : " 037cce8ad32e9ed9022b80f3089848583f9aac1a" ,
66 "original" : {
7+ },
8+ "promotions" : {
9+ "conventional-versioning" : " patch"
710 }
811}
You can’t perform that action at this time.
0 commit comments