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
183
node_modules/conventional-changelog-preset-loader/CHANGELOG.md
generated
vendored
Normal file
183
node_modules/conventional-changelog-preset-loader/CHANGELOG.md
generated
vendored
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [2.3.4](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@2.3.0...conventional-changelog-preset-loader@2.3.4) (2020-05-08)
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.3.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@2.2.0...conventional-changelog-preset-loader@2.3.0) (2019-10-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **preset-loader:** fix handling conventionalcommits preset without config object ([6425972](https://github.com/conventional-changelog/conventional-changelog/commit/64259723085eaa21a281391acb9fc0704319c8b3)), closes [#512](https://github.com/conventional-changelog/conventional-changelog/issues/512)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-loader:** allow use of absolute package path ([#530](https://github.com/conventional-changelog/conventional-changelog/issues/530)) ([84d28b2](https://github.com/conventional-changelog/conventional-changelog/commit/84d28b285f787e9b1252aadf55f07a358635a5a6))
|
||||
|
||||
|
||||
### Reverts
|
||||
|
||||
* "fix(preset-loader): fix handling conventionalcommits preset without config object" ([#520](https://github.com/conventional-changelog/conventional-changelog/issues/520)) ([417139c](https://github.com/conventional-changelog/conventional-changelog/commit/417139cbdae13d76ba325a8505534419325102a6))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.2.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@2.1.1...conventional-changelog-preset-loader@2.2.0) (2019-07-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-loader:** allow use of full package names ([#481](https://github.com/conventional-changelog/conventional-changelog/issues/481)) ([03cb95c](https://github.com/conventional-changelog/conventional-changelog/commit/03cb95c))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.1.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@2.1.0...conventional-changelog-preset-loader@2.1.1) (2019-04-11)
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.1.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@2.0.2...conventional-changelog-preset-loader@2.1.0) (2019-04-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* conventionalcommits preset, preMajor config option ([#434](https://github.com/conventional-changelog/conventional-changelog/issues/434)) ([dde12fe](https://github.com/conventional-changelog/conventional-changelog/commit/dde12fe))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.0.2](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@2.0.1...conventional-changelog-preset-loader@2.0.2) (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.1"></a>
|
||||
## [2.0.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@2.0.0...conventional-changelog-preset-loader@2.0.1) (2018-08-21)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="2.0.0"></a>
|
||||
# [2.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.8...conventional-changelog-preset-loader@2.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="1.1.8"></a>
|
||||
## [1.1.8](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.7...conventional-changelog-preset-loader@1.1.8) (2018-03-27)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="1.1.7"></a>
|
||||
## [1.1.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.6...conventional-changelog-preset-loader@1.1.7) (2018-03-22)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="1.1.6"></a>
|
||||
## [1.1.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.5...conventional-changelog-preset-loader@1.1.6) (2018-02-24)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="1.1.5"></a>
|
||||
## [1.1.5](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.4...conventional-changelog-preset-loader@1.1.5) (2018-02-20)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="1.1.4"></a>
|
||||
## [1.1.4](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.3...conventional-changelog-preset-loader@1.1.4) (2018-02-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="1.1.3"></a>
|
||||
## [1.1.3](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.2...conventional-changelog-preset-loader@1.1.3) (2018-02-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="1.1.2"></a>
|
||||
## [1.1.2](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.1...conventional-changelog-preset-loader@1.1.2) (2018-02-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **preset-loader:** don't namespace exported function ([#278](https://github.com/conventional-changelog/conventional-changelog/issues/278)) ([89880cb](https://github.com/conventional-changelog/conventional-changelog/commit/89880cb))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="1.1.1"></a>
|
||||
## [1.1.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-preset-loader@1.1.0...conventional-changelog-preset-loader@1.1.1) (2018-02-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-preset-loader
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# 1.1.0 (2018-02-08)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-loader:** new package for loading preset packages ([6f5cb10](https://github.com/conventional-changelog/conventional-changelog/commit/6f5cb10))
|
||||
|
||||
|
||||
|
||||
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
21
node_modules/conventional-changelog-preset-loader/LICENSE.md
generated
vendored
Normal file
21
node_modules/conventional-changelog-preset-loader/LICENSE.md
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
### MIT License
|
||||
|
||||
Copyright © [conventional-changelog team](https://github.com/conventional-changelog)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
41
node_modules/conventional-changelog-preset-loader/README.md
generated
vendored
Normal file
41
node_modules/conventional-changelog-preset-loader/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# [![NPM version][npm-image]][npm-url] [![Build Status: Linux][travis-image]][travis-url] [![Build Status: Windows][appveyor-image]][appveyor-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]
|
||||
|
||||
> Configuration preset loader for `conventional-changelog`.
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
$ npm install --save conventional-changelog-preset-loader
|
||||
```
|
||||
|
||||
```js
|
||||
var conventionalChangelogPresetLoader = require('conventional-changelog-preset-loader');
|
||||
|
||||
configuration = conventionalChangelogPresetLoader(`angular`);
|
||||
```
|
||||
|
||||
|
||||
The string that is passed to the preset loader is manipulated by prepending `conventional-changelog` to the name.
|
||||
|
||||
For example:
|
||||
* `angular` => `conventional-changelog-angular`
|
||||
* `angular/preset/path` => `conventional-changelog-angular/preset/path`
|
||||
* `@scope/angular` => `@scope/conventional-changelog-angular`
|
||||
* `@scope/angular/preset/path` => `@scope/conventional-changelog-angular/preset/path`
|
||||
|
||||
Will return whatever is exported by the preset package. That may be a configuration object, a function, or a promise.
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Steve Mao](https://github.com/stevemao)
|
||||
|
||||
[npm-image]: https://badge.fury.io/js/conventional-changelog-preset-loader.svg
|
||||
[npm-url]: https://npmjs.org/package/conventional-changelog-preset-loader
|
||||
[travis-image]: https://travis-ci.org/conventional-changelog/conventional-changelog-preset-loader.svg?branch=master
|
||||
[travis-url]: https://travis-ci.org/conventional-changelog/conventional-changelog-preset-loader
|
||||
[appveyor-image]: https://ci.appveyor.com/api/projects/status/baoumm34w8c5o0hv/branch/master?svg=true
|
||||
[appveyor-url]: https://ci.appveyor.com/project/stevemao/conventional-changelog-preset-loader/branch/master
|
||||
[daviddm-image]: https://david-dm.org/conventional-changelog/conventional-changelog-preset-loader.svg?theme=shields.io
|
||||
[daviddm-url]: https://david-dm.org/conventional-changelog/conventional-changelog-preset-loader
|
||||
[coveralls-image]: https://coveralls.io/repos/conventional-changelog/conventional-changelog-preset-loader/badge.svg
|
||||
[coveralls-url]: https://coveralls.io/r/conventional-changelog/conventional-changelog-preset-loader
|
||||
59
node_modules/conventional-changelog-preset-loader/index.js
generated
vendored
Normal file
59
node_modules/conventional-changelog-preset-loader/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
'use strict'
|
||||
|
||||
const nodePath = require('path')
|
||||
|
||||
module.exports = presetLoader(require)
|
||||
module.exports.presetLoader = presetLoader
|
||||
|
||||
function presetLoader (requireMethod) {
|
||||
return path => {
|
||||
let name = ''
|
||||
let scope = ''
|
||||
let absolutePath = ''
|
||||
|
||||
if (typeof path === 'string') {
|
||||
name = path.toLowerCase()
|
||||
if (nodePath.isAbsolute(path)) {
|
||||
absolutePath = path
|
||||
}
|
||||
} else if (typeof path === 'object' && path.name) {
|
||||
// Rather than a string preset name, options.preset can be an object
|
||||
// with a "name" key indicating the preset to load; additinoal key/value
|
||||
// pairs are assumed to be configuration for the preset. See the documentation
|
||||
// for a given preset for configuration available.
|
||||
name = path.name.toLowerCase()
|
||||
if (nodePath.isAbsolute(path.name)) {
|
||||
absolutePath = path.name
|
||||
}
|
||||
} else {
|
||||
throw Error('preset must be string or object with key name')
|
||||
}
|
||||
|
||||
if (!absolutePath) {
|
||||
if (name[0] === '@') {
|
||||
const parts = name.split('/')
|
||||
scope = parts.shift() + '/'
|
||||
name = parts.join('/')
|
||||
}
|
||||
|
||||
if (!name.startsWith('conventional-changelog-')) {
|
||||
name = `conventional-changelog-${name}`
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
const config = requireMethod(absolutePath || `${scope}${name}`)
|
||||
// rather than returning a promise, presets can return a builder function
|
||||
// which accepts a config object (allowing for customization) and returns
|
||||
// a promise.
|
||||
if (config && !config.then && typeof path === 'object') {
|
||||
return config(path)
|
||||
} else {
|
||||
// require returned a promise that resolves to a config object.
|
||||
return config
|
||||
}
|
||||
} catch (_) {
|
||||
throw Error('does not exist')
|
||||
}
|
||||
}
|
||||
}
|
||||
32
node_modules/conventional-changelog-preset-loader/package.json
generated
vendored
Normal file
32
node_modules/conventional-changelog-preset-loader/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "conventional-changelog-preset-loader",
|
||||
"version": "2.3.4",
|
||||
"description": "Configuration preset loader for `conventional-changelog`.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/conventional-changelog/conventional-changelog.git"
|
||||
},
|
||||
"keywords": [
|
||||
"conventional-changelog",
|
||||
"preset",
|
||||
"loader"
|
||||
],
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/conventional-changelog/conventional-changelog/issues"
|
||||
},
|
||||
"homepage": "https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-preset-loader#readme",
|
||||
"scripts": {
|
||||
"test-windows": "mocha --timeout 30000"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sinon": "^9.0.2"
|
||||
},
|
||||
"gitHead": "83643c5a0d2c4d7c9ba14cbf990ffbc577a51e8c"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue