forked from atinc/ngx-tethys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.wpmrc.js
26 lines (26 loc) · 768 Bytes
/
.wpmrc.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
module.exports = {
allowBranch: ['master', 'v7.*', 'v8.*', 'v9.*', 'v10.*', 'v11.*', '12.*'],
bumpFiles: [
'package.json',
'package-lock.json',
'src/package.json',
'cdk/package.json',
{
filename: './src/version.ts',
type: 'code'
},
{
filename: './schematics/version.ts',
type: 'code'
}
],
// backward compatibility changelog
// because we didn't use tag prefix(v) when create tag before
// should set tagPrefix as empty (default is 'v')
// otherwise, the changelog will rebuild, and will be lost past versions
tagPrefix: '',
hooks: {
prepublish: 'npm run build',
postpublish: 'npm run pub-only'
}
};