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) · 712 Bytes
/
Copy path.versionrc.js
File metadata and controls
31 lines (30 loc) · 712 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/node_modules/@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/node_modules/webex/package.json',
...webexPackagesPath,
],
bumpFiles: [
{
filename: 'package.json',
type: 'json'
},
{
filename: 'package-lock.json',
type: 'json'
},
{
filename: 'packages/node_modules/webex/package.json',
type: 'json'
},
...webexPackages
]
}