forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
32
node_modules/conventional-changelog-eslint/conventional-recommended-bump.js
generated
vendored
Normal file
32
node_modules/conventional-changelog-eslint/conventional-recommended-bump.js
generated
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
'use strict'
|
||||
|
||||
const parserOpts = require('./parser-opts')
|
||||
|
||||
module.exports = {
|
||||
parserOpts,
|
||||
|
||||
whatBump: commits => {
|
||||
let level = 2
|
||||
let breakings = 0
|
||||
let features = 0
|
||||
|
||||
commits.forEach(commit => {
|
||||
if (!commit.tag) return
|
||||
|
||||
if (commit.tag.toLowerCase() === 'breaking') {
|
||||
breakings += 1
|
||||
level = 0
|
||||
} else if (commit.tag.toLowerCase() === 'new') {
|
||||
features += 1
|
||||
if (level === 2) {
|
||||
level = 1
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
return {
|
||||
level: level,
|
||||
reason: `There are ${breakings} breaking changes and ${features} features`
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue