forked from webex/webex-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.versionrc.js
More file actions
31 lines (30 loc) · 684 Bytes
/
.versionrc.js
File metadata and controls
31 lines (30 loc) · 684 Bytes
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
const glob = require('glob');
const webexPackagesPath = glob.sync(`packages/@webex/**/*/package.json`);
const webexPackages = webexPackagesPath.map((file) => ({
filename: file,
type: 'json',
}));
module.exports = {
releaseCommitMessageFormat: 'chore(release): v{{currentTag}} [skip ci]',
packageFiles: [
'package.json',
'package-lock.json',
'packages/webex/package.json',
...webexPackagesPath,
],
bumpFiles: [
{
filename: 'package.json',
type: 'json',
},
{
filename: 'package-lock.json',
type: 'json',
},
{
filename: 'packages/webex/package.json',
type: 'json',
},
...webexPackages,
],
};