Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
148
node_modules/conventional-changelog-express/CHANGELOG.md
generated
vendored
Normal file
148
node_modules/conventional-changelog-express/CHANGELOG.md
generated
vendored
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [2.0.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@2.0.5...conventional-changelog-express@2.0.6) (2020-11-05)
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.0.5](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@2.0.1...conventional-changelog-express@2.0.5) (2020-05-08)
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.0.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@2.0.0...conventional-changelog-express@2.0.1) (2018-11-01)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Upgrade to Lerna 3, fix Node.js v11 error ([#385](https://github.com/conventional-changelog/conventional-changelog/issues/385)) ([cdef282](https://github.com/conventional-changelog/conventional-changelog/commit/cdef282))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.0.0"></a>
|
||||
# [2.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@1.0.0...conventional-changelog-express@2.0.0) (2018-06-06)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* re-use parser options within each preset ([#335](https://github.com/conventional-changelog/conventional-changelog/issues/335)) ([d3eaacf](https://github.com/conventional-changelog/conventional-changelog/commit/d3eaacf)), closes [#241](https://github.com/conventional-changelog/conventional-changelog/issues/241)
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* Re-use parser options object between components of a preset. For some
|
||||
presets this may change the behavior of `conventional-recommended-bump`
|
||||
as the parser options object for the `conventional-recommended-bump` options
|
||||
within a preset were different than the parser options object for the
|
||||
`conventional-changelog` options within a preset.
|
||||
|
||||
If you are not using `conventional-recommended-bump`, then this is
|
||||
**not** a breaking change for you.
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="1.0.0"></a>
|
||||
# [1.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@0.3.6...conventional-changelog-express@1.0.0) (2018-05-29)
|
||||
|
||||
|
||||
### Chores
|
||||
|
||||
* **package:** set Node requirement to oldest supported LTS ([#329](https://github.com/conventional-changelog/conventional-changelog/issues/329)) ([cae2fe0](https://github.com/conventional-changelog/conventional-changelog/commit/cae2fe0))
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* **package:** Set the package's minimum required Node version to be the oldest LTS
|
||||
currently supported by the Node Release working group. At this time,
|
||||
that is Node 6 (which is in its Maintenance LTS phase).
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="0.3.6"></a>
|
||||
## [0.3.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@0.3.5...conventional-changelog-express@0.3.6) (2018-03-27)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
<a name="0.3.5"></a>
|
||||
## [0.3.5](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@0.3.4...conventional-changelog-express@0.3.5) (2018-03-22)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
<a name="0.3.4"></a>
|
||||
## [0.3.4](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@0.3.3...conventional-changelog-express@0.3.4) (2018-02-24)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
<a name="0.3.3"></a>
|
||||
## [0.3.3](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-express@0.3.2...conventional-changelog-express@0.3.3) (2018-02-20)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
<a name="0.3.2"></a>
|
||||
## [0.3.2](https://github.com/stevemao/conventional-changelog-express/compare/conventional-changelog-express@0.3.1...conventional-changelog-express@0.3.2) (2018-02-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
<a name="0.3.1"></a>
|
||||
## [0.3.1](https://github.com/stevemao/conventional-changelog-express/compare/conventional-changelog-express@0.3.0...conventional-changelog-express@0.3.1) (2018-02-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
<a name="0.3.0"></a>
|
||||
# [0.3.0](https://github.com/stevemao/conventional-changelog-express/compare/conventional-changelog-express@0.2.1...conventional-changelog-express@0.3.0) (2017-12-18)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset:** add recommended-bump opts into presets ([60815b5](https://github.com/stevemao/conventional-changelog-express/commit/60815b5)), closes [#241](https://github.com/stevemao/conventional-changelog-express/issues/241)
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="0.2.1"></a>
|
||||
## [0.2.1](https://github.com/stevemao/conventional-changelog-express/compare/conventional-changelog-express@0.2.0...conventional-changelog-express@0.2.1) (2017-11-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-express
|
||||
|
||||
<a name="0.2.0"></a>
|
||||
# 0.2.0 (2017-07-17)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* allow raw commits to be filtered by path ([#172](https://github.com/conventional-changelog/conventional-changelog/issues/172)) ([ec0a25d](https://github.com/stevemao/conventional-changelog-express/commit/ec0a25d))
|
||||
* extracting code from https://github.com/ajoslin/conventional-changelog ([c9c116a](https://github.com/stevemao/conventional-changelog-express/commit/c9c116a))
|
||||
15
node_modules/conventional-changelog-express/LICENSE.md
generated
vendored
Normal file
15
node_modules/conventional-changelog-express/LICENSE.md
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
### ISC License
|
||||
|
||||
Copyright © [conventional-changelog team](https://github.com/conventional-changelog)
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
14
node_modules/conventional-changelog-express/README.md
generated
vendored
Normal file
14
node_modules/conventional-changelog-express/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]
|
||||
|
||||
> [conventional-changelog](https://github.com/ajoslin/conventional-changelog) [express](https://github.com/strongloop/express) preset
|
||||
|
||||
**Issues with the convention itself should be reported on the Express issue tracker.**
|
||||
|
||||
[npm-image]: https://badge.fury.io/js/conventional-changelog-express.svg
|
||||
[npm-url]: https://npmjs.org/package/conventional-changelog-express
|
||||
[travis-image]: https://travis-ci.org/stevemao/conventional-changelog-express.svg?branch=master
|
||||
[travis-url]: https://travis-ci.org/stevemao/conventional-changelog-express
|
||||
[daviddm-image]: https://david-dm.org/stevemao/conventional-changelog-express.svg?theme=shields.io
|
||||
[daviddm-url]: https://david-dm.org/stevemao/conventional-changelog-express
|
||||
[coveralls-image]: https://coveralls.io/repos/stevemao/conventional-changelog-express/badge.svg
|
||||
[coveralls-url]: https://coveralls.io/r/stevemao/conventional-changelog-express
|
||||
10
node_modules/conventional-changelog-express/conventional-changelog.js
generated
vendored
Normal file
10
node_modules/conventional-changelog-express/conventional-changelog.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'use strict'
|
||||
|
||||
const Q = require('q')
|
||||
const parserOpts = require('./parser-opts')
|
||||
const writerOpts = require('./writer-opts')
|
||||
|
||||
module.exports = Q.all([parserOpts, writerOpts])
|
||||
.spread((parserOpts, writerOpts) => {
|
||||
return { parserOpts, writerOpts }
|
||||
})
|
||||
30
node_modules/conventional-changelog-express/conventional-recommended-bump.js
generated
vendored
Normal file
30
node_modules/conventional-changelog-express/conventional-recommended-bump.js
generated
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
'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.notes.length > 0) {
|
||||
breakings += commit.notes.length
|
||||
level = 0
|
||||
} else if (commit.type === 'feat') {
|
||||
features += 1
|
||||
if (level === 2) {
|
||||
level = 1
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
return {
|
||||
level: level,
|
||||
reason: `There are ${breakings} BREAKING CHANGES and ${features} features`
|
||||
}
|
||||
}
|
||||
}
|
||||
15
node_modules/conventional-changelog-express/index.js
generated
vendored
Normal file
15
node_modules/conventional-changelog-express/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
'use strict'
|
||||
const Q = require('q')
|
||||
const conventionalChangelog = require('./conventional-changelog')
|
||||
const parserOpts = require('./parser-opts')
|
||||
const recommendedBumpOpts = require('./conventional-recommended-bump')
|
||||
const writerOpts = require('./writer-opts')
|
||||
|
||||
module.exports = presetOpts
|
||||
|
||||
function presetOpts (cb) {
|
||||
Q.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
|
||||
.spread((conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts) => {
|
||||
cb(null, { conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts })
|
||||
})
|
||||
}
|
||||
39
node_modules/conventional-changelog-express/package.json
generated
vendored
Normal file
39
node_modules/conventional-changelog-express/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"name": "conventional-changelog-express",
|
||||
"version": "2.0.6",
|
||||
"description": "conventional-changelog express preset",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test-windows": "echo 'make work on windows'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/conventional-changelog/conventional-changelog.git"
|
||||
},
|
||||
"keywords": [
|
||||
"conventional-changelog",
|
||||
"express",
|
||||
"preset"
|
||||
],
|
||||
"author": "Steve Mao",
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"license": "ISC",
|
||||
"files": [
|
||||
"conventional-changelog.js",
|
||||
"conventional-recommended-bump.js",
|
||||
"index.js",
|
||||
"parser-opts.js",
|
||||
"writer-opts.js",
|
||||
"templates"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/conventional-changelog/conventional-changelog/issues"
|
||||
},
|
||||
"homepage": "https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-express#readme",
|
||||
"dependencies": {
|
||||
"q": "^1.5.1"
|
||||
},
|
||||
"gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca"
|
||||
}
|
||||
9
node_modules/conventional-changelog-express/parser-opts.js
generated
vendored
Normal file
9
node_modules/conventional-changelog-express/parser-opts.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict'
|
||||
|
||||
module.exports = {
|
||||
headerPattern: /^(\w*): (.*)$/,
|
||||
headerCorrespondence: [
|
||||
'component',
|
||||
'shortDesc'
|
||||
]
|
||||
}
|
||||
9
node_modules/conventional-changelog-express/templates/commit.hbs
generated
vendored
Normal file
9
node_modules/conventional-changelog-express/templates/commit.hbs
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
* {{#if shortDesc}}{{shortDesc}}{{else}}{{header}}{{/if}}
|
||||
{{#if body}}
|
||||
|
||||
{{body}}
|
||||
|
||||
{{/if}}
|
||||
{{!-- commit references --}}{{#if references}}
|
||||
Closes{{~#each references}} {{#if @root.linkReferences}}[{{#if this.owner}}{{this.owner}}/{{/if}}{{this.repository}}#{{this.issue}}]({{#if @root.host}}{{@root.host}}/{{/if}}{{#if this.repository}}{{#if this.owner}}{{this.owner}}/{{/if}}{{this.repository}}{{else}}{{#if @root.owner}}{{@root.owner}}/{{/if}}{{@root.repository}}{{/if}}/{{@root.issue}}/{{this.issue}}){{else}}{{this.repository}}#{{this.issue}}{{/if}}{{/each}}
|
||||
{{/if}}
|
||||
2
node_modules/conventional-changelog-express/templates/header.hbs
generated
vendored
Normal file
2
node_modules/conventional-changelog-express/templates/header.hbs
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{{#if version}}{{#if @root.linkCompare}}[{{version}}]({{@root.host}}/{{#if @root.owner}}{{@root.owner}}/{{/if}}{{@root.repository}}/compare/{{previousTag}}...{{currentTag}}){{else}}{{version}}{{/if}} / {{/if}}{{date}}
|
||||
===================
|
||||
14
node_modules/conventional-changelog-express/templates/template.hbs
generated
vendored
Normal file
14
node_modules/conventional-changelog-express/templates/template.hbs
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{{> header}}
|
||||
|
||||
{{#each commitGroups}}
|
||||
|
||||
{{#if title}}
|
||||
### {{title}}
|
||||
|
||||
{{/if}}
|
||||
{{#each commits}}
|
||||
{{> commit root=@root}}
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
|
||||
|
||||
39
node_modules/conventional-changelog-express/writer-opts.js
generated
vendored
Normal file
39
node_modules/conventional-changelog-express/writer-opts.js
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
'use strict'
|
||||
|
||||
const Q = require('q')
|
||||
const readFile = Q.denodeify(require('fs').readFile)
|
||||
const resolve = require('path').resolve
|
||||
|
||||
module.exports = Q.all([
|
||||
readFile(resolve(__dirname, './templates/template.hbs'), 'utf-8'),
|
||||
readFile(resolve(__dirname, './templates/header.hbs'), 'utf-8'),
|
||||
readFile(resolve(__dirname, './templates/commit.hbs'), 'utf-8')
|
||||
])
|
||||
.spread((template, header, commit) => {
|
||||
const writerOpts = getWriterOpts()
|
||||
|
||||
writerOpts.mainTemplate = template
|
||||
writerOpts.headerPartial = header
|
||||
writerOpts.commitPartial = commit
|
||||
|
||||
return writerOpts
|
||||
})
|
||||
|
||||
function getWriterOpts () {
|
||||
return {
|
||||
transform: (commit) => {
|
||||
if (commit.component === 'perf') {
|
||||
commit.component = 'Performance'
|
||||
} else if (commit.component === 'deps') {
|
||||
commit.component = 'Dependencies'
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
return commit
|
||||
},
|
||||
groupBy: 'component',
|
||||
commitGroupsSort: 'title',
|
||||
commitsSort: ['component', 'shortDesc']
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue