@@ -65,23 +65,15 @@ export const bumpMapping = [
65
65
bump : BumpType . Patch ,
66
66
} ,
67
67
{
68
- test : / ( .* ) ( f e a t : | f e a t \( ( .* ) \) : ) / ,
69
- bump : BumpType . Minor ,
70
- } ,
71
- {
72
- test : / ( .* ) ( f e a t u r e : | f e a t u r e \( ( .* ) \) : ) / ,
68
+ test : / ( .* ) ( f e a t : | f e a t \( ( .* ) \) : | f e a t u r e : | f e a t u r e \( ( .* ) \) : ) / ,
73
69
bump : BumpType . Minor ,
74
70
} ,
75
71
{
76
72
test : / ( .* ) ( p e r f : | p e r f \( ( .* ) \) : ) / ,
77
73
bump : BumpType . Minor ,
78
74
} ,
79
75
{
80
- test : / ( .* ) ( r e f : | r e f \( ( .* ) \) : ) / ,
81
- bump : BumpType . Minor ,
82
- } ,
83
- {
84
- test : / ( .* ) ( r e f a c t o r : | r e f a c t o r \( ( .* ) \) : ) / ,
76
+ test : / ( .* ) ( r e f : | r e f \( ( .* ) \) : | r e f a c t o r : | r e f a c t o r \( ( .* ) \) : | r e f a c t o r i n g : | r e f a c t o r i n g \( ( .* ) \) : ) / ,
85
77
bump : BumpType . Minor ,
86
78
} ,
87
79
{
@@ -93,7 +85,7 @@ export const bumpMapping = [
93
85
bump : BumpType . Minor ,
94
86
} ,
95
87
{
96
- test : / ( .* ) ( t e s t : | t e s t \( ( .* ) \) : ) / ,
88
+ test : / ( .* ) ( t e s t : | t e s t \( ( .* ) \) : | t e s t s : | t e s t s \( ( . * ) \) : ) / ,
97
89
bump : BumpType . Minor ,
98
90
} ,
99
91
{
@@ -105,11 +97,7 @@ export const bumpMapping = [
105
97
bump : BumpType . Minor ,
106
98
} ,
107
99
{
108
- test : / ( .* ) ( d o c s : | d o c s \( ( .* ) \) : ) / ,
109
- bump : BumpType . Minor ,
110
- } ,
111
- {
112
- test : / ( .* ) ( d o c : | d o c \( ( .* ) \) : ) / ,
100
+ test : / ( .* ) ( d o c s : | d o c s \( ( .* ) \) : | d o c : | d o c \( ( .* ) \) : ) / ,
113
101
bump : BumpType . Minor ,
114
102
} ,
115
103
{
@@ -149,16 +137,16 @@ export const replaceVersionInCommonFiles = (oldVersion: string, newVersion: stri
149
137
const results = replaceInFileSync ( {
150
138
allowEmptyPaths : true ,
151
139
ignore : [
152
- '**/node_modules' ,
153
- '**/.venv' ,
154
- '**/vendor' ,
155
- '**/.git' ,
140
+ '**/node_modules/** ' ,
141
+ '**/.venv/** ' ,
142
+ '**/vendor/** ' ,
143
+ '**/.git/** ' ,
156
144
//
157
145
] ,
158
146
files : [
159
147
'package.json' ,
160
148
'package-lock.json' ,
161
- 'package-lock.json' , // duplicate because lock file contains two occurences.
149
+ 'package-lock.json' , // Duplicate because lock file contains two occurences.
162
150
// 'yarn.lock', Yarn3 lock file does not contain version from package.json
163
151
'composer.json' ,
164
152
// 'composer.lock', Composer2 lock file does not include version from composer.json
0 commit comments