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
249
node_modules/conventional-changelog-ember/CHANGELOG.md
generated
vendored
Normal file
249
node_modules/conventional-changelog-ember/CHANGELOG.md
generated
vendored
Normal file
|
|
@ -0,0 +1,249 @@
|
|||
# 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.9](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@2.0.8...conventional-changelog-ember@2.0.9) (2020-11-05)
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.0.8](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@2.0.4...conventional-changelog-ember@2.0.8) (2020-05-08)
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.0.3](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@2.0.2...conventional-changelog-ember@2.0.3) (2019-10-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* use full commit hash in commit link ([7a60dec](https://github.com/conventional-changelog/conventional-changelog/commit/7a60dec)), closes [#476](https://github.com/conventional-changelog/conventional-changelog/issues/476)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.0.2](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@2.0.1...conventional-changelog-ember@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-ember@2.0.0...conventional-changelog-ember@2.0.1) (2018-08-21)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="2.0.0"></a>
|
||||
# [2.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@1.0.0...conventional-changelog-ember@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-ember@0.3.12...conventional-changelog-ember@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))
|
||||
|
||||
|
||||
### Code Refactoring
|
||||
|
||||
* remove anchor from header templates ([#301](https://github.com/conventional-changelog/conventional-changelog/issues/301)) ([346f24f](https://github.com/conventional-changelog/conventional-changelog/commit/346f24f)), closes [#186](https://github.com/conventional-changelog/conventional-changelog/issues/186)
|
||||
|
||||
|
||||
### 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).
|
||||
* Anchor tags are removed from the changelog header templates. The
|
||||
rendered Markdown will no longer contain anchor tags proceeding the
|
||||
version number header that constitutes the changelog header. This means
|
||||
that consumers of rendered markdown will not be able to use a URL that
|
||||
has been constructed to contain a version number anchor tag reference,
|
||||
since the anchor tag won't exist in the rendered markdown.
|
||||
|
||||
It's stronly recomended consumers use the full URL path to the release
|
||||
page for a given version, as that URL is a permalink to that verison,
|
||||
contains all relavent release information, and does not, otherwise, rely
|
||||
on the anchor tag being excessible from the current page view.
|
||||
|
||||
As an example, for version `2.0.0` of a GitHub project, the following
|
||||
URL should be used:
|
||||
- https://github.com/conventional-changelog/releaser-tools/releases/tag/v2.0.0
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="0.3.12"></a>
|
||||
## [0.3.12](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.11...conventional-changelog-ember@0.3.12) (2018-04-16)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.11"></a>
|
||||
## [0.3.11](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.10...conventional-changelog-ember@0.3.11) (2018-03-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* revert previous change ([2f4530f](https://github.com/conventional-changelog/conventional-changelog/commit/2f4530f))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="0.3.10"></a>
|
||||
## [0.3.10](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.9...conventional-changelog-ember@0.3.10) (2018-03-27)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.9"></a>
|
||||
## [0.3.9](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.8...conventional-changelog-ember@0.3.9) (2018-03-27)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.8"></a>
|
||||
## [0.3.8](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.7...conventional-changelog-ember@0.3.8) (2018-03-27)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.7"></a>
|
||||
## [0.3.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.6...conventional-changelog-ember@0.3.7) (2018-03-22)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.6"></a>
|
||||
## [0.3.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.5...conventional-changelog-ember@0.3.6) (2018-02-24)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.5"></a>
|
||||
## [0.3.5](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-ember@0.3.4...conventional-changelog-ember@0.3.5) (2018-02-20)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.4"></a>
|
||||
## [0.3.4](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.3.3...conventional-changelog-ember@0.3.4) (2018-02-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.3"></a>
|
||||
## [0.3.3](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.3.2...conventional-changelog-ember@0.3.3) (2018-02-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.2"></a>
|
||||
## [0.3.2](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.3.1...conventional-changelog-ember@0.3.2) (2018-02-05)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.1"></a>
|
||||
## [0.3.1](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.3.0...conventional-changelog-ember@0.3.1) (2018-01-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.3.0"></a>
|
||||
# [0.3.0](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.2.10...conventional-changelog-ember@0.3.0) (2017-12-18)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset:** add recommended-bump opts into presets ([60815b5](https://github.com/stevemao/conventional-changelog-ember/commit/60815b5)), closes [#241](https://github.com/stevemao/conventional-changelog-ember/issues/241)
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="0.2.10"></a>
|
||||
## [0.2.10](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.2.9...conventional-changelog-ember@0.2.10) (2017-12-08)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.2.9"></a>
|
||||
## [0.2.9](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.2.8...conventional-changelog-ember@0.2.9) (2017-11-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package conventional-changelog-ember
|
||||
|
||||
<a name="0.2.8"></a>
|
||||
## [0.2.8](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.2.7...conventional-changelog-ember@0.2.8) (2017-10-01)
|
||||
|
||||
<a name="0.2.7"></a>
|
||||
## [0.2.7](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.2.6...conventional-changelog-ember@0.2.7) (2017-09-01)
|
||||
|
||||
<a name="0.2.6"></a>
|
||||
## [0.2.6](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.2.5...conventional-changelog-ember@0.2.6) (2017-07-17)
|
||||
|
||||
<a name="0.2.5"></a>
|
||||
## [0.2.5](https://github.com/stevemao/conventional-changelog-ember/compare/conventional-changelog-ember@0.2.4...conventional-changelog-ember@0.2.5) (2017-03-11)
|
||||
15
node_modules/conventional-changelog-ember/LICENSE.md
generated
vendored
Normal file
15
node_modules/conventional-changelog-ember/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.
|
||||
63
node_modules/conventional-changelog-ember/README.md
generated
vendored
Normal file
63
node_modules/conventional-changelog-ember/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# [![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) [ember](https://github.com/emberjs/ember.js) preset
|
||||
|
||||
**Issues with the convention itself should be reported on the Ember issue tracker.**
|
||||
|
||||
## Ember Convention
|
||||
|
||||
Please use an appropriate commit prefix.
|
||||
If your pull request fixes an issue specify it in the commit message. Some examples:
|
||||
|
||||
```
|
||||
[DOC beta] Update CONTRIBUTING.md for commit prefixes
|
||||
[FEATURE query-params-new] Message
|
||||
[BUGFIX beta] Message
|
||||
[SECURITY CVE-111-1111] Message
|
||||
```
|
||||
|
||||
## Commit Tagging
|
||||
|
||||
All commits should be tagged. Tags are denoted by square brackets (`[]`) and come at the start of the commit message.
|
||||
|
||||
`Tag` should not be confused with git tag.
|
||||
`Message` should not be confused with git commit message.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
In general bug fixes are pulled into the beta branch. As such, the prefix is: `[BUGFIX beta]`. If a bug fix is a serious regression that requires a new patch release, `[BUGFIX release]` can be used instead.
|
||||
|
||||
For bugs related to canary features, follow the prefixing rules for features.
|
||||
|
||||
### Cleanup
|
||||
|
||||
Cleanup commits are for removing deprecated functionality and should be tagged
|
||||
as `[CLEANUP beta]`.
|
||||
|
||||
### Features
|
||||
|
||||
All additions and fixes for features in canary should be tagged as `[FEATURE name]` where name is the same as the flag for that feature.
|
||||
|
||||
### Documentation
|
||||
|
||||
Documentation commits are tagged as `[DOC channel]` where channel is `canary`,
|
||||
`beta`, or `release`. If no release is provided `canary` is assumed. The channel should be the most stable release that this documentation change applies to.
|
||||
|
||||
### Security
|
||||
|
||||
Security commits will be tagged as `[SECURITY cve]`. Please do not submit security related PRs without coordinating with the security team. See the [Security Policy](http://emberjs.com/security/) for more information.
|
||||
|
||||
### Other
|
||||
|
||||
In general almost all commits should fall into one of these categories. In the cases where they don't please submit your PR untagged. An Ember contributor will let you know if tagging is required.
|
||||
|
||||
Based on https://github.com/emberjs/ember.js/blob/master/CONTRIBUTING.md
|
||||
|
||||
[npm-image]: https://badge.fury.io/js/conventional-changelog-ember.svg
|
||||
[npm-url]: https://npmjs.org/package/conventional-changelog-ember
|
||||
[travis-image]: https://travis-ci.org/stevemao/conventional-changelog-ember.svg?branch=master
|
||||
[travis-url]: https://travis-ci.org/stevemao/conventional-changelog-ember
|
||||
[daviddm-image]: https://david-dm.org/stevemao/conventional-changelog-ember.svg?theme=shields.io
|
||||
[daviddm-url]: https://david-dm.org/stevemao/conventional-changelog-ember
|
||||
[coveralls-image]: https://coveralls.io/repos/stevemao/conventional-changelog-ember/badge.svg
|
||||
[coveralls-url]: https://coveralls.io/r/stevemao/conventional-changelog-ember
|
||||
10
node_modules/conventional-changelog-ember/conventional-changelog.js
generated
vendored
Normal file
10
node_modules/conventional-changelog-ember/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-ember/conventional-recommended-bump.js
generated
vendored
Normal file
30
node_modules/conventional-changelog-ember/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-ember/index.js
generated
vendored
Normal file
15
node_modules/conventional-changelog-ember/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, { gitRawCommitsOpts: { noMerges: null }, conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts })
|
||||
})
|
||||
}
|
||||
39
node_modules/conventional-changelog-ember/package.json
generated
vendored
Normal file
39
node_modules/conventional-changelog-ember/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"name": "conventional-changelog-ember",
|
||||
"version": "2.0.9",
|
||||
"description": "conventional-changelog ember preset",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test-windows": "mocha --timeout 30000"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/conventional-changelog/conventional-changelog.git"
|
||||
},
|
||||
"keywords": [
|
||||
"conventional-changelog",
|
||||
"ember",
|
||||
"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-ember#readme",
|
||||
"dependencies": {
|
||||
"q": "^1.5.1"
|
||||
},
|
||||
"gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca"
|
||||
}
|
||||
12
node_modules/conventional-changelog-ember/parser-opts.js
generated
vendored
Normal file
12
node_modules/conventional-changelog-ember/parser-opts.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
'use strict'
|
||||
|
||||
module.exports = {
|
||||
mergePattern: /^Merge pull request #(.*) from .*$/,
|
||||
mergeCorrespondence: ['pr'],
|
||||
headerPattern: /^\[(.*) (.*)] (.*)$/,
|
||||
headerCorrespondence: [
|
||||
'tag',
|
||||
'taggedAs',
|
||||
'message'
|
||||
]
|
||||
}
|
||||
3
node_modules/conventional-changelog-ember/templates/commit.hbs
generated
vendored
Normal file
3
node_modules/conventional-changelog-ember/templates/commit.hbs
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{{!-- pr reference --}}- {{#if pr}}[{{pr}}]({{#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}}/pull/{{pr}}){{/if}}
|
||||
|
||||
{{~!-- message --}} **{{taggedAs}}** {{message}}
|
||||
1
node_modules/conventional-changelog-ember/templates/header.hbs
generated
vendored
Normal file
1
node_modules/conventional-changelog-ember/templates/header.hbs
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{#if isPatch}}##{{else}}#{{/if}} {{#if @root.linkCompare}}[{{version}}]({{@root.host}}/{{#if @root.owner}}{{@root.owner}}/{{/if}}{{@root.repository}}/compare/{{previousTag}}...{{currentTag}}){{else}}{{version}}{{/if}}{{#if title}} "{{title}}"{{/if}}{{#if date}} ({{date}}){{/if}}
|
||||
15
node_modules/conventional-changelog-ember/templates/template.hbs
generated
vendored
Normal file
15
node_modules/conventional-changelog-ember/templates/template.hbs
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{> header}}
|
||||
|
||||
{{#each commitGroups}}
|
||||
|
||||
{{#if title}}
|
||||
### {{title}}
|
||||
|
||||
{{/if}}
|
||||
{{#each commits}}
|
||||
{{> commit root=@root}}
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
|
||||
|
||||
|
||||
53
node_modules/conventional-changelog-ember/writer-opts.js
generated
vendored
Normal file
53
node_modules/conventional-changelog-ember/writer-opts.js
generated
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
'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.pr) {
|
||||
return
|
||||
}
|
||||
|
||||
if (commit.tag === 'BUGFIX') {
|
||||
commit.tag = 'Bug Fixes'
|
||||
} else if (commit.tag === 'CLEANUP') {
|
||||
commit.tag = 'Cleanup'
|
||||
} else if (commit.tag === 'FEATURE') {
|
||||
commit.tag = 'Features'
|
||||
} else if (commit.tag === 'DOC') {
|
||||
commit.tag = 'Documentation'
|
||||
} else if (commit.tag === 'SECURITY') {
|
||||
commit.tag = 'Security'
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
if (typeof commit.hash === 'string') {
|
||||
commit.shortHash = commit.hash.substring(0, 7)
|
||||
}
|
||||
|
||||
return commit
|
||||
},
|
||||
groupBy: 'tag',
|
||||
commitGroupsSort: 'title',
|
||||
commitsSort: ['tag', 'taggedAs', 'message']
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue