feat: adding linter for commits
This commit is contained in:
887
node_modules/@commitlint/cli/CHANGELOG.md
generated
vendored
Normal file
887
node_modules/@commitlint/cli/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,887 @@
|
||||
# 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)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* simplify config resolution ([#2398](https://github.com/conventional-changelog/commitlint/issues/2398)) ([8a8384f](https://github.com/conventional-changelog/commitlint/commit/8a8384f3c18954447cb633e76a573e1db71a1440)), closes [#327](https://github.com/conventional-changelog/commitlint/issues/327)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [14.1.0](https://github.com/conventional-changelog/commitlint/compare/v14.0.0...v14.1.0) (2021-11-01)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [13.2.1](https://github.com/conventional-changelog/commitlint/compare/v13.2.0...v13.2.1) (2021-10-09)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove hard coded comment char with linting `COMMIT_EDIT_MSG` ([#2618](https://github.com/conventional-changelog/commitlint/issues/2618)) ([5badf6d](https://github.com/conventional-changelog/commitlint/commit/5badf6dc08116ed3557e6c780e55764b4f07ca67)), closes [#2351](https://github.com/conventional-changelog/commitlint/issues/2351)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency fs-extra to v10 ([#2575](https://github.com/conventional-changelog/commitlint/issues/2575)) ([d47d2b5](https://github.com/conventional-changelog/commitlint/commit/d47d2b595b980adadd4fb8ff198c1914caeff18f))
|
||||
* update dependency yargs to v17 ([#2574](https://github.com/conventional-changelog/commitlint/issues/2574)) ([81c38dd](https://github.com/conventional-changelog/commitlint/commit/81c38ddf15f239b525f673b26b2ee6606f2ee8f6))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency execa to v5 ([#2341](https://github.com/conventional-changelog/commitlint/issues/2341)) ([f349df9](https://github.com/conventional-changelog/commitlint/commit/f349df90f08096a9bcad46b5e55b411aac327a24))
|
||||
* update dependency yargs to v16 ([204f36d](https://github.com/conventional-changelog/commitlint/commit/204f36d0a522afaf3a88739b401aea15ffa0b891))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **cli:** implement print-config cli flag ([#2391](https://github.com/conventional-changelog/commitlint/issues/2391)) ([8626883](https://github.com/conventional-changelog/commitlint/commit/86268833946dea9dcf1c15459456cd4427d17835))
|
||||
* **load:** allow specifying helpUrl via config ([#2180](https://github.com/conventional-changelog/commitlint/issues/2180)) ([d6795a3](https://github.com/conventional-changelog/commitlint/commit/d6795a3c4633ba6efd7a0fcff48339dc291cd832))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove default value from edit option [#2065](https://github.com/conventional-changelog/commitlint/issues/2065) ([3d4116d](https://github.com/conventional-changelog/commitlint/commit/3d4116d044a2f5149a9c9c1d9fa35abf5e232479))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency execa to v4 ([#1936](https://github.com/conventional-changelog/commitlint/issues/1936)) ([8efb441](https://github.com/conventional-changelog/commitlint/commit/8efb44193058d286f7325327a6d33936b273ec91))
|
||||
* update dependency fs-extra to v9 ([#1018](https://github.com/conventional-changelog/commitlint/issues/1018)) ([2df49fa](https://github.com/conventional-changelog/commitlint/commit/2df49fac907993ae78199a1012e918b0e2ff5621))
|
||||
* update dependency get-stdin to v8 ([#1938](https://github.com/conventional-changelog/commitlint/issues/1938)) ([f94a5c8](https://github.com/conventional-changelog/commitlint/commit/f94a5c82861523aa1cf407ffe062f99ecbbfb4e4))
|
||||
|
||||
|
||||
* 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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27))
|
||||
* update dependency regenerator-runtime to v0.13.5 ([#1017](https://github.com/conventional-changelog/commitlint/issues/1017)) ([9c4fdf1](https://github.com/conventional-changelog/commitlint/commit/9c4fdf1b5f42677422532dad655af9aed9b43881))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* add missing @babel/runtime dep [#1738](https://github.com/conventional-changelog/commitlint/issues/1738) ([#1754](https://github.com/conventional-changelog/commitlint/issues/1754)) ([09afcd6](https://github.com/conventional-changelog/commitlint/commit/09afcd647a2c1d00538cf1c970e3790d936111f8))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** add missing regenerator-runtime to dependencies ([#919](https://github.com/conventional-changelog/commitlint/issues/919)) ([ee5eac9](https://github.com/conventional-changelog/commitlint/commit/ee5eac98fa97ba5ba17030c8d2705aee5c7f3a3a))
|
||||
* [#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.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **cli:** add helpurl flag ([#789](https://github.com/conventional-changelog/commitlint/issues/789)) ([75cef4e](https://github.com/conventional-changelog/commitlint/commit/75cef4e))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* pass defaultIgnores from configuration in @commitlint/cli ([#771](https://github.com/conventional-changelog/commitlint/issues/771)) ([a259014](https://github.com/conventional-changelog/commitlint/commit/a259014))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* pass ignores from configuration in @commitlint/cli ([#668](https://github.com/conventional-changelog/commitlint/issues/668)) ([da99aaa](https://github.com/conventional-changelog/commitlint/commit/da99aaa))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* avoid excessive help text [#606](https://github.com/conventional-changelog/commitlint/issues/606) ([#637](https://github.com/conventional-changelog/commitlint/issues/637)) ([8f3c3b1](https://github.com/conventional-changelog/commitlint/commit/8f3c3b1))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* adds support for plugins ([#228](https://github.com/conventional-changelog/commitlint/issues/228)) ([#588](https://github.com/conventional-changelog/commitlint/issues/588)) ([cea4564](https://github.com/conventional-changelog/commitlint/commit/cea4564))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** replace old links with new organisation links ([#578](https://github.com/conventional-changelog/commitlint/issues/578)) ([4075903](https://github.com/conventional-changelog/commitlint/commit/4075903))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.5.1](https://github.com/conventional-changelog/commitlint/compare/v7.5.0...v7.5.1) (2019-02-09)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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
|
||||
|
||||
* **cli:** avoid linebreak in empty input ([#523](https://github.com/conventional-changelog/commitlint/issues/523)) ([3141882](https://github.com/conventional-changelog/commitlint/commit/3141882))
|
||||
* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a))
|
||||
* cleanup message for input with no config ([#519](https://github.com/conventional-changelog/commitlint/issues/519)) ([7d9e760](https://github.com/conventional-changelog/commitlint/commit/7d9e760))
|
||||
* 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))
|
||||
* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.4.0"></a>
|
||||
# [7.4.0](https://github.com/conventional-changelog/commitlint/compare/v7.3.2...v7.4.0) (2019-01-27)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="7.3.2"></a>
|
||||
## [7.3.2](https://github.com/conventional-changelog/commitlint/compare/v7.3.1...v7.3.2) (2019-01-15)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<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/cli
|
||||
|
||||
<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
|
||||
|
||||
* add fallback with husky git params to deprecation handling ([#498](https://github.com/conventional-changelog/commitlint/issues/498)) ([5a34b8c](https://github.com/conventional-changelog/commitlint/commit/5a34b8c))
|
||||
* avoid truncated output on macOS ([#503](https://github.com/conventional-changelog/commitlint/issues/503)) ([3192368](https://github.com/conventional-changelog/commitlint/commit/3192368))
|
||||
* respect String.protoype.repeat API contract ([f27e7ac](https://github.com/conventional-changelog/commitlint/commit/f27e7ac))
|
||||
* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b))
|
||||
* use correct label for failing empty subjects ([#481](https://github.com/conventional-changelog/commitlint/issues/481)) ([2e7e34d](https://github.com/conventional-changelog/commitlint/commit/2e7e34d)), closes [#476](https://github.com/conventional-changelog/commitlint/issues/476)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* check stage before entering prompt ([#495](https://github.com/conventional-changelog/commitlint/issues/495)) ([3b3667a](https://github.com/conventional-changelog/commitlint/commit/3b3667a)), closes [#51](https://github.com/conventional-changelog/commitlint/issues/51) [#51](https://github.com/conventional-changelog/commitlint/issues/51)
|
||||
* warn on empty config ([#491](https://github.com/conventional-changelog/commitlint/issues/491)) ([b6bd36e](https://github.com/conventional-changelog/commitlint/commit/b6bd36e)), closes [#107](https://github.com/conventional-changelog/commitlint/issues/107) [#107](https://github.com/conventional-changelog/commitlint/issues/107)
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.2.1"></a>
|
||||
## [7.2.1](https://github.com/conventional-changelog/commitlint/compare/v7.2.0...v7.2.1) (2018-10-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* improve format module resolving ([#464](https://github.com/conventional-changelog/commitlint/issues/464)) ([baed8b1](https://github.com/conventional-changelog/commitlint/commit/baed8b1))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.2.0"></a>
|
||||
# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **cli:** add format option for report output ([1ecf097](https://github.com/conventional-changelog/commitlint/commit/1ecf097))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/cli
|
||||
|
||||
<a name="7.1.0"></a>
|
||||
# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="6.2.0"></a>
|
||||
# [6.2.0](https://github.com/conventional-changelog/commitlint/compare/v6.1.3...v6.2.0) (2018-05-01)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* print commit message when the message is invalid ([86c34f1](https://github.com/conventional-changelog/commitlint/commit/86c34f1)), closes [#222](https://github.com/conventional-changelog/commitlint/issues/222)
|
||||
|
||||
|
||||
|
||||
|
||||
<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/cli
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add "--config" option ([#261](https://github.com/conventional-changelog/commitlint/issues/261)) ([2c03ec6](https://github.com/conventional-changelog/commitlint/commit/2c03ec6))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="6.0.5"></a>
|
||||
## [6.0.5](https://github.com/conventional-changelog/commitlint/compare/v6.0.4...v6.0.5) (2018-01-31)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<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/cli
|
||||
|
||||
<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/cli
|
||||
|
||||
<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/cli
|
||||
|
||||
<a name="6.0.1"></a>
|
||||
## [6.0.1](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.1) (2018-01-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* correctly resolve parserOpts [#115](https://github.com/conventional-changelog/commitlint/issues/115) [#95](https://github.com/conventional-changelog/commitlint/issues/95) ([1353dd5](https://github.com/conventional-changelog/commitlint/commit/1353dd5))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="5.2.6"></a>
|
||||
## [5.2.6](https://github.com/conventional-changelog/commitlint/compare/v5.2.5...v5.2.6) (2017-12-21)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="5.2.5"></a>
|
||||
## [5.2.5](https://github.com/conventional-changelog/commitlint/compare/v5.2.4...v5.2.5) (2017-12-08)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="5.2.4"></a>
|
||||
## [5.2.4](https://github.com/conventional-changelog/commitlint/compare/v5.2.3...v5.2.4) (2017-12-08)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="5.2.3"></a>
|
||||
## [5.2.3](https://github.com/conventional-changelog/commitlint/compare/v5.2.2...v5.2.3) (2017-12-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** add support for GIT_PARAMS on windows ([c62bd41](https://github.com/conventional-changelog/commitlint/commit/c62bd41)), closes [#103](https://github.com/conventional-changelog/commitlint/issues/103) [#175](https://github.com/conventional-changelog/commitlint/issues/175)
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="5.2.0"></a>
|
||||
# [5.2.0](https://github.com/conventional-changelog/commitlint/compare/v5.1.3...v5.2.0) (2017-11-30)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="5.1.1"></a>
|
||||
## [5.1.1](https://github.com/conventional-changelog/commitlint/compare/v5.1.0...v5.1.1) (2017-11-24)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="5.1.0"></a>
|
||||
# [5.1.0](https://github.com/conventional-changelog/commitlint/compare/v5.0.2...v5.1.0) (2017-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency concurrently to v3.5.1 ([#147](https://github.com/conventional-changelog/commitlint/issues/147)) ([a809d0f](https://github.com/conventional-changelog/commitlint/commit/a809d0f))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **travis-cli:** add reusable travis command line interface ([3e6e6a8](https://github.com/conventional-changelog/commitlint/commit/3e6e6a8))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="5.0.1"></a>
|
||||
## [5.0.1](https://github.com/conventional-changelog/commitlint/compare/v5.0.0...v5.0.1) (2017-11-19)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="4.3.0"></a>
|
||||
# [4.3.0](https://github.com/conventional-changelog/commitlint/compare/v4.2.2...v4.3.0) (2017-11-08)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="4.2.2"></a>
|
||||
## [4.2.2](https://github.com/conventional-changelog/commitlint/compare/v4.2.1...v4.2.2) (2017-10-26)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="4.2.1"></a>
|
||||
## [4.2.1](https://github.com/conventional-changelog/commitlint/compare/v4.2.0...v4.2.1) (2017-10-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* nicer error messages ([#93](https://github.com/conventional-changelog/commitlint/issues/93)) ([dcfad61](https://github.com/conventional-changelog/commitlint/commit/dcfad61))
|
||||
* **core:** consider config outside of current git repo ([f7234b6](https://github.com/conventional-changelog/commitlint/commit/f7234b6))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="4.2.0"></a>
|
||||
# [4.2.0](https://github.com/conventional-changelog/commitlint/compare/v4.1.1...v4.2.0) (2017-10-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* edit flag now accepts the path to the commit file ([c881433](https://github.com/conventional-changelog/commitlint/commit/c881433)), closes [#40](https://github.com/conventional-changelog/commitlint/issues/40)
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="4.1.1"></a>
|
||||
## [4.1.1](https://github.com/conventional-changelog/commitlint/compare/v4.1.0...v4.1.1) (2017-10-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="4.1.0"></a>
|
||||
# [4.1.0](https://github.com/conventional-changelog/commitlint/compare/v4.0.0...v4.1.0) (2017-10-05)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/cli
|
||||
|
||||
<a name="4.0.0"></a>
|
||||
# [4.0.0](https://github.com/conventional-changelog/commitlint/compare/v3.2.0...v4.0.0) (2017-10-04)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* enable alternative config formats ([#83](https://github.com/conventional-changelog/commitlint/issues/83)) ([91968b8](https://github.com/conventional-changelog/commitlint/commit/91968b8)), closes [#73](https://github.com/conventional-changelog/commitlint/issues/73)
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* discontinue support of conventional-changelog-lintrc
|
||||
|
||||
* test: make git setup reliable
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.2.0"></a>
|
||||
# 3.2.0 (2017-09-05)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add preset parser ([5cd2335](https://github.com/conventional-changelog/commitlint/commit/5cd2335))
|
||||
|
||||
|
||||
|
||||
<a name="3.1.3"></a>
|
||||
## 3.1.3 (2017-08-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** determine git root correctly in sub directories ([#64](https://github.com/conventional-changelog/commitlint/issues/64)) ([d594ec4](https://github.com/conventional-changelog/commitlint/commit/d594ec4)), closes [#62](https://github.com/conventional-changelog/commitlint/issues/62)
|
||||
|
||||
|
||||
|
||||
<a name="3.1.2"></a>
|
||||
## 3.1.2 (2017-08-07)
|
||||
|
||||
|
||||
|
||||
<a name="3.1.1"></a>
|
||||
## 3.1.1 (2017-08-07)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.4"></a>
|
||||
## 3.0.4 (2017-08-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26))
|
||||
|
||||
|
||||
|
||||
<a name="3.0.3"></a>
|
||||
## 3.0.3 (2017-07-16)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.2"></a>
|
||||
## 3.0.2 (2017-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff))
|
||||
* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.1.3"></a>
|
||||
## 3.1.3 (2017-08-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** determine git root correctly in sub directories ([#64](https://github.com/conventional-changelog/commitlint/issues/64)) ([d594ec4](https://github.com/conventional-changelog/commitlint/commit/d594ec4)), closes [#62](https://github.com/conventional-changelog/commitlint/issues/62)
|
||||
|
||||
|
||||
|
||||
<a name="3.1.2"></a>
|
||||
## 3.1.2 (2017-08-07)
|
||||
|
||||
|
||||
|
||||
<a name="3.1.1"></a>
|
||||
## 3.1.1 (2017-08-07)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.4"></a>
|
||||
## 3.0.4 (2017-08-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26))
|
||||
|
||||
|
||||
|
||||
<a name="3.0.3"></a>
|
||||
## 3.0.3 (2017-07-16)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.2"></a>
|
||||
## 3.0.2 (2017-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff))
|
||||
* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.1.2"></a>
|
||||
## 3.1.2 (2017-08-07)
|
||||
|
||||
|
||||
|
||||
<a name="3.1.1"></a>
|
||||
## 3.1.1 (2017-08-07)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.4"></a>
|
||||
## 3.0.4 (2017-08-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26))
|
||||
|
||||
|
||||
|
||||
<a name="3.0.3"></a>
|
||||
## 3.0.3 (2017-07-16)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.2"></a>
|
||||
## 3.0.2 (2017-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff))
|
||||
* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.0.4"></a>
|
||||
## 3.0.4 (2017-08-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26))
|
||||
|
||||
|
||||
|
||||
<a name="3.0.3"></a>
|
||||
## 3.0.3 (2017-07-16)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.2"></a>
|
||||
## 3.0.2 (2017-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff))
|
||||
* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.0.3"></a>
|
||||
## 3.0.3 (2017-07-16)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.2"></a>
|
||||
## 3.0.2 (2017-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff))
|
||||
* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.0.2"></a>
|
||||
## 3.0.2 (2017-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff))
|
||||
* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.0.1"></a>
|
||||
## 3.0.1 (2017-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff))
|
||||
* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.0.1"></a>
|
||||
## 3.0.1 (2017-07-11)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.0"></a>
|
||||
# 3.0.0 (2017-07-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([94437e8](https://github.com/conventional-changelog/commitlint/commit/94437e8))
|
||||
* ensure node4 compat ([a5e658a](https://github.com/conventional-changelog/commitlint/commit/a5e658a))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="3.0.0"></a>
|
||||
# 3.0.0 (2017-07-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** remove destructuring for node 4 support ([94437e8](https://github.com/conventional-changelog/commitlint/commit/94437e8))
|
||||
* ensure node4 compat ([a5e658a](https://github.com/conventional-changelog/commitlint/commit/a5e658a))
|
16
node_modules/@commitlint/cli/README.md
generated
vendored
Normal file
16
node_modules/@commitlint/cli/README.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
> Lint commit messages
|
||||
|
||||
<p align="center">
|
||||
<img width="750" src="https://conventional-changelog.github.io/commitlint/assets/commitlint.svg">
|
||||
</p>
|
||||
|
||||
# @commitlint/cli
|
||||
|
||||
## Getting started
|
||||
|
||||
```
|
||||
npm install --save-dev @commitlint/cli @commitlint/config-angular
|
||||
echo "module.exports = {extends: ['@commitlint/config-angular']};" > commitlint.config.js
|
||||
```
|
||||
|
||||
Consult [docs/cli](https://conventional-changelog.github.io/commitlint/#/reference-cli) for comprehensive documentation.
|
2
node_modules/@commitlint/cli/cli.js
generated
vendored
Executable file
2
node_modules/@commitlint/cli/cli.js
generated
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env node
|
||||
require('./lib/cli.js');
|
3
node_modules/@commitlint/cli/index.js
generated
vendored
Normal file
3
node_modules/@commitlint/cli/index.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = path.join(__dirname, 'cli.js');
|
6
node_modules/@commitlint/cli/lib/cli-error.d.ts
generated
vendored
Normal file
6
node_modules/@commitlint/cli/lib/cli-error.d.ts
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
export declare class CliError extends Error {
|
||||
__proto__: ErrorConstructor;
|
||||
type: string;
|
||||
constructor(message: string, type: string);
|
||||
}
|
||||
//# sourceMappingURL=cli-error.d.ts.map
|
1
node_modules/@commitlint/cli/lib/cli-error.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/cli/lib/cli-error.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"cli-error.d.ts","sourceRoot":"","sources":["../src/cli-error.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IAClC,SAAS,mBAAS;IAEX,IAAI,EAAE,MAAM,CAAC;gBAER,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;CAOzC"}
|
13
node_modules/@commitlint/cli/lib/cli-error.js
generated
vendored
Normal file
13
node_modules/@commitlint/cli/lib/cli-error.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CliError = void 0;
|
||||
class CliError extends Error {
|
||||
constructor(message, type) {
|
||||
super(message);
|
||||
this.__proto__ = Error;
|
||||
this.type = type;
|
||||
Object.setPrototypeOf(this, CliError.prototype);
|
||||
}
|
||||
}
|
||||
exports.CliError = CliError;
|
||||
//# sourceMappingURL=cli-error.js.map
|
1
node_modules/@commitlint/cli/lib/cli-error.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/cli/lib/cli-error.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"cli-error.js","sourceRoot":"","sources":["../src/cli-error.ts"],"names":[],"mappings":";;;AAAA,MAAa,QAAS,SAAQ,KAAK;IAKlC,YAAY,OAAe,EAAE,IAAY;QACxC,KAAK,CAAC,OAAO,CAAC,CAAC;QALhB,cAAS,GAAG,KAAK,CAAC;QAOjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAEjB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IACjD,CAAC;CACD;AAZD,4BAYC"}
|
2
node_modules/@commitlint/cli/lib/cli.d.ts
generated
vendored
Normal file
2
node_modules/@commitlint/cli/lib/cli.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
export {};
|
||||
//# sourceMappingURL=cli.d.ts.map
|
1
node_modules/@commitlint/cli/lib/cli.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/cli/lib/cli.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|
340
node_modules/@commitlint/cli/lib/cli.js
generated
vendored
Normal file
340
node_modules/@commitlint/cli/lib/cli.js
generated
vendored
Normal file
@ -0,0 +1,340 @@
|
||||
"use strict";
|
||||
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
||||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||
var m = o[Symbol.asyncIterator], i;
|
||||
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
||||
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
||||
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
||||
};
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const load_1 = __importDefault(require("@commitlint/load"));
|
||||
const lint_1 = __importDefault(require("@commitlint/lint"));
|
||||
const read_1 = __importDefault(require("@commitlint/read"));
|
||||
const isFunction_1 = __importDefault(require("lodash/isFunction"));
|
||||
const resolve_from_1 = __importDefault(require("resolve-from"));
|
||||
const resolve_global_1 = __importDefault(require("resolve-global"));
|
||||
const yargs_1 = __importDefault(require("yargs"));
|
||||
const util_1 = __importDefault(require("util"));
|
||||
const cli_error_1 = require("./cli-error");
|
||||
const pkg = require('../package');
|
||||
const cli = yargs_1.default
|
||||
.options({
|
||||
color: {
|
||||
alias: 'c',
|
||||
default: true,
|
||||
description: 'toggle colored output',
|
||||
type: 'boolean',
|
||||
},
|
||||
config: {
|
||||
alias: 'g',
|
||||
description: 'path to the config file',
|
||||
type: 'string',
|
||||
},
|
||||
'print-config': {
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'print resolved config',
|
||||
},
|
||||
cwd: {
|
||||
alias: 'd',
|
||||
default: process.cwd(),
|
||||
defaultDescription: '(Working Directory)',
|
||||
description: 'directory to execute in',
|
||||
type: 'string',
|
||||
},
|
||||
edit: {
|
||||
alias: 'e',
|
||||
description: 'read last commit message from the specified file or fallbacks to ./.git/COMMIT_EDITMSG',
|
||||
type: 'string',
|
||||
},
|
||||
env: {
|
||||
alias: 'E',
|
||||
description: 'check message in the file at path given by environment variable value',
|
||||
type: 'string',
|
||||
},
|
||||
extends: {
|
||||
alias: 'x',
|
||||
description: 'array of shareable configurations to extend',
|
||||
type: 'array',
|
||||
},
|
||||
'help-url': {
|
||||
alias: 'H',
|
||||
type: 'string',
|
||||
description: 'help url in error message',
|
||||
},
|
||||
from: {
|
||||
alias: 'f',
|
||||
description: 'lower end of the commit range to lint; applies if edit=false',
|
||||
type: 'string',
|
||||
},
|
||||
format: {
|
||||
alias: 'o',
|
||||
description: 'output format of the results',
|
||||
type: 'string',
|
||||
},
|
||||
'parser-preset': {
|
||||
alias: 'p',
|
||||
description: 'configuration preset to use for conventional-commits-parser',
|
||||
type: 'string',
|
||||
},
|
||||
quiet: {
|
||||
alias: 'q',
|
||||
default: false,
|
||||
description: 'toggle console output',
|
||||
type: 'boolean',
|
||||
},
|
||||
to: {
|
||||
alias: 't',
|
||||
description: 'upper end of the commit range to lint; applies if edit=false',
|
||||
type: 'string',
|
||||
},
|
||||
verbose: {
|
||||
alias: 'V',
|
||||
type: 'boolean',
|
||||
description: 'enable verbose output for reports without problems',
|
||||
},
|
||||
})
|
||||
.version('version', 'display version information', `${pkg.name}@${pkg.version}`)
|
||||
.alias('v', 'version')
|
||||
.help('help')
|
||||
.alias('h', 'help')
|
||||
.usage(`${pkg.name}@${pkg.version} - ${pkg.description}\n`)
|
||||
.usage(`[input] reads from stdin if --edit, --env, --from and --to are omitted`)
|
||||
.strict();
|
||||
main(cli.argv).catch((err) => {
|
||||
setTimeout(() => {
|
||||
if (err.type === pkg.name) {
|
||||
process.exit(1);
|
||||
}
|
||||
throw err;
|
||||
}, 0);
|
||||
});
|
||||
async function stdin() {
|
||||
var e_1, _a;
|
||||
let result = '';
|
||||
if (process.stdin.isTTY) {
|
||||
return result;
|
||||
}
|
||||
process.stdin.setEncoding('utf8');
|
||||
try {
|
||||
for (var _b = __asyncValues(process.stdin), _c; _c = await _b.next(), !_c.done;) {
|
||||
const chunk = _c.value;
|
||||
result += chunk;
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) await _a.call(_b);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
return result;
|
||||
}
|
||||
async function resolveArgs(args) {
|
||||
return typeof args.then === 'function' ? await args : args;
|
||||
}
|
||||
async function main(args) {
|
||||
var _a;
|
||||
const options = await resolveArgs(args);
|
||||
if (typeof options.edit === 'undefined') {
|
||||
options.edit = false;
|
||||
}
|
||||
const raw = options._;
|
||||
const flags = normalizeFlags(options);
|
||||
if (flags['print-config']) {
|
||||
const loaded = await (0, load_1.default)(getSeed(flags), {
|
||||
cwd: flags.cwd,
|
||||
file: flags.config,
|
||||
});
|
||||
console.log(util_1.default.inspect(loaded, false, null, options.color));
|
||||
return;
|
||||
}
|
||||
const fromStdin = checkFromStdin(raw, flags);
|
||||
const input = await (fromStdin
|
||||
? stdin()
|
||||
: (0, read_1.default)({
|
||||
to: flags.to,
|
||||
from: flags.from,
|
||||
edit: flags.edit,
|
||||
cwd: flags.cwd,
|
||||
}));
|
||||
const messages = (Array.isArray(input) ? input : [input])
|
||||
.filter((message) => typeof message === 'string')
|
||||
.filter((message) => message.trim() !== '')
|
||||
.filter(Boolean);
|
||||
if (messages.length === 0 && !checkFromRepository(flags)) {
|
||||
const err = new cli_error_1.CliError('[input] is required: supply via stdin, or --env or --edit or --from and --to', pkg.name);
|
||||
yargs_1.default.showHelp('log');
|
||||
console.log(err.message);
|
||||
throw err;
|
||||
}
|
||||
const loaded = await (0, load_1.default)(getSeed(flags), {
|
||||
cwd: flags.cwd,
|
||||
file: flags.config,
|
||||
});
|
||||
const parserOpts = selectParserOpts(loaded.parserPreset);
|
||||
const opts = {
|
||||
parserOpts: {},
|
||||
plugins: {},
|
||||
ignores: [],
|
||||
defaultIgnores: true,
|
||||
};
|
||||
if (parserOpts) {
|
||||
opts.parserOpts = parserOpts;
|
||||
}
|
||||
if (loaded.plugins) {
|
||||
opts.plugins = loaded.plugins;
|
||||
}
|
||||
if (loaded.ignores) {
|
||||
opts.ignores = loaded.ignores;
|
||||
}
|
||||
if (loaded.defaultIgnores === false) {
|
||||
opts.defaultIgnores = false;
|
||||
}
|
||||
const format = loadFormatter(loaded, flags);
|
||||
// Strip comments if reading from `.git/COMMIT_EDIT_MSG` using the
|
||||
// commentChar from the parser preset falling back to a `#` if that is not
|
||||
// set
|
||||
if (flags.edit && typeof opts.parserOpts.commentChar !== 'string') {
|
||||
opts.parserOpts.commentChar = '#';
|
||||
}
|
||||
const results = await Promise.all(messages.map((message) => (0, lint_1.default)(message, loaded.rules, opts)));
|
||||
if (Object.keys(loaded.rules).length === 0) {
|
||||
let input = '';
|
||||
if (results.length !== 0) {
|
||||
input = results[0].input;
|
||||
}
|
||||
results.splice(0, results.length, {
|
||||
valid: false,
|
||||
errors: [
|
||||
{
|
||||
level: 2,
|
||||
valid: false,
|
||||
name: 'empty-rules',
|
||||
message: [
|
||||
'Please add rules to your `commitlint.config.js`',
|
||||
' - Getting started guide: https://git.io/fhHij',
|
||||
' - Example config: https://git.io/fhHip',
|
||||
].join('\n'),
|
||||
},
|
||||
],
|
||||
warnings: [],
|
||||
input,
|
||||
});
|
||||
}
|
||||
const report = results.reduce((info, result) => {
|
||||
info.valid = result.valid ? info.valid : false;
|
||||
info.errorCount += result.errors.length;
|
||||
info.warningCount += result.warnings.length;
|
||||
info.results.push(result);
|
||||
return info;
|
||||
}, {
|
||||
valid: true,
|
||||
errorCount: 0,
|
||||
warningCount: 0,
|
||||
results: [],
|
||||
});
|
||||
const helpUrl = ((_a = flags['help-url']) === null || _a === void 0 ? void 0 : _a.trim()) || loaded.helpUrl;
|
||||
const output = format(report, {
|
||||
color: flags.color,
|
||||
verbose: flags.verbose,
|
||||
helpUrl,
|
||||
});
|
||||
if (!flags.quiet && output !== '') {
|
||||
console.log(output);
|
||||
}
|
||||
if (!report.valid) {
|
||||
throw new cli_error_1.CliError(output, pkg.name);
|
||||
}
|
||||
}
|
||||
function checkFromStdin(input, flags) {
|
||||
return input.length === 0 && !checkFromRepository(flags);
|
||||
}
|
||||
function checkFromRepository(flags) {
|
||||
return checkFromHistory(flags) || checkFromEdit(flags);
|
||||
}
|
||||
function checkFromEdit(flags) {
|
||||
return Boolean(flags.edit) || Boolean(flags.env);
|
||||
}
|
||||
function checkFromHistory(flags) {
|
||||
return typeof flags.from === 'string' || typeof flags.to === 'string';
|
||||
}
|
||||
function normalizeFlags(flags) {
|
||||
const edit = getEditValue(flags);
|
||||
return Object.assign(Object.assign({}, flags), { edit });
|
||||
}
|
||||
function getEditValue(flags) {
|
||||
if (flags.env) {
|
||||
if (!(flags.env in process.env)) {
|
||||
throw new Error(`Received '${flags.env}' as value for -E | --env, but environment variable '${flags.env}' is not available globally`);
|
||||
}
|
||||
return process.env[flags.env];
|
||||
}
|
||||
const { edit } = flags;
|
||||
// If the edit flag is set but empty (i.e '-e') we default
|
||||
// to .git/COMMIT_EDITMSG
|
||||
if (edit === '') {
|
||||
return true;
|
||||
}
|
||||
if (typeof edit === 'boolean') {
|
||||
return edit;
|
||||
}
|
||||
// The recommended method to specify -e with husky was `commitlint -e $HUSKY_GIT_PARAMS`
|
||||
// This does not work properly with win32 systems, where env variable declarations
|
||||
// use a different syntax
|
||||
// See https://github.com/conventional-changelog/commitlint/issues/103 for details
|
||||
// This has been superceded by the `-E GIT_PARAMS` / `-E HUSKY_GIT_PARAMS`
|
||||
const isGitParams = edit === '$GIT_PARAMS' || edit === '%GIT_PARAMS%';
|
||||
const isHuskyParams = edit === '$HUSKY_GIT_PARAMS' || edit === '%HUSKY_GIT_PARAMS%';
|
||||
if (isGitParams || isHuskyParams) {
|
||||
console.warn(`Using environment variable syntax (${edit}) in -e |\
|
||||
--edit is deprecated. Use '{-E|--env} HUSKY_GIT_PARAMS instead'`);
|
||||
if (isGitParams && 'GIT_PARAMS' in process.env) {
|
||||
return process.env.GIT_PARAMS;
|
||||
}
|
||||
if ('HUSKY_GIT_PARAMS' in process.env) {
|
||||
return process.env.HUSKY_GIT_PARAMS;
|
||||
}
|
||||
throw new Error(`Received ${edit} as value for -e | --edit, but GIT_PARAMS or HUSKY_GIT_PARAMS are not available globally.`);
|
||||
}
|
||||
return edit;
|
||||
}
|
||||
function getSeed(flags) {
|
||||
const n = (flags.extends || []).filter((i) => typeof i === 'string');
|
||||
return n.length > 0
|
||||
? { extends: n, parserPreset: flags['parser-preset'] }
|
||||
: { parserPreset: flags['parser-preset'] };
|
||||
}
|
||||
function selectParserOpts(parserPreset) {
|
||||
if (typeof parserPreset !== 'object') {
|
||||
return undefined;
|
||||
}
|
||||
if (typeof parserPreset.parserOpts !== 'object') {
|
||||
return undefined;
|
||||
}
|
||||
return parserPreset.parserOpts;
|
||||
}
|
||||
function loadFormatter(config, flags) {
|
||||
const moduleName = flags.format || config.formatter || '@commitlint/format';
|
||||
const modulePath = resolve_from_1.default.silent(__dirname, moduleName) ||
|
||||
resolve_from_1.default.silent(flags.cwd, moduleName) ||
|
||||
resolve_global_1.default.silent(moduleName);
|
||||
if (modulePath) {
|
||||
const moduleInstance = require(modulePath);
|
||||
if ((0, isFunction_1.default)(moduleInstance.default)) {
|
||||
return moduleInstance.default;
|
||||
}
|
||||
return moduleInstance;
|
||||
}
|
||||
throw new Error(`Using format ${moduleName}, but cannot find the module.`);
|
||||
}
|
||||
// Catch unhandled rejections globally
|
||||
process.on('unhandledRejection', (reason, promise) => {
|
||||
console.log('Unhandled Rejection at: Promise ', promise, ' reason: ', reason);
|
||||
throw reason;
|
||||
});
|
||||
//# sourceMappingURL=cli.js.map
|
1
node_modules/@commitlint/cli/lib/cli.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/cli/lib/cli.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
25
node_modules/@commitlint/cli/lib/types.d.ts
generated
vendored
Normal file
25
node_modules/@commitlint/cli/lib/types.d.ts
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
export interface CliFlags {
|
||||
color: boolean;
|
||||
config?: string;
|
||||
cwd: string;
|
||||
edit?: string | boolean;
|
||||
env?: string;
|
||||
extends?: (string | number)[];
|
||||
help?: boolean;
|
||||
'help-url'?: string;
|
||||
from?: string;
|
||||
format?: string;
|
||||
'parser-preset'?: string;
|
||||
quiet: boolean;
|
||||
to?: string;
|
||||
version?: boolean;
|
||||
verbose?: boolean;
|
||||
'print-config'?: boolean;
|
||||
_: (string | number)[];
|
||||
$0: string;
|
||||
}
|
||||
export interface Seed {
|
||||
extends?: string[];
|
||||
parserPreset?: string;
|
||||
}
|
||||
//# sourceMappingURL=types.d.ts.map
|
1
node_modules/@commitlint/cli/lib/types.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/cli/lib/types.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACxB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,IAAI;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
3
node_modules/@commitlint/cli/lib/types.js
generated
vendored
Normal file
3
node_modules/@commitlint/cli/lib/types.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=types.js.map
|
1
node_modules/@commitlint/cli/lib/types.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/cli/lib/types.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
21
node_modules/@commitlint/cli/license.md
generated
vendored
Normal file
21
node_modules/@commitlint/cli/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.
|
59
node_modules/@commitlint/cli/package.json
generated
vendored
Normal file
59
node_modules/@commitlint/cli/package.json
generated
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "@commitlint/cli",
|
||||
"version": "15.0.0",
|
||||
"description": "Lint your commit messages",
|
||||
"files": [
|
||||
"index.js",
|
||||
"cli.js",
|
||||
"lib"
|
||||
],
|
||||
"bin": {
|
||||
"commitlint": "./cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"deps": "dep-check",
|
||||
"pkg": "pkg-check"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=v12"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/conventional-changelog/commitlint.git",
|
||||
"directory": "@commitlint/cli"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/conventional-changelog/commitlint/issues"
|
||||
},
|
||||
"homepage": "https://commitlint.js.org/",
|
||||
"keywords": [
|
||||
"conventional-changelog",
|
||||
"commitlint",
|
||||
"cli"
|
||||
],
|
||||
"author": {
|
||||
"name": "Mario Nebl",
|
||||
"email": "hello@herebecode.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@commitlint/test": "^15.0.0",
|
||||
"@commitlint/utils": "^15.0.0",
|
||||
"@types/node": "12.20.37",
|
||||
"@types/yargs": "^17.0.0",
|
||||
"execa": "^5.0.0",
|
||||
"fs-extra": "^10.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@commitlint/format": "^15.0.0",
|
||||
"@commitlint/lint": "^15.0.0",
|
||||
"@commitlint/load": "^15.0.0",
|
||||
"@commitlint/read": "^15.0.0",
|
||||
"@commitlint/types": "^15.0.0",
|
||||
"lodash": "^4.17.19",
|
||||
"resolve-from": "5.0.0",
|
||||
"resolve-global": "1.0.0",
|
||||
"yargs": "^17.0.0"
|
||||
},
|
||||
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
|
||||
}
|
377
node_modules/@commitlint/config-conventional/CHANGELOG.md
generated
vendored
Normal file
377
node_modules/@commitlint/config-conventional/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,377 @@
|
||||
# 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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [14.1.0](https://github.com/conventional-changelog/commitlint/compare/v14.0.0...v14.1.0) (2021-11-01)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cz-commitlint:** fix minor formatting issues ([99d8881](https://github.com/conventional-changelog/commitlint/commit/99d8881d0d951deded6d9e31bbb279d04101549b))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add subject-exclamation-mark rule to improve error messages ([#2593](https://github.com/conventional-changelog/commitlint/issues/2593)) ([be701bd](https://github.com/conventional-changelog/commitlint/commit/be701bdb1de4e667b7a872767244285c4fa4fda4))
|
||||
|
||||
|
||||
* 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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency ([#1993](https://github.com/conventional-changelog/commitlint/issues/1993)) ([32667e8](https://github.com/conventional-changelog/commitlint/commit/32667e8aa665cf94fe669ba048ad7abaf6abac6e))
|
||||
|
||||
|
||||
* 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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency conventional-changelog-conventionalcommits to v4.3.0 ([#1816](https://github.com/conventional-changelog/commitlint/issues/1816)) ([f99aeda](https://github.com/conventional-changelog/commitlint/commit/f99aeda068aabdb250e2c9819da7229a695154b9))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* drop support for 'improvement' type ([#899](https://github.com/conventional-changelog/commitlint/issues/899)) ([b27ab08](https://github.com/conventional-changelog/commitlint/commit/b27ab08544373cfb72a4808756e2e8126ea96a97))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **config-conventional:** footer/body-max-line ([#436](https://github.com/conventional-changelog/commitlint/issues/436)) ([8b394c9](https://github.com/conventional-changelog/commitlint/commit/8b394c94ffe37322d734bd4944add4a6cb2a4689))
|
||||
* **config-conventional:** increase header-max-length to 100 ([#860](https://github.com/conventional-changelog/commitlint/issues/860)) ([ff11998](https://github.com/conventional-changelog/commitlint/commit/ff11998e0cf6fcd4f03bc18ab27b1bdd6bf21906)), closes [#859](https://github.com/conventional-changelog/commitlint/issues/859)
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* 'improvement' type will now be rejected by this config.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **config-conventional:** use parser with short breaking change support ([#821](https://github.com/conventional-changelog/commitlint/issues/821)) ([4b5300a](https://github.com/conventional-changelog/commitlint/commit/4b5300a))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/config-conventional
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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
|
||||
|
||||
* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a))
|
||||
* 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))
|
||||
* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/config-conventional
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/config-conventional
|
||||
|
||||
<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/config-conventional
|
||||
|
||||
<a name="7.1.0"></a>
|
||||
# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/config-conventional
|
||||
|
||||
<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/config-conventional
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/config-conventional
|
||||
|
||||
<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/config-conventional
|
||||
|
||||
<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/config-conventional
|
||||
|
||||
<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/config-conventional
|
||||
|
||||
<a name="5.2.3"></a>
|
||||
## [5.2.3](https://github.com/conventional-changelog/commitlint/compare/v5.2.2...v5.2.3) (2017-12-05)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/config-conventional
|
||||
|
||||
<a name="5.1.3"></a>
|
||||
## [5.1.3](https://github.com/conventional-changelog/commitlint/compare/v5.1.2...v5.1.3) (2017-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **config-conventional:** add missing applicable attribute to type-enum ([a8db0b1](https://github.com/conventional-changelog/commitlint/commit/a8db0b1))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="5.1.1"></a>
|
||||
## [5.1.1](https://github.com/conventional-changelog/commitlint/compare/v5.1.0...v5.1.1) (2017-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* set access for npm ([8aeaec2](https://github.com/conventional-changelog/commitlint/commit/8aeaec2))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="5.1.0"></a>
|
||||
# [5.1.0](https://github.com/conventional-changelog/commitlint/compare/v5.0.2...v5.1.0) (2017-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **config-conventional:** remove unneeded dependency ([d0e62fd](https://github.com/conventional-changelog/commitlint/commit/d0e62fd))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add conventional-changelog package ([8bb0a85](https://github.com/conventional-changelog/commitlint/commit/8bb0a85))
|
224
node_modules/@commitlint/config-conventional/README.md
generated
vendored
Normal file
224
node_modules/@commitlint/config-conventional/README.md
generated
vendored
Normal file
@ -0,0 +1,224 @@
|
||||
> Lint your conventional commits
|
||||
|
||||
# @commitlint/config-conventional
|
||||
|
||||
Shareable `commitlint` config enforcing [conventional commits](https://conventionalcommits.org/).
|
||||
Use with [@commitlint/cli](https://npm.im/@commitlint/cli) and [@commitlint/prompt-cli](https://npm.im/@commitlint/prompt-cli).
|
||||
|
||||
## Getting started
|
||||
|
||||
```sh
|
||||
npm install --save-dev @commitlint/config-conventional @commitlint/cli
|
||||
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
|
||||
```
|
||||
|
||||
## Rules
|
||||
|
||||
### Problems
|
||||
|
||||
The following rules are considered problems for `@commitlint/config-conventional` and will yield a non-zero exit code when not met.
|
||||
|
||||
Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a list of available rules.
|
||||
|
||||
#### type-enum
|
||||
|
||||
- **condition**: `type` is found in value
|
||||
- **rule**: `always`
|
||||
- **level**: `error`
|
||||
- **value**
|
||||
|
||||
```
|
||||
[
|
||||
'build',
|
||||
'chore',
|
||||
'ci',
|
||||
'docs',
|
||||
'feat',
|
||||
'fix',
|
||||
'perf',
|
||||
'refactor',
|
||||
'revert',
|
||||
'style',
|
||||
'test'
|
||||
];
|
||||
```
|
||||
|
||||
```sh
|
||||
echo "foo: some message" # fails
|
||||
echo "fix: some message" # passes
|
||||
```
|
||||
|
||||
#### type-case
|
||||
|
||||
- **description**: `type` is in case `value`
|
||||
- **rule**: `always`
|
||||
- **level**: `error`
|
||||
- **value**
|
||||
```
|
||||
'lowerCase'
|
||||
```
|
||||
|
||||
```sh
|
||||
echo "FIX: some message" # fails
|
||||
echo "fix: some message" # passes
|
||||
```
|
||||
|
||||
#### type-empty
|
||||
|
||||
- **condition**: `type` is empty
|
||||
- **rule**: `never`
|
||||
- **level**: `error`
|
||||
|
||||
```sh
|
||||
echo ": some message" # fails
|
||||
echo "fix: some message" # passes
|
||||
```
|
||||
|
||||
#### scope-case
|
||||
|
||||
- **condition**: `scope` is in case `value`
|
||||
- **rule**: `always`
|
||||
- **level**: `error`
|
||||
|
||||
```
|
||||
'lowerCase'
|
||||
```
|
||||
|
||||
```sh
|
||||
echo "fix(SCOPE): some message" # fails
|
||||
echo "fix(scope): some message" # passes
|
||||
```
|
||||
|
||||
#### subject-case
|
||||
|
||||
- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']`
|
||||
- **rule**: `never`
|
||||
- **level**: `error`
|
||||
|
||||
```sh
|
||||
echo "fix(SCOPE): Some message" # fails
|
||||
echo "fix(SCOPE): Some Message" # fails
|
||||
echo "fix(SCOPE): SomeMessage" # fails
|
||||
echo "fix(SCOPE): SOMEMESSAGE" # fails
|
||||
echo "fix(scope): some message" # passes
|
||||
echo "fix(scope): some Message" # passes
|
||||
```
|
||||
|
||||
#### subject-empty
|
||||
|
||||
- **condition**: `subject` is empty
|
||||
- **rule**: `never`
|
||||
- **level**: `error`
|
||||
|
||||
```sh
|
||||
echo "fix:" # fails
|
||||
echo "fix: some message" # passes
|
||||
```
|
||||
|
||||
#### subject-full-stop
|
||||
|
||||
- **condition**: `subject` ends with `value`
|
||||
- **rule**: `never`
|
||||
- **level**: `error`
|
||||
- **value**
|
||||
|
||||
```
|
||||
'.'
|
||||
```
|
||||
|
||||
```sh
|
||||
echo "fix: some message." # fails
|
||||
echo "fix: some message" # passes
|
||||
```
|
||||
|
||||
#### header-max-length
|
||||
|
||||
- **condition**: `header` has `value` or less characters
|
||||
- **rule**: `always`
|
||||
- **level**: `error`
|
||||
- **value**
|
||||
|
||||
```
|
||||
100
|
||||
```
|
||||
|
||||
```sh
|
||||
echo "fix: some message that is way too long and breaks the line max-length by several characters" # fails
|
||||
echo "fix: some message" # passes
|
||||
```
|
||||
|
||||
#### footer-leading-blank
|
||||
|
||||
- **condition**: `footer` should have a leading blank line
|
||||
- **rule**: `always`
|
||||
- level: `warning`
|
||||
|
||||
```sh
|
||||
echo "fix: some message
|
||||
BREAKING CHANGE: It will be significant" # warning
|
||||
|
||||
echo "fix: some message
|
||||
|
||||
BREAKING CHANGE: It will be significant" # passes
|
||||
```
|
||||
|
||||
#### footer-max-line-length
|
||||
|
||||
- **condition**: `footer` each line has `value` or less characters
|
||||
- **rule**: `always`
|
||||
- level: `error`
|
||||
- **value**
|
||||
|
||||
```
|
||||
100
|
||||
```
|
||||
|
||||
```sh
|
||||
echo "fix: some message
|
||||
|
||||
BREAKING CHANGE: footer with multiple lines
|
||||
has a message that is way too long and will break the line rule 'line-max-length' by several characters" # fails
|
||||
|
||||
echo "fix: some message
|
||||
|
||||
BREAKING CHANGE: footer with multiple lines
|
||||
but still no line is too long" # passes
|
||||
```
|
||||
|
||||
#### body-leading-blank
|
||||
|
||||
- **condition**: `body` should have a leading blank line
|
||||
- **rule**: `always`
|
||||
- level: `warning`
|
||||
|
||||
```sh
|
||||
echo "fix: some message
|
||||
body" # warning
|
||||
|
||||
echo "fix: some message
|
||||
|
||||
body" # passes
|
||||
```
|
||||
|
||||
#### body-max-line-length
|
||||
|
||||
- **condition**: `body` each line has `value` or less characters
|
||||
- **rule**: `always`
|
||||
- level: `error`
|
||||
- **value**
|
||||
|
||||
```
|
||||
100
|
||||
```
|
||||
|
||||
```sh
|
||||
echo "fix: some message
|
||||
|
||||
body with multiple lines
|
||||
has a message that is way too long and will break the line rule 'line-max-length' by several characters" # fails
|
||||
|
||||
echo "fix: some message
|
||||
|
||||
body with multiple lines
|
||||
but still no line is too long" # passes
|
||||
```
|
135
node_modules/@commitlint/config-conventional/index.js
generated
vendored
Normal file
135
node_modules/@commitlint/config-conventional/index.js
generated
vendored
Normal file
@ -0,0 +1,135 @@
|
||||
module.exports = {
|
||||
parserPreset: 'conventional-changelog-conventionalcommits',
|
||||
rules: {
|
||||
'body-leading-blank': [1, 'always'],
|
||||
'body-max-line-length': [2, 'always', 100],
|
||||
'footer-leading-blank': [1, 'always'],
|
||||
'footer-max-line-length': [2, 'always', 100],
|
||||
'header-max-length': [2, 'always', 100],
|
||||
'subject-case': [
|
||||
2,
|
||||
'never',
|
||||
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
|
||||
],
|
||||
'subject-empty': [2, 'never'],
|
||||
'subject-full-stop': [2, 'never', '.'],
|
||||
'type-case': [2, 'always', 'lower-case'],
|
||||
'type-empty': [2, 'never'],
|
||||
'type-enum': [
|
||||
2,
|
||||
'always',
|
||||
[
|
||||
'build',
|
||||
'chore',
|
||||
'ci',
|
||||
'docs',
|
||||
'feat',
|
||||
'fix',
|
||||
'perf',
|
||||
'refactor',
|
||||
'revert',
|
||||
'style',
|
||||
'test',
|
||||
],
|
||||
],
|
||||
},
|
||||
prompt: {
|
||||
questions: {
|
||||
type: {
|
||||
description: "Select the type of change that you're committing",
|
||||
enum: {
|
||||
feat: {
|
||||
description: 'A new feature',
|
||||
title: 'Features',
|
||||
emoji: '✨',
|
||||
},
|
||||
fix: {
|
||||
description: 'A bug fix',
|
||||
title: 'Bug Fixes',
|
||||
emoji: '🐛',
|
||||
},
|
||||
docs: {
|
||||
description: 'Documentation only changes',
|
||||
title: 'Documentation',
|
||||
emoji: '📚',
|
||||
},
|
||||
style: {
|
||||
description:
|
||||
'Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)',
|
||||
title: 'Styles',
|
||||
emoji: '💎',
|
||||
},
|
||||
refactor: {
|
||||
description:
|
||||
'A code change that neither fixes a bug nor adds a feature',
|
||||
title: 'Code Refactoring',
|
||||
emoji: '📦',
|
||||
},
|
||||
perf: {
|
||||
description: 'A code change that improves performance',
|
||||
title: 'Performance Improvements',
|
||||
emoji: '🚀',
|
||||
},
|
||||
test: {
|
||||
description: 'Adding missing tests or correcting existing tests',
|
||||
title: 'Tests',
|
||||
emoji: '🚨',
|
||||
},
|
||||
build: {
|
||||
description:
|
||||
'Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)',
|
||||
title: 'Builds',
|
||||
emoji: '🛠',
|
||||
},
|
||||
ci: {
|
||||
description:
|
||||
'Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)',
|
||||
title: 'Continuous Integrations',
|
||||
emoji: '⚙️',
|
||||
},
|
||||
chore: {
|
||||
description: "Other changes that don't modify src or test files",
|
||||
title: 'Chores',
|
||||
emoji: '♻️',
|
||||
},
|
||||
revert: {
|
||||
description: 'Reverts a previous commit',
|
||||
title: 'Reverts',
|
||||
emoji: '🗑',
|
||||
},
|
||||
},
|
||||
},
|
||||
scope: {
|
||||
description:
|
||||
'What is the scope of this change (e.g. component or file name)',
|
||||
},
|
||||
subject: {
|
||||
description:
|
||||
'Write a short, imperative tense description of the change',
|
||||
},
|
||||
body: {
|
||||
description: 'Provide a longer description of the change',
|
||||
},
|
||||
isBreaking: {
|
||||
description: 'Are there any breaking changes?',
|
||||
},
|
||||
breakingBody: {
|
||||
description:
|
||||
'A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself',
|
||||
},
|
||||
breaking: {
|
||||
description: 'Describe the breaking changes',
|
||||
},
|
||||
isIssueAffected: {
|
||||
description: 'Does this change affect any open issues?',
|
||||
},
|
||||
issuesBody: {
|
||||
description:
|
||||
'If issues are closed, the commit requires a body. Please enter a longer description of the commit itself',
|
||||
},
|
||||
issues: {
|
||||
description: 'Add issue references (e.g. "fix #123", "re #123".)',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
21
node_modules/@commitlint/config-conventional/license.md
generated
vendored
Normal file
21
node_modules/@commitlint/config-conventional/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.
|
43
node_modules/@commitlint/config-conventional/package.json
generated
vendored
Normal file
43
node_modules/@commitlint/config-conventional/package.json
generated
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "@commitlint/config-conventional",
|
||||
"version": "15.0.0",
|
||||
"description": "Shareable commitlint config enforcing conventional commits",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"scripts": {
|
||||
"deps": "dep-check",
|
||||
"pkg": "pkg-check"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/conventional-changelog/commitlint.git",
|
||||
"directory": "@commitlint/config-conventional"
|
||||
},
|
||||
"keywords": [
|
||||
"conventional-changelog",
|
||||
"commitlint",
|
||||
"commitlint-config",
|
||||
"angular"
|
||||
],
|
||||
"author": "Mario Nebl <hello@herebecode.com>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/conventional-changelog/commitlint/issues"
|
||||
},
|
||||
"homepage": "https://commitlint.js.org/",
|
||||
"engines": {
|
||||
"node": ">=v12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/lint": "^15.0.0",
|
||||
"@commitlint/utils": "^15.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"conventional-changelog-conventionalcommits": "^4.3.1"
|
||||
},
|
||||
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
|
||||
}
|
336
node_modules/@commitlint/ensure/CHANGELOG.md
generated
vendored
Normal file
336
node_modules/@commitlint/ensure/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,336 @@
|
||||
# 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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [14.1.0](https://github.com/conventional-changelog/commitlint/compare/v14.0.0...v14.1.0) (2021-11-01)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/ensure
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* failing sentence-case for subjects with slashes ([#574](https://github.com/conventional-changelog/commitlint/issues/574)) ([48a8602](https://github.com/conventional-changelog/commitlint/commit/48a8602))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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
|
||||
|
||||
* `sentence-case` allow upper-case characters in first word ([#531](https://github.com/conventional-changelog/commitlint/issues/531)) ([5a6a4a8](https://github.com/conventional-changelog/commitlint/commit/5a6a4a8)), closes [#211](https://github.com/conventional-changelog/commitlint/issues/211)
|
||||
* 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))
|
||||
* slash in scope [#291](https://github.com/conventional-changelog/commitlint/issues/291) ([#529](https://github.com/conventional-changelog/commitlint/issues/529)) ([b2b63e5](https://github.com/conventional-changelog/commitlint/commit/b2b63e5))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/ensure
|
||||
|
||||
<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)
|
||||
* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.2.0"></a>
|
||||
# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* handle case rules for numerics correctly ([cadcfed](https://github.com/conventional-changelog/commitlint/commit/cadcfed))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/ensure
|
||||
|
||||
<a name="7.1.0"></a>
|
||||
# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add max line length to body/footer ([542f50e](https://github.com/conventional-changelog/commitlint/commit/542f50e))
|
||||
|
||||
|
||||
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **ensure:** ignore word delimiters for case matching [#291](https://github.com/conventional-changelog/commitlint/issues/291) ([fa69299](https://github.com/conventional-changelog/commitlint/commit/fa69299))
|
||||
|
||||
|
||||
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/ensure
|
||||
|
||||
<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/ensure
|
||||
|
||||
<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/ensure
|
||||
|
||||
<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/ensure
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* sanitize ensure.case [#211](https://github.com/conventional-changelog/commitlint/issues/211) ([#217](https://github.com/conventional-changelog/commitlint/issues/217)) ([03aeefc](https://github.com/conventional-changelog/commitlint/commit/03aeefc))
|
4
node_modules/@commitlint/ensure/lib/case.d.ts
generated
vendored
Normal file
4
node_modules/@commitlint/ensure/lib/case.d.ts
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
import { TargetCaseType } from '@commitlint/types';
|
||||
export default ensureCase;
|
||||
declare function ensureCase(raw?: string, target?: TargetCaseType): boolean;
|
||||
//# sourceMappingURL=case.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/case.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/case.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"case.d.ts","sourceRoot":"","sources":["../src/case.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,eAAe,UAAU,CAAC;AAE1B,iBAAS,UAAU,CAClB,GAAG,GAAE,MAAW,EAChB,MAAM,GAAE,cAA4B,GAClC,OAAO,CAcT"}
|
20
node_modules/@commitlint/ensure/lib/case.js
generated
vendored
Normal file
20
node_modules/@commitlint/ensure/lib/case.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const to_case_1 = __importDefault(require("./to-case"));
|
||||
exports.default = ensureCase;
|
||||
function ensureCase(raw = '', target = 'lowercase') {
|
||||
// We delete any content together with quotes because he can contains proper names (example `refactor: `Eslint` configuration`).
|
||||
// We need trim string because content with quotes can be at the beginning or end of a line
|
||||
const input = String(raw)
|
||||
.replace(/`.*?`|".*?"|'.*?'/g, '')
|
||||
.trim();
|
||||
const transformed = (0, to_case_1.default)(input, target);
|
||||
if (transformed === '' || transformed.match(/^\d/)) {
|
||||
return true;
|
||||
}
|
||||
return transformed === input;
|
||||
}
|
||||
//# sourceMappingURL=case.js.map
|
1
node_modules/@commitlint/ensure/lib/case.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/case.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"case.js","sourceRoot":"","sources":["../src/case.ts"],"names":[],"mappings":";;;;;AAAA,wDAA+B;AAG/B,kBAAe,UAAU,CAAC;AAE1B,SAAS,UAAU,CAClB,MAAc,EAAE,EAChB,SAAyB,WAAW;IAEpC,gIAAgI;IAChI,2FAA2F;IAC3F,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC;SACvB,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC;SACjC,IAAI,EAAE,CAAC;IAET,MAAM,WAAW,GAAG,IAAA,iBAAM,EAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAE1C,IAAI,WAAW,KAAK,EAAE,IAAI,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QACnD,OAAO,IAAI,CAAC;KACZ;IAED,OAAO,WAAW,KAAK,KAAK,CAAC;AAC9B,CAAC"}
|
3
node_modules/@commitlint/ensure/lib/enum.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/ensure/lib/enum.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare const _default: (value: any, enums?: any[]) => boolean;
|
||||
export default _default;
|
||||
//# sourceMappingURL=enum.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/enum.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/enum.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../src/enum.ts"],"names":[],"mappings":"gCAAuB,GAAG,UAAS,GAAG,EAAE,KAAQ,OAAO;AAAvD,wBAQE"}
|
12
node_modules/@commitlint/ensure/lib/enum.js
generated
vendored
Normal file
12
node_modules/@commitlint/ensure/lib/enum.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = (value, enums = []) => {
|
||||
if (value === undefined) {
|
||||
return false;
|
||||
}
|
||||
if (!Array.isArray(enums)) {
|
||||
return false;
|
||||
}
|
||||
return enums.indexOf(value) > -1;
|
||||
};
|
||||
//# sourceMappingURL=enum.js.map
|
1
node_modules/@commitlint/ensure/lib/enum.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/enum.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../src/enum.ts"],"names":[],"mappings":";;AAAA,kBAAe,CAAC,KAAU,EAAE,QAAe,EAAE,EAAW,EAAE;IACzD,IAAI,KAAK,KAAK,SAAS,EAAE;QACxB,OAAO,KAAK,CAAC;KACb;IACD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QAC1B,OAAO,KAAK,CAAC;KACb;IACD,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAClC,CAAC,CAAC"}
|
11
node_modules/@commitlint/ensure/lib/index.d.ts
generated
vendored
Normal file
11
node_modules/@commitlint/ensure/lib/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
import ensureCase from './case';
|
||||
import ensureEnum from './enum';
|
||||
import maxLength from './max-length';
|
||||
import maxLineLength from './max-line-length';
|
||||
import minLength from './min-length';
|
||||
import notEmpty from './not-empty';
|
||||
import toCase from './to-case';
|
||||
export { ensureCase as case };
|
||||
export { ensureEnum as enum };
|
||||
export { maxLength, maxLineLength, minLength, notEmpty, toCase };
|
||||
//# sourceMappingURL=index.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/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,UAAU,MAAM,QAAQ,CAAC;AAChC,OAAO,UAAU,MAAM,QAAQ,CAAC;AAChC,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,OAAO,EAAC,UAAU,IAAI,IAAI,EAAC,CAAC;AAC5B,OAAO,EAAC,UAAU,IAAI,IAAI,EAAC,CAAC;AAC5B,OAAO,EAAC,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAC,CAAC"}
|
21
node_modules/@commitlint/ensure/lib/index.js
generated
vendored
Normal file
21
node_modules/@commitlint/ensure/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.toCase = exports.notEmpty = exports.minLength = exports.maxLineLength = exports.maxLength = exports.enum = exports.case = void 0;
|
||||
const case_1 = __importDefault(require("./case"));
|
||||
exports.case = case_1.default;
|
||||
const enum_1 = __importDefault(require("./enum"));
|
||||
exports.enum = enum_1.default;
|
||||
const max_length_1 = __importDefault(require("./max-length"));
|
||||
exports.maxLength = max_length_1.default;
|
||||
const max_line_length_1 = __importDefault(require("./max-line-length"));
|
||||
exports.maxLineLength = max_line_length_1.default;
|
||||
const min_length_1 = __importDefault(require("./min-length"));
|
||||
exports.minLength = min_length_1.default;
|
||||
const not_empty_1 = __importDefault(require("./not-empty"));
|
||||
exports.notEmpty = not_empty_1.default;
|
||||
const to_case_1 = __importDefault(require("./to-case"));
|
||||
exports.toCase = to_case_1.default;
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@commitlint/ensure/lib/index.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAgC;AAQV,eARf,cAAU,CAQS;AAP1B,kDAAgC;AAQV,eARf,cAAU,CAQS;AAP1B,8DAAqC;AAQ7B,oBARD,oBAAS,CAQC;AAPjB,wEAA8C;AAO3B,wBAPZ,yBAAa,CAOY;AANhC,8DAAqC;AAMH,oBAN3B,oBAAS,CAM2B;AAL3C,4DAAmC;AAKU,mBALtC,mBAAQ,CAKsC;AAJrD,wDAA+B;AAIwB,iBAJhD,iBAAM,CAIgD"}
|
3
node_modules/@commitlint/ensure/lib/max-length.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/ensure/lib/max-length.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare const _default: (value: string, max: number) => boolean;
|
||||
export default _default;
|
||||
//# sourceMappingURL=max-length.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/max-length.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/max-length.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"max-length.d.ts","sourceRoot":"","sources":["../src/max-length.ts"],"names":[],"mappings":"gCAAuB,MAAM,OAAO,MAAM,KAAG,OAAO;AAApD,wBACkD"}
|
4
node_modules/@commitlint/ensure/lib/max-length.js
generated
vendored
Normal file
4
node_modules/@commitlint/ensure/lib/max-length.js
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = (value, max) => typeof value === 'string' && value.length <= max;
|
||||
//# sourceMappingURL=max-length.js.map
|
1
node_modules/@commitlint/ensure/lib/max-length.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/max-length.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"max-length.js","sourceRoot":"","sources":["../src/max-length.ts"],"names":[],"mappings":";;AAAA,kBAAe,CAAC,KAAa,EAAE,GAAW,EAAW,EAAE,CACtD,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,IAAI,GAAG,CAAC"}
|
3
node_modules/@commitlint/ensure/lib/max-line-length.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/ensure/lib/max-line-length.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare const _default: (value: string, max: number) => boolean;
|
||||
export default _default;
|
||||
//# sourceMappingURL=max-line-length.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/max-line-length.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/max-line-length.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"max-line-length.d.ts","sourceRoot":"","sources":["../src/max-line-length.ts"],"names":[],"mappings":"gCAEuB,MAAM,OAAO,MAAM,KAAG,OAAO;AAApD,wBAEyD"}
|
9
node_modules/@commitlint/ensure/lib/max-line-length.js
generated
vendored
Normal file
9
node_modules/@commitlint/ensure/lib/max-line-length.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const max_length_1 = __importDefault(require("./max-length"));
|
||||
exports.default = (value, max) => typeof value === 'string' &&
|
||||
value.split(/\r?\n/).every((line) => (0, max_length_1.default)(line, max));
|
||||
//# sourceMappingURL=max-line-length.js.map
|
1
node_modules/@commitlint/ensure/lib/max-line-length.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/max-line-length.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"max-line-length.js","sourceRoot":"","sources":["../src/max-line-length.ts"],"names":[],"mappings":";;;;;AAAA,8DAAkC;AAElC,kBAAe,CAAC,KAAa,EAAE,GAAW,EAAW,EAAE,CACtD,OAAO,KAAK,KAAK,QAAQ;IACzB,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oBAAM,EAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC"}
|
3
node_modules/@commitlint/ensure/lib/min-length.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/ensure/lib/min-length.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare const _default: (value: string, min: number) => boolean;
|
||||
export default _default;
|
||||
//# sourceMappingURL=min-length.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/min-length.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/min-length.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"min-length.d.ts","sourceRoot":"","sources":["../src/min-length.ts"],"names":[],"mappings":"gCAAuB,MAAM,OAAO,MAAM,KAAG,OAAO;AAApD,wBACkD"}
|
4
node_modules/@commitlint/ensure/lib/min-length.js
generated
vendored
Normal file
4
node_modules/@commitlint/ensure/lib/min-length.js
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = (value, min) => typeof value === 'string' && value.length >= min;
|
||||
//# sourceMappingURL=min-length.js.map
|
1
node_modules/@commitlint/ensure/lib/min-length.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/min-length.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"min-length.js","sourceRoot":"","sources":["../src/min-length.ts"],"names":[],"mappings":";;AAAA,kBAAe,CAAC,KAAa,EAAE,GAAW,EAAW,EAAE,CACtD,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,IAAI,GAAG,CAAC"}
|
3
node_modules/@commitlint/ensure/lib/not-empty.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/ensure/lib/not-empty.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare const _default: (value: string) => boolean;
|
||||
export default _default;
|
||||
//# sourceMappingURL=not-empty.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/not-empty.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/not-empty.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"not-empty.d.ts","sourceRoot":"","sources":["../src/not-empty.ts"],"names":[],"mappings":"gCAAuB,MAAM,KAAG,OAAO;AAAvC,wBAC+C"}
|
4
node_modules/@commitlint/ensure/lib/not-empty.js
generated
vendored
Normal file
4
node_modules/@commitlint/ensure/lib/not-empty.js
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = (value) => typeof value === 'string' && value.length > 0;
|
||||
//# sourceMappingURL=not-empty.js.map
|
1
node_modules/@commitlint/ensure/lib/not-empty.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/not-empty.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"not-empty.js","sourceRoot":"","sources":["../src/not-empty.ts"],"names":[],"mappings":";;AAAA,kBAAe,CAAC,KAAa,EAAW,EAAE,CACzC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC"}
|
3
node_modules/@commitlint/ensure/lib/to-case.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/ensure/lib/to-case.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { TargetCaseType } from '@commitlint/types';
|
||||
export default function toCase(input: string, target: TargetCaseType): string;
|
||||
//# sourceMappingURL=to-case.d.ts.map
|
1
node_modules/@commitlint/ensure/lib/to-case.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/to-case.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"to-case.d.ts","sourceRoot":"","sources":["../src/to-case.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAOjD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,MAAM,CAyB5E"}
|
38
node_modules/@commitlint/ensure/lib/to-case.js
generated
vendored
Normal file
38
node_modules/@commitlint/ensure/lib/to-case.js
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const camelCase_1 = __importDefault(require("lodash/camelCase"));
|
||||
const kebabCase_1 = __importDefault(require("lodash/kebabCase"));
|
||||
const snakeCase_1 = __importDefault(require("lodash/snakeCase"));
|
||||
const upperFirst_1 = __importDefault(require("lodash/upperFirst"));
|
||||
const startCase_1 = __importDefault(require("lodash/startCase"));
|
||||
function toCase(input, target) {
|
||||
switch (target) {
|
||||
case 'camel-case':
|
||||
return (0, camelCase_1.default)(input);
|
||||
case 'kebab-case':
|
||||
return (0, kebabCase_1.default)(input);
|
||||
case 'snake-case':
|
||||
return (0, snakeCase_1.default)(input);
|
||||
case 'pascal-case':
|
||||
return (0, upperFirst_1.default)((0, camelCase_1.default)(input));
|
||||
case 'start-case':
|
||||
return (0, startCase_1.default)(input);
|
||||
case 'upper-case':
|
||||
case 'uppercase':
|
||||
return input.toUpperCase();
|
||||
case 'sentence-case':
|
||||
case 'sentencecase':
|
||||
return (0, upperFirst_1.default)(input);
|
||||
case 'lower-case':
|
||||
case 'lowercase':
|
||||
case 'lowerCase': // Backwards compat config-angular v4
|
||||
return input.toLowerCase();
|
||||
default:
|
||||
throw new TypeError(`to-case: Unknown target case "${target}"`);
|
||||
}
|
||||
}
|
||||
exports.default = toCase;
|
||||
//# sourceMappingURL=to-case.js.map
|
1
node_modules/@commitlint/ensure/lib/to-case.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/ensure/lib/to-case.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"to-case.js","sourceRoot":"","sources":["../src/to-case.ts"],"names":[],"mappings":";;;;;AACA,iEAAyC;AACzC,iEAAyC;AACzC,iEAAyC;AACzC,mEAA2C;AAC3C,iEAAyC;AAEzC,SAAwB,MAAM,CAAC,KAAa,EAAE,MAAsB;IACnE,QAAQ,MAAM,EAAE;QACf,KAAK,YAAY;YAChB,OAAO,IAAA,mBAAS,EAAC,KAAK,CAAC,CAAC;QACzB,KAAK,YAAY;YAChB,OAAO,IAAA,mBAAS,EAAC,KAAK,CAAC,CAAC;QACzB,KAAK,YAAY;YAChB,OAAO,IAAA,mBAAS,EAAC,KAAK,CAAC,CAAC;QACzB,KAAK,aAAa;YACjB,OAAO,IAAA,oBAAU,EAAC,IAAA,mBAAS,EAAC,KAAK,CAAC,CAAC,CAAC;QACrC,KAAK,YAAY;YAChB,OAAO,IAAA,mBAAS,EAAC,KAAK,CAAC,CAAC;QACzB,KAAK,YAAY,CAAC;QAClB,KAAK,WAAW;YACf,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;QAC5B,KAAK,eAAe,CAAC;QACrB,KAAK,cAAc;YAClB,OAAO,IAAA,oBAAU,EAAC,KAAK,CAAC,CAAC;QAC1B,KAAK,YAAY,CAAC;QAClB,KAAK,WAAW,CAAC;QACjB,KAAK,WAAW,EAAE,qCAAqC;YACtD,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;QAC5B;YACC,MAAM,IAAI,SAAS,CAAC,iCAAiC,MAAM,GAAG,CAAC,CAAC;KACjE;AACF,CAAC;AAzBD,yBAyBC"}
|
21
node_modules/@commitlint/ensure/license.md
generated
vendored
Normal file
21
node_modules/@commitlint/ensure/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/ensure/package.json
generated
vendored
Normal file
47
node_modules/@commitlint/ensure/package.json
generated
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "@commitlint/ensure",
|
||||
"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/ensure"
|
||||
},
|
||||
"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/utils": "^15.0.0",
|
||||
"@types/lodash": "^4.14.161",
|
||||
"globby": "^11.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@commitlint/types": "^15.0.0",
|
||||
"lodash": "^4.17.19"
|
||||
},
|
||||
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
|
||||
}
|
267
node_modules/@commitlint/execute-rule/CHANGELOG.md
generated
vendored
Normal file
267
node_modules/@commitlint/execute-rule/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,267 @@
|
||||
# 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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/execute-rule
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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
|
||||
|
||||
* 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/execute-rule
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/execute-rule
|
||||
|
||||
<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/execute-rule
|
||||
|
||||
<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/execute-rule
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/execute-rule
|
||||
|
||||
<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/execute-rule
|
||||
|
||||
<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/execute-rule
|
||||
|
||||
<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/execute-rule
|
||||
|
||||
<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/execute-rule
|
7
node_modules/@commitlint/execute-rule/lib/index.d.ts
generated
vendored
Normal file
7
node_modules/@commitlint/execute-rule/lib/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
declare type Rule<T> = readonly [string, Config<T>];
|
||||
declare type Config<T> = T | Promise<T> | ExectableConfig<T>;
|
||||
declare type ExectableConfig<T> = (() => T) | (() => Promise<T>);
|
||||
declare type ExecutedRule<T> = readonly [string, T];
|
||||
export default execute;
|
||||
export declare function execute<T = unknown>(rule?: Rule<T>): Promise<ExecutedRule<T> | null>;
|
||||
//# sourceMappingURL=index.d.ts.map
|
1
node_modules/@commitlint/execute-rule/lib/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/execute-rule/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,aAAK,IAAI,CAAC,CAAC,IAAI,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5C,aAAK,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;AACrD,aAAK,eAAe,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AAEzD,aAAK,YAAY,CAAC,CAAC,IAAI,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAE5C,eAAe,OAAO,CAAC;AAEvB,wBAAsB,OAAO,CAAC,CAAC,GAAG,OAAO,EACxC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GACZ,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAUjC"}
|
17
node_modules/@commitlint/execute-rule/lib/index.js
generated
vendored
Normal file
17
node_modules/@commitlint/execute-rule/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.execute = void 0;
|
||||
exports.default = execute;
|
||||
async function execute(rule) {
|
||||
if (!Array.isArray(rule)) {
|
||||
return null;
|
||||
}
|
||||
const [name, config] = rule;
|
||||
const fn = executable(config) ? config : async () => config;
|
||||
return [name, await fn()];
|
||||
}
|
||||
exports.execute = execute;
|
||||
function executable(config) {
|
||||
return typeof config === 'function';
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@commitlint/execute-rule/lib/index.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/execute-rule/lib/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAMA,kBAAe,OAAO,CAAC;AAEhB,KAAK,UAAU,OAAO,CAC5B,IAAc;IAEd,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,IAAI,CAAC;KACZ;IAED,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IAE5B,MAAM,EAAE,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,MAAM,CAAC;IAE5D,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC;AAC3B,CAAC;AAZD,0BAYC;AAED,SAAS,UAAU,CAAI,MAAiB;IACvC,OAAO,OAAO,MAAM,KAAK,UAAU,CAAC;AACrC,CAAC"}
|
21
node_modules/@commitlint/execute-rule/license.md
generated
vendored
Normal file
21
node_modules/@commitlint/execute-rule/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.
|
41
node_modules/@commitlint/execute-rule/package.json
generated
vendored
Normal file
41
node_modules/@commitlint/execute-rule/package.json
generated
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "@commitlint/execute-rule",
|
||||
"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/execute-rule"
|
||||
},
|
||||
"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/utils": "^15.0.0"
|
||||
},
|
||||
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
|
||||
}
|
308
node_modules/@commitlint/format/CHANGELOG.md
generated
vendored
Normal file
308
node_modules/@commitlint/format/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,308 @@
|
||||
# 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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [14.1.0](https://github.com/conventional-changelog/commitlint/compare/v14.0.0...v14.1.0) (2021-11-01)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* extend helpUrl from shareable config ([#2846](https://github.com/conventional-changelog/commitlint/issues/2846)) ([d7e2e2b](https://github.com/conventional-changelog/commitlint/commit/d7e2e2b943be383f99f4000b6b6bed0eab03bfcf))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **types:** correct chalkColor type ([#2420](https://github.com/conventional-changelog/commitlint/issues/2420)) ([ef8bdad](https://github.com/conventional-changelog/commitlint/commit/ef8bdad96c9ee7c3ad67f8280818c7f49c1df1fe))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* ensure format() is available as commonjs default export [#645](https://github.com/conventional-changelog/commitlint/issues/645) ([ec3da92](https://github.com/conventional-changelog/commitlint/commit/ec3da92))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* avoid excessive help text [#606](https://github.com/conventional-changelog/commitlint/issues/606) ([#637](https://github.com/conventional-changelog/commitlint/issues/637)) ([8f3c3b1](https://github.com/conventional-changelog/commitlint/commit/8f3c3b1))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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
|
||||
|
||||
* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a))
|
||||
* cleanup message for input with no config ([#519](https://github.com/conventional-changelog/commitlint/issues/519)) ([7d9e760](https://github.com/conventional-changelog/commitlint/commit/7d9e760))
|
||||
* 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))
|
||||
* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.4.0"></a>
|
||||
# [7.4.0](https://github.com/conventional-changelog/commitlint/compare/v7.3.2...v7.4.0) (2019-01-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* correction to need help link ([#540](https://github.com/conventional-changelog/commitlint/issues/540)) ([fa6168a](https://github.com/conventional-changelog/commitlint/commit/fa6168a))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/format
|
||||
|
||||
<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
|
||||
|
||||
* **format:** add new line to result ([#518](https://github.com/conventional-changelog/commitlint/issues/518)) ([f1d443b](https://github.com/conventional-changelog/commitlint/commit/f1d443b)), closes [#504](https://github.com/conventional-changelog/commitlint/issues/504)
|
||||
* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.2.1"></a>
|
||||
## [7.2.1](https://github.com/conventional-changelog/commitlint/compare/v7.2.0...v7.2.1) (2018-10-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/format
|
||||
|
||||
<a name="7.2.0"></a>
|
||||
# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/format
|
||||
|
||||
<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/format
|
||||
|
||||
<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/format
|
65
node_modules/@commitlint/format/README.md
generated
vendored
Normal file
65
node_modules/@commitlint/format/README.md
generated
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
> Format commitlint reports
|
||||
|
||||
# @commitlint/format
|
||||
|
||||
## Getting started
|
||||
|
||||
```shell
|
||||
npm install --save @commitlint/format
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
const format = require('@commitlint/format').default;
|
||||
|
||||
const output = format(
|
||||
{
|
||||
valid: false,
|
||||
errorCount: 1,
|
||||
warningCount: 1,
|
||||
results: [
|
||||
{
|
||||
valid: false,
|
||||
input: 'some: commit message',
|
||||
errors: [
|
||||
{
|
||||
valid: false,
|
||||
level: 2,
|
||||
name: 'some-error',
|
||||
message: 'This will show up red as it has level 2',
|
||||
},
|
||||
],
|
||||
warnings: [
|
||||
{
|
||||
valid: true,
|
||||
level: 0,
|
||||
name: 'some-hint',
|
||||
message: 'This will not show up as it has level 0',
|
||||
},
|
||||
{
|
||||
valid: false,
|
||||
level: 1,
|
||||
name: 'some-warning',
|
||||
message: 'This will show up yellow as it has level 1',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
color: false,
|
||||
}
|
||||
);
|
||||
|
||||
process.stdout.write(output);
|
||||
|
||||
/* => [
|
||||
'✖ This will show up red as it has level 2 [some-error]',
|
||||
' This will not show up as it has level 0 [some-hint]',
|
||||
'⚠ This will show up yellow as it has level 1 [some-warning]',
|
||||
'✖ found 1 problems, 2 warnings'
|
||||
] */
|
||||
```
|
||||
|
||||
Consult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation.
|
5
node_modules/@commitlint/format/lib/format.d.ts
generated
vendored
Normal file
5
node_modules/@commitlint/format/lib/format.d.ts
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
import { FormattableReport, FormatOptions, FormattableResult } from '@commitlint/types';
|
||||
export declare function format(report?: FormattableReport, options?: FormatOptions): string;
|
||||
export declare function formatResult(result?: FormattableResult, options?: FormatOptions): string[];
|
||||
export default format;
|
||||
//# sourceMappingURL=format.d.ts.map
|
1
node_modules/@commitlint/format/lib/format.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/format/lib/format.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../src/format.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EAEjB,MAAM,mBAAmB,CAAC;AAK3B,wBAAgB,MAAM,CACrB,MAAM,GAAE,iBAAsB,EAC9B,OAAO,GAAE,aAAkB,GACzB,MAAM,CAcR;AAyBD,wBAAgB,YAAY,CAC3B,MAAM,GAAE,iBAAsB,EAC9B,OAAO,GAAE,aAAkB,GACzB,MAAM,EAAE,CA8CV;AAED,eAAe,MAAM,CAAC"}
|
83
node_modules/@commitlint/format/lib/format.js
generated
vendored
Normal file
83
node_modules/@commitlint/format/lib/format.js
generated
vendored
Normal file
@ -0,0 +1,83 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.formatResult = exports.format = void 0;
|
||||
const chalk_1 = __importDefault(require("chalk"));
|
||||
const DEFAULT_SIGNS = [' ', '⚠', '✖'];
|
||||
const DEFAULT_COLORS = ['white', 'yellow', 'red'];
|
||||
function format(report = {}, options = {}) {
|
||||
const { results = [] } = report;
|
||||
const fi = (result) => formatInput(result, options);
|
||||
const fr = (result) => formatResult(result, options);
|
||||
return results
|
||||
.filter((r) => Array.isArray(r.warnings) || Array.isArray(r.errors))
|
||||
.map((result) => [...fi(result), ...fr(result)])
|
||||
.reduce((acc, item) => (Array.isArray(item) ? [...acc, ...item] : [...acc, item]), [])
|
||||
.join('\n');
|
||||
}
|
||||
exports.format = format;
|
||||
function formatInput(result, options = {}) {
|
||||
const { color: enabled = true } = options;
|
||||
const { errors = [], warnings = [], input = '' } = result;
|
||||
if (!input) {
|
||||
return [''];
|
||||
}
|
||||
const sign = '⧗';
|
||||
const decoration = enabled ? chalk_1.default.gray(sign) : sign;
|
||||
const commitText = errors.length > 0 ? input : input.split('\n')[0];
|
||||
const decoratedInput = enabled ? chalk_1.default.bold(commitText) : commitText;
|
||||
const hasProblems = errors.length > 0 || warnings.length > 0;
|
||||
return options.verbose || hasProblems
|
||||
? [`${decoration} input: ${decoratedInput}`]
|
||||
: [];
|
||||
}
|
||||
function formatResult(result = {}, options = {}) {
|
||||
const { signs = DEFAULT_SIGNS, colors = DEFAULT_COLORS, color: enabled = true, } = options;
|
||||
const { errors = [], warnings = [] } = result;
|
||||
const problems = [...errors, ...warnings].map((problem) => {
|
||||
const sign = signs[problem.level] || '';
|
||||
const color = colors[problem.level] || 'white';
|
||||
const decoration = enabled ? chalk_1.default[color](sign) : sign;
|
||||
const name = enabled
|
||||
? chalk_1.default.grey(`[${problem.name}]`)
|
||||
: `[${problem.name}]`;
|
||||
return `${decoration} ${problem.message} ${name}`;
|
||||
});
|
||||
const sign = selectSign(result);
|
||||
const color = selectColor(result);
|
||||
const deco = enabled ? chalk_1.default[color](sign) : sign;
|
||||
const el = errors.length;
|
||||
const wl = warnings.length;
|
||||
const hasProblems = problems.length > 0;
|
||||
const summary = options.verbose || hasProblems
|
||||
? `${deco} found ${el} problems, ${wl} warnings`
|
||||
: undefined;
|
||||
const fmtSummary = enabled && typeof summary === 'string' ? chalk_1.default.bold(summary) : summary;
|
||||
const help = hasProblems && options.helpUrl
|
||||
? `ⓘ Get help: ${options.helpUrl}`
|
||||
: undefined;
|
||||
return [
|
||||
...problems,
|
||||
hasProblems ? '' : undefined,
|
||||
fmtSummary,
|
||||
help,
|
||||
hasProblems ? '' : undefined,
|
||||
].filter((line) => typeof line === 'string');
|
||||
}
|
||||
exports.formatResult = formatResult;
|
||||
exports.default = format;
|
||||
function selectSign(result) {
|
||||
if ((result.errors || []).length > 0) {
|
||||
return '✖';
|
||||
}
|
||||
return (result.warnings || []).length ? '⚠' : '✔';
|
||||
}
|
||||
function selectColor(result) {
|
||||
if ((result.errors || []).length > 0) {
|
||||
return 'red';
|
||||
}
|
||||
return (result.warnings || []).length ? 'yellow' : 'green';
|
||||
}
|
||||
//# sourceMappingURL=format.js.map
|
1
node_modules/@commitlint/format/lib/format.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/format/lib/format.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"format.js","sourceRoot":"","sources":["../src/format.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAS1B,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAU,CAAC;AAC/C,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAU,CAAC;AAE3D,SAAgB,MAAM,CACrB,SAA4B,EAAE,EAC9B,UAAyB,EAAE;IAE3B,MAAM,EAAC,OAAO,GAAG,EAAE,EAAC,GAAG,MAAM,CAAC;IAC9B,MAAM,EAAE,GAAG,CAAC,MAAqC,EAAE,EAAE,CACpD,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,MAAM,EAAE,GAAG,CAAC,MAAyB,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAExE,OAAO,OAAO;SACZ,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;SACnE,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;SAC/C,MAAM,CACN,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,CAAC,CAAC,EACzE,EAAE,CACF;SACA,IAAI,CAAC,IAAI,CAAC,CAAC;AACd,CAAC;AAjBD,wBAiBC;AAED,SAAS,WAAW,CACnB,MAAqC,EACrC,UAAyB,EAAE;IAE3B,MAAM,EAAC,KAAK,EAAE,OAAO,GAAG,IAAI,EAAC,GAAG,OAAO,CAAC;IACxC,MAAM,EAAC,MAAM,GAAG,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAC,GAAG,MAAM,CAAC;IAExD,IAAI,CAAC,KAAK,EAAE;QACX,OAAO,CAAC,EAAE,CAAC,CAAC;KACZ;IAED,MAAM,IAAI,GAAG,GAAG,CAAC;IACjB,MAAM,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACrD,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAEpE,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,eAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;IACrE,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IAE7D,OAAO,OAAO,CAAC,OAAO,IAAI,WAAW;QACpC,CAAC,CAAC,CAAC,GAAG,UAAU,aAAa,cAAc,EAAE,CAAC;QAC9C,CAAC,CAAC,EAAE,CAAC;AACP,CAAC;AAED,SAAgB,YAAY,CAC3B,SAA4B,EAAE,EAC9B,UAAyB,EAAE;IAE3B,MAAM,EACL,KAAK,GAAG,aAAa,EACrB,MAAM,GAAG,cAAc,EACvB,KAAK,EAAE,OAAO,GAAG,IAAI,GACrB,GAAG,OAAO,CAAC;IACZ,MAAM,EAAC,MAAM,GAAG,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAC,GAAG,MAAM,CAAC;IAE5C,MAAM,QAAQ,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QACzD,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QACxC,MAAM,KAAK,GAAe,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,IAAK,OAAiB,CAAC;QACtE,MAAM,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,eAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACvD,MAAM,IAAI,GAAG,OAAO;YACnB,CAAC,CAAC,eAAK,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,IAAI,GAAG,CAAC;YACjC,CAAC,CAAC,IAAI,OAAO,CAAC,IAAI,GAAG,CAAC;QACvB,OAAO,GAAG,UAAU,MAAM,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAChC,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;IAElC,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,eAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC;IACzB,MAAM,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC3B,MAAM,WAAW,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IAExC,MAAM,OAAO,GACZ,OAAO,CAAC,OAAO,IAAI,WAAW;QAC7B,CAAC,CAAC,GAAG,IAAI,YAAY,EAAE,cAAc,EAAE,WAAW;QAClD,CAAC,CAAC,SAAS,CAAC;IAEd,MAAM,UAAU,GACf,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,eAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IAExE,MAAM,IAAI,GACT,WAAW,IAAI,OAAO,CAAC,OAAO;QAC7B,CAAC,CAAC,iBAAiB,OAAO,CAAC,OAAO,EAAE;QACpC,CAAC,CAAC,SAAS,CAAC;IAEd,OAAO;QACN,GAAG,QAAQ;QACX,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;QAC5B,UAAU;QACV,IAAI;QACJ,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KAC5B,CAAC,MAAM,CAAC,CAAC,IAAI,EAAkB,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC;AAC9D,CAAC;AAjDD,oCAiDC;AAED,kBAAe,MAAM,CAAC;AAEtB,SAAS,UAAU,CAAC,MAAyB;IAC5C,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;QACrC,OAAO,GAAG,CAAC;KACX;IACD,OAAO,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AACnD,CAAC;AAED,SAAS,WAAW,CAAC,MAAyB;IAC7C,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;QACrC,OAAO,KAAK,CAAC;KACb;IACD,OAAO,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;AAC5D,CAAC"}
|
3
node_modules/@commitlint/format/lib/index.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/format/lib/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export { default } from './format';
|
||||
export * from './format';
|
||||
//# sourceMappingURL=index.d.ts.map
|
1
node_modules/@commitlint/format/lib/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/format/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,OAAO,EAAC,MAAM,UAAU,CAAC;AACjC,cAAc,UAAU,CAAC"}
|
20
node_modules/@commitlint/format/lib/index.js
generated
vendored
Normal file
20
node_modules/@commitlint/format/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = void 0;
|
||||
var format_1 = require("./format");
|
||||
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(format_1).default; } });
|
||||
__exportStar(require("./format"), exports);
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@commitlint/format/lib/index.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/format/lib/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mCAAiC;AAAzB,kHAAA,OAAO,OAAA;AACf,2CAAyB"}
|
21
node_modules/@commitlint/format/license.md
generated
vendored
Normal file
21
node_modules/@commitlint/format/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.
|
45
node_modules/@commitlint/format/package.json
generated
vendored
Normal file
45
node_modules/@commitlint/format/package.json
generated
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"name": "@commitlint/format",
|
||||
"version": "15.0.0",
|
||||
"description": "Format commitlint reports",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"files": [
|
||||
"lib/"
|
||||
],
|
||||
"scripts": {
|
||||
"deps": "dep-check",
|
||||
"pkg": "pkg-check --skip-import"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=v12"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/conventional-changelog/commitlint.git",
|
||||
"directory": "@commitlint/format"
|
||||
},
|
||||
"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/utils": "^15.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@commitlint/types": "^15.0.0",
|
||||
"chalk": "^4.0.0"
|
||||
},
|
||||
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
|
||||
}
|
366
node_modules/@commitlint/is-ignored/CHANGELOG.md
generated
vendored
Normal file
366
node_modules/@commitlint/is-ignored/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,366 @@
|
||||
# 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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency semver to v7.3.5 ([#2519](https://github.com/conventional-changelog/commitlint/issues/2519)) ([5113f22](https://github.com/conventional-changelog/commitlint/commit/5113f22c620e7b187fd558e5befa541b448ea18b))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency semver to v7.3.4 ([#2336](https://github.com/conventional-changelog/commitlint/issues/2336)) ([790b61a](https://github.com/conventional-changelog/commitlint/commit/790b61afa668d0eab80bbe49db58d3d5d29bb16e))
|
||||
* **is-ignored:** ignore azure devops messages ([#2230](https://github.com/conventional-changelog/commitlint/issues/2230)) ([fe29ce7](https://github.com/conventional-changelog/commitlint/commit/fe29ce76bd87d5b42048228fbf0f47cc8d5411ec))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency semver to v7.3.2 ([#1369](https://github.com/conventional-changelog/commitlint/issues/1369)) ([3c09722](https://github.com/conventional-changelog/commitlint/commit/3c09722d2db85a94cd1f4bf25c6b4251b2c41bbb))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency semver to v7.1.3 ([#995](https://github.com/conventional-changelog/commitlint/issues/995)) ([4ee307a](https://github.com/conventional-changelog/commitlint/commit/4ee307a1f8c861ae5d8a038560d166c5d00ea8ba))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **is-ignored:** move types to dev dependencies ([#897](https://github.com/conventional-changelog/commitlint/issues/897)) ([aabc549](https://github.com/conventional-changelog/commitlint/commit/aabc549))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/is-ignored
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* config based is-ignored overrides ([#595](https://github.com/conventional-changelog/commitlint/issues/595)) ([2434d71](https://github.com/conventional-changelog/commitlint/commit/2434d71))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.5.1](https://github.com/conventional-changelog/commitlint/compare/v7.5.0...v7.5.1) (2019-02-09)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **is-ignored:** ignore bitbuckets automatic merge ([#573](https://github.com/conventional-changelog/commitlint/issues/573)) ([e5bdc5c](https://github.com/conventional-changelog/commitlint/commit/e5bdc5c))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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
|
||||
|
||||
* 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/is-ignored
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/is-ignored
|
||||
|
||||
<a name="7.2.1"></a>
|
||||
## [7.2.1](https://github.com/conventional-changelog/commitlint/compare/v7.2.0...v7.2.1) (2018-10-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/is-ignored
|
||||
|
||||
<a name="7.2.0"></a>
|
||||
# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* ignore merge messages with text after newline ([b32bc93](https://github.com/conventional-changelog/commitlint/commit/b32bc93))
|
||||
* use grouped regex to ignore merge commits ([#439](https://github.com/conventional-changelog/commitlint/issues/439)) ([905e9d5](https://github.com/conventional-changelog/commitlint/commit/905e9d5))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/is-ignored
|
||||
|
||||
<a name="7.1.0"></a>
|
||||
# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **wildcards:** add new wildcard patterns [#315](https://github.com/conventional-changelog/commitlint/issues/315) ([e9ea17f](https://github.com/conventional-changelog/commitlint/commit/e9ea17f))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/is-ignored
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/is-ignored
|
||||
|
||||
<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/is-ignored
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update dependency semver to v5.5.0 ([#236](https://github.com/conventional-changelog/commitlint/issues/236)) ([6c52bd9](https://github.com/conventional-changelog/commitlint/commit/6c52bd9))
|
||||
|
||||
|
||||
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* ignore branch merges with multiple newlines ([#227](https://github.com/conventional-changelog/commitlint/issues/227)) ([1f0c5ca](https://github.com/conventional-changelog/commitlint/commit/1f0c5ca))
|
||||
|
||||
|
||||
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* ignore branch merges with newlines ([#214](https://github.com/conventional-changelog/commitlint/issues/214)) ([c94c4dc](https://github.com/conventional-changelog/commitlint/commit/c94c4dc))
|
3
node_modules/@commitlint/is-ignored/lib/defaults.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/is-ignored/lib/defaults.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { Matcher } from '@commitlint/types';
|
||||
export declare const wildcards: Matcher[];
|
||||
//# sourceMappingURL=defaults.d.ts.map
|
1
node_modules/@commitlint/is-ignored/lib/defaults.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/is-ignored/lib/defaults.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAe1C,eAAO,MAAM,SAAS,EAAE,OAAO,EAW9B,CAAC"}
|
43
node_modules/@commitlint/is-ignored/lib/defaults.js
generated
vendored
Normal file
43
node_modules/@commitlint/is-ignored/lib/defaults.js
generated
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.wildcards = void 0;
|
||||
const semver = __importStar(require("semver"));
|
||||
const isSemver = (c) => {
|
||||
const firstLine = c.split('\n').shift();
|
||||
if (typeof firstLine !== 'string') {
|
||||
return false;
|
||||
}
|
||||
const stripped = firstLine.replace(/^chore(\([^)]+\))?:/, '').trim();
|
||||
return semver.valid(stripped) !== null;
|
||||
};
|
||||
const test = (r) => r.test.bind(r);
|
||||
exports.wildcards = [
|
||||
test(/^((Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?)))(?:\r?\n)*$)/m),
|
||||
test(/^(R|r)evert (.*)/),
|
||||
test(/^(fixup|squash)!/),
|
||||
isSemver,
|
||||
test(/^(Merged (.*?)(in|into) (.*)|Merged PR (.*): (.*))/),
|
||||
test(/^Merge remote-tracking branch(\s*)(.*)/),
|
||||
test(/^Automatic merge(.*)/),
|
||||
test(/^Auto-merged (.*?) into (.*)/),
|
||||
];
|
||||
//# sourceMappingURL=defaults.js.map
|
1
node_modules/@commitlint/is-ignored/lib/defaults.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/is-ignored/lib/defaults.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AAGjC,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAW,EAAE;IACvC,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC;IAExC,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;QAClC,OAAO,KAAK,CAAC;KACb;IAED,MAAM,QAAQ,GAAG,SAAS,CAAC,OAAO,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACrE,OAAO,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,IAAI,GAAG,CAAC,CAAS,EAA4B,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAExD,QAAA,SAAS,GAAc;IACnC,IAAI,CACH,mFAAmF,CACnF;IACD,IAAI,CAAC,kBAAkB,CAAC;IACxB,IAAI,CAAC,kBAAkB,CAAC;IACxB,QAAQ;IACR,IAAI,CAAC,oDAAoD,CAAC;IAC1D,IAAI,CAAC,wCAAwC,CAAC;IAC9C,IAAI,CAAC,sBAAsB,CAAC;IAC5B,IAAI,CAAC,8BAA8B,CAAC;CACpC,CAAC"}
|
3
node_modules/@commitlint/is-ignored/lib/index.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/is-ignored/lib/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export * from './is-ignored';
|
||||
export { default } from './is-ignored';
|
||||
//# sourceMappingURL=index.d.ts.map
|
1
node_modules/@commitlint/is-ignored/lib/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/is-ignored/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,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC"}
|
20
node_modules/@commitlint/is-ignored/lib/index.js
generated
vendored
Normal file
20
node_modules/@commitlint/is-ignored/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = void 0;
|
||||
__exportStar(require("./is-ignored"), exports);
|
||||
var is_ignored_1 = require("./is-ignored");
|
||||
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(is_ignored_1).default; } });
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@commitlint/is-ignored/lib/index.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/is-ignored/lib/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAqC;AAA7B,sHAAA,OAAO,OAAA"}
|
3
node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { IsIgnoredOptions } from '@commitlint/types';
|
||||
export default function isIgnored(commit?: string, opts?: IsIgnoredOptions): boolean;
|
||||
//# sourceMappingURL=is-ignored.d.ts.map
|
1
node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/is-ignored/lib/is-ignored.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"is-ignored.d.ts","sourceRoot":"","sources":["../src/is-ignored.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,SAAS,CAChC,MAAM,GAAE,MAAW,EACnB,IAAI,GAAE,gBAAqB,GACzB,OAAO,CAqBT"}
|
19
node_modules/@commitlint/is-ignored/lib/is-ignored.js
generated
vendored
Normal file
19
node_modules/@commitlint/is-ignored/lib/is-ignored.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const defaults_1 = require("./defaults");
|
||||
function isIgnored(commit = '', opts = {}) {
|
||||
const ignores = typeof opts.ignores === 'undefined' ? [] : opts.ignores;
|
||||
if (!Array.isArray(ignores)) {
|
||||
throw new Error(`ignores must be of type array, received ${ignores} of type ${typeof ignores}`);
|
||||
}
|
||||
const invalids = ignores.filter((c) => typeof c !== 'function');
|
||||
if (invalids.length > 0) {
|
||||
throw new Error(`ignores must be array of type function, received items of type: ${invalids
|
||||
.map((i) => typeof i)
|
||||
.join(', ')}`);
|
||||
}
|
||||
const base = opts.defaults === false ? [] : defaults_1.wildcards;
|
||||
return [...base, ...ignores].some((w) => w(commit));
|
||||
}
|
||||
exports.default = isIgnored;
|
||||
//# sourceMappingURL=is-ignored.js.map
|
1
node_modules/@commitlint/is-ignored/lib/is-ignored.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/is-ignored/lib/is-ignored.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"is-ignored.js","sourceRoot":"","sources":["../src/is-ignored.ts"],"names":[],"mappings":";;AAAA,yCAAqC;AAGrC,SAAwB,SAAS,CAChC,SAAiB,EAAE,EACnB,OAAyB,EAAE;IAE3B,MAAM,OAAO,GAAG,OAAO,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;IAExE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC5B,MAAM,IAAI,KAAK,CACd,2CAA2C,OAAO,YAAY,OAAO,OAAO,EAAE,CAC9E,CAAC;KACF;IAED,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,UAAU,CAAC,CAAC;IAEhE,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;QACxB,MAAM,IAAI,KAAK,CACd,mEAAmE,QAAQ;aACzE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;aACpB,IAAI,CAAC,IAAI,CAAC,EAAE,CACd,CAAC;KACF;IAED,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,oBAAS,CAAC;IACtD,OAAO,CAAC,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AACrD,CAAC;AAxBD,4BAwBC"}
|
21
node_modules/@commitlint/is-ignored/license.md
generated
vendored
Normal file
21
node_modules/@commitlint/is-ignored/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.
|
48
node_modules/@commitlint/is-ignored/package.json
generated
vendored
Normal file
48
node_modules/@commitlint/is-ignored/package.json
generated
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "@commitlint/is-ignored",
|
||||
"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/is-ignored"
|
||||
},
|
||||
"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/parse": "^15.0.0",
|
||||
"@commitlint/test": "^15.0.0",
|
||||
"@commitlint/utils": "^15.0.0",
|
||||
"@types/semver": "7.3.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"@commitlint/types": "^15.0.0",
|
||||
"semver": "7.3.5"
|
||||
},
|
||||
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
|
||||
}
|
355
node_modules/@commitlint/lint/CHANGELOG.md
generated
vendored
Normal file
355
node_modules/@commitlint/lint/CHANGELOG.md
generated
vendored
Normal file
@ -0,0 +1,355 @@
|
||||
# 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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [14.1.0](https://github.com/conventional-changelog/commitlint/compare/v14.0.0...v14.1.0) (2021-11-01)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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))
|
||||
* ignore empty commit messages [#615](https://github.com/conventional-changelog/commitlint/issues/615) ([#676](https://github.com/conventional-changelog/commitlint/issues/676)) ([c3eb1a7](https://github.com/conventional-changelog/commitlint/commit/c3eb1a76e08213d7ce1f200e35f8d5d6de18982a))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add async promise based rules methods into lint ([#976](https://github.com/conventional-changelog/commitlint/issues/976)) ([4443062](https://github.com/conventional-changelog/commitlint/commit/444306249b8a3d04524538f61edca8f6cc10d75f))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [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/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* adds support for plugins ([#228](https://github.com/conventional-changelog/commitlint/issues/228)) ([#588](https://github.com/conventional-changelog/commitlint/issues/588)) ([cea4564](https://github.com/conventional-changelog/commitlint/commit/cea4564))
|
||||
* config based is-ignored overrides ([#595](https://github.com/conventional-changelog/commitlint/issues/595)) ([2434d71](https://github.com/conventional-changelog/commitlint/commit/2434d71))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.5.1](https://github.com/conventional-changelog/commitlint/compare/v7.5.0...v7.5.1) (2019-02-09)
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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
|
||||
|
||||
* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a))
|
||||
* 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))
|
||||
* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.4.0"></a>
|
||||
# [7.4.0](https://github.com/conventional-changelog/commitlint/compare/v7.3.2...v7.4.0) (2019-01-27)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
<a name="7.3.2"></a>
|
||||
## [7.3.2](https://github.com/conventional-changelog/commitlint/compare/v7.3.1...v7.3.2) (2019-01-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* move loadsh to dependencies ([1bb66a4](https://github.com/conventional-changelog/commitlint/commit/1bb66a4))
|
||||
|
||||
|
||||
|
||||
|
||||
<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/lint
|
||||
|
||||
<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
|
||||
|
||||
* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b))
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="7.2.1"></a>
|
||||
## [7.2.1](https://github.com/conventional-changelog/commitlint/compare/v7.2.0...v7.2.1) (2018-10-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
<a name="7.2.0"></a>
|
||||
# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
<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/lint
|
||||
|
||||
<a name="7.1.0"></a>
|
||||
# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @commitlint/lint
|
||||
|
||||
<a name="6.2.0"></a>
|
||||
# [6.2.0](https://github.com/conventional-changelog/commitlint/compare/v6.1.3...v6.2.0) (2018-05-01)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* print commit message when the message is invalid ([86c34f1](https://github.com/conventional-changelog/commitlint/commit/86c34f1)), closes [#222](https://github.com/conventional-changelog/commitlint/issues/222)
|
||||
|
||||
|
||||
|
||||
|
||||
<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/lint
|
35
node_modules/@commitlint/lint/README.md
generated
vendored
Normal file
35
node_modules/@commitlint/lint/README.md
generated
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
> Lint a string against commitlint rules
|
||||
|
||||
# @commitlint/lint
|
||||
|
||||
## Getting started
|
||||
|
||||
```shell
|
||||
npm install --save @commitlint/lint
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
const lint = require('@commitlint/lint').default;
|
||||
|
||||
lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}).then((report) =>
|
||||
console.log(report)
|
||||
);
|
||||
// => { valid: true, errors: [], warnings: [] }
|
||||
|
||||
lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}).then((report) =>
|
||||
console.log(report)
|
||||
);
|
||||
/* =>
|
||||
{ valid: true,
|
||||
errors: [],
|
||||
warnings:
|
||||
[ { level: 1,
|
||||
valid: false,
|
||||
name: 'type-enum',
|
||||
message: 'type must be one of [bar]' } ] }
|
||||
*/
|
||||
```
|
||||
|
||||
Consult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation.
|
7
node_modules/@commitlint/lint/lib/commit-message.d.ts
generated
vendored
Normal file
7
node_modules/@commitlint/lint/lib/commit-message.d.ts
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
export interface CommitMessageData {
|
||||
header: string;
|
||||
body?: string | null;
|
||||
footer?: string | null;
|
||||
}
|
||||
export declare const buildCommitMesage: ({ header, body, footer, }: CommitMessageData) => string;
|
||||
//# sourceMappingURL=commit-message.d.ts.map
|
1
node_modules/@commitlint/lint/lib/commit-message.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/lint/lib/commit-message.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"commit-message.d.ts","sourceRoot":"","sources":["../src/commit-message.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,iBAAiB,8BAI3B,iBAAiB,KAAG,MAOtB,CAAC"}
|
11
node_modules/@commitlint/lint/lib/commit-message.js
generated
vendored
Normal file
11
node_modules/@commitlint/lint/lib/commit-message.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.buildCommitMesage = void 0;
|
||||
const buildCommitMesage = ({ header, body, footer, }) => {
|
||||
let message = header;
|
||||
message = body ? `${message}\n\n${body}` : message;
|
||||
message = footer ? `${message}\n\n${footer}` : message;
|
||||
return message;
|
||||
};
|
||||
exports.buildCommitMesage = buildCommitMesage;
|
||||
//# sourceMappingURL=commit-message.js.map
|
1
node_modules/@commitlint/lint/lib/commit-message.js.map
generated
vendored
Normal file
1
node_modules/@commitlint/lint/lib/commit-message.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"commit-message.js","sourceRoot":"","sources":["../src/commit-message.ts"],"names":[],"mappings":";;;AAMO,MAAM,iBAAiB,GAAG,CAAC,EACjC,MAAM,EACN,IAAI,EACJ,MAAM,GACa,EAAU,EAAE;IAC/B,IAAI,OAAO,GAAG,MAAM,CAAC;IAErB,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,OAAO,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;IACnD,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,OAAO,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;IAEvD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAXW,QAAA,iBAAiB,qBAW5B"}
|
3
node_modules/@commitlint/lint/lib/lint.d.ts
generated
vendored
Normal file
3
node_modules/@commitlint/lint/lib/lint.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { LintOptions, LintOutcome, QualifiedRules } from '@commitlint/types';
|
||||
export default function lint(message: string, rawRulesConfig?: QualifiedRules, rawOpts?: LintOptions): Promise<LintOutcome>;
|
||||
//# sourceMappingURL=lint.d.ts.map
|
1
node_modules/@commitlint/lint/lib/lint.d.ts.map
generated
vendored
Normal file
1
node_modules/@commitlint/lint/lib/lint.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../src/lint.ts"],"names":[],"mappings":"AAKA,OAAO,EACN,WAAW,EACX,WAAW,EAMX,cAAc,EACd,MAAM,mBAAmB,CAAC;AAE3B,wBAA8B,IAAI,CACjC,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,cAAc,EAC/B,OAAO,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,WAAW,CAAC,CAgLtB"}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user