feat: adding linter for commits
This commit is contained in:
307
node_modules/@commitlint/parse/CHANGELOG.md
generated
vendored
Normal file
307
node_modules/@commitlint/parse/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,307 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [14.0.0](https://github.com/conventional-changelog/commitlint/compare/v13.2.1...v14.0.0) (2021-10-26)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parse:** enforce secure version of `conventional-commits-parser` ([#2776](https://github.com/conventional-changelog/commitlint/issues/2776)) ([a351801](https://github.com/conventional-changelog/commitlint/commit/a3518012ae11bc00a43a12b8ce935f3ffd2d04ef))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24)
|
||||
|
||||
|
||||
* chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596)
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* minimum node version is 12
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [12.1.2](https://github.com/conventional-changelog/commitlint/compare/v12.1.1...v12.1.2) (2021-04-29)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16)
|
||||
|
||||
|
||||
* refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999)
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* remove node 8 from circle-ci checks
|
||||
|
||||
also remove node 13 because we do not support experimental versions
|
||||
|
||||
* docs: update node v10 to latest LTS 10 version
|
||||
|
||||
Co-authored-by: Cedric van Putten <me@bycedric.com>
|
||||
|
||||
Co-authored-by: Cedric van Putten <me@bycedric.com>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* don't merge array properties with custom opts ([#616](https://github.com/conventional-changelog/commitlint/issues/616)) ([f321647](https://github.com/conventional-changelog/commitlint/commit/f321647)), closes [#594](https://github.com/conventional-changelog/commitlint/issues/594)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.5.0"></a>
|
||||
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* mark optional parameter with undefined ([#553](https://github.com/conventional-changelog/commitlint/issues/553)) ([6720284](https://github.com/conventional-changelog/commitlint/commit/6720284))
|
||||
* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.3.1"></a>
|
||||
## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
<a name="7.3.0"></a>
|
||||
# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* fall back to conventional commit-parser settings for missing keys ([#496](https://github.com/conventional-changelog/commitlint/issues/496)) ([831a141](https://github.com/conventional-changelog/commitlint/commit/831a141)), closes [#399](https://github.com/conventional-changelog/commitlint/issues/399)
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.1.2"></a>
|
||||
## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
<a name="6.1.1"></a>
|
||||
## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
<a name="6.1.0"></a>
|
||||
# [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parse:** default to angular preset for empty parserOpts ([#265](https://github.com/conventional-changelog/commitlint/issues/265)) ([ccb03b4](https://github.com/conventional-changelog/commitlint/commit/ccb03b4)), closes [#262](https://github.com/conventional-changelog/commitlint/issues/262)
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="6.0.4"></a>
|
||||
## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
<a name="6.0.3"></a>
|
||||
## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
<a name="6.0.2"></a>
|
||||
## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
||||
|
||||
<a name="6.0.0"></a>
|
||||
# [6.0.0](https://github.com/conventional-changelog/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/parse
|
29
node_modules/@commitlint/parse/README.md
generated
vendored
Normal file
29
node_modules/@commitlint/parse/README.md
generated
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
> Parse commit messages to structured data
|
||||
|
||||
# @commitlint/parse
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
npm install --save @commitlint/parse
|
||||
```
|
||||
|
||||
## Use
|
||||
|
||||
```js
|
||||
const parse = require('@commitlint/parse');
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### parse(message: string, parser: Function, parserOpts: Object)
|
||||
|
||||
- **message**: Commit message to parser
|
||||
- **parser**: Sync parser function to use. Defaults to `sync` of `conventional-commits-parser`
|
||||
- **parserOpts**: Options to pass to `parser`
|
||||
```
|
||||
{
|
||||
commentChar: null, // character indicating comment lines
|
||||
issuePrefixes: ['#'] // prefix characters for issue references
|
||||
}
|
||||
```
|
3
node_modules/@commitlint/parse/lib/index.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/parse/lib/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { Commit, Parser, ParserOptions } from '@commitlint/types';
|
||||
export default function parse(message: string, parser?: Parser, parserOpts?: ParserOptions): Promise<Commit>;
|
||||
//# sourceMappingURL=index.d.ts.map
|
1
node_modules/@commitlint/parse/lib/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/parse/lib/index.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAKhE,wBAA8B,KAAK,CAClC,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,MAAa,EACrB,UAAU,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,MAAM,CAAC,CASjB"}
|
13
node_modules/@commitlint/parse/lib/index.js
generated
vendored
Normal file
13
node_modules/@commitlint/parse/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const { sync } = require('conventional-commits-parser');
|
||||
const defaultChangelogOpts = require('conventional-changelog-angular');
|
||||
async function parse(message, parser = sync, parserOpts) {
|
||||
const defaultOpts = (await defaultChangelogOpts).parserOpts;
|
||||
const opts = Object.assign(Object.assign({}, defaultOpts), (parserOpts || {}));
|
||||
const parsed = parser(message, opts);
|
||||
parsed.raw = message;
|
||||
return parsed;
|
||||
}
|
||||
exports.default = parse;
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@commitlint/parse/lib/index.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/parse/lib/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAEA,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AACtD,MAAM,oBAAoB,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAExD,KAAK,UAAU,KAAK,CAClC,OAAe,EACf,SAAiB,IAAI,EACrB,UAA0B;IAE1B,MAAM,WAAW,GAAG,CAAC,MAAM,oBAAoB,CAAC,CAAC,UAAU,CAAC;IAC5D,MAAM,IAAI,mCACN,WAAW,GACX,CAAC,UAAU,IAAI,EAAE,CAAC,CACrB,CAAC;IACF,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,EAAE,IAAI,CAAW,CAAC;IAC/C,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC;IACrB,OAAO,MAAM,CAAC;AACf,CAAC;AAbD,wBAaC"}
|
21
node_modules/@commitlint/parse/license.md
generated
vendored
Normal file
21
node_modules/@commitlint/parse/license.md
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 - present Mario Nebl
|
||||
|
||||
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.
|
47
node_modules/@commitlint/parse/package.json
generated
vendored
Normal file
47
node_modules/@commitlint/parse/package.json
generated
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "@commitlint/parse",
|
||||
"version": "15.0.0",
|
||||
"description": "Lint your commit messages",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"files": [
|
||||
"lib/"
|
||||
],
|
||||
"scripts": {
|
||||
"deps": "dep-check",
|
||||
"pkg": "pkg-check"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=v12"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/conventional-changelog/commitlint.git",
|
||||
"directory": "@commitlint/parse"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/conventional-changelog/commitlint/issues"
|
||||
},
|
||||
"homepage": "https://commitlint.js.org/",
|
||||
"keywords": [
|
||||
"conventional-changelog",
|
||||
"commitlint",
|
||||
"library",
|
||||
"core"
|
||||
],
|
||||
"author": {
|
||||
"name": "Mario Nebl",
|
||||
"email": "hello@herebecode.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@commitlint/test": "^15.0.0",
|
||||
"@commitlint/utils": "^15.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@commitlint/types": "^15.0.0",
|
||||
"conventional-changelog-angular": "^5.0.11",
|
||||
"conventional-commits-parser": "^3.2.2"
|
||||
},
|
||||
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
|
||||
}
|
Reference in New Issue
Block a user