diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index ff1c50d543..882714bf02 100644 --- a/@alias/commitlint-config-angular/CHANGELOG.md +++ b/@alias/commitlint-config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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-angular + + + + + # [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-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 0f7c7130fb..77c009eff6 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "11.0.0", + "version": "12.0.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-angular": "^11.0.0" + "@commitlint/config-angular": "^12.0.0" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index 9fbeab5670..975290c678 100644 --- a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md +++ b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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-lerna-scopes + + + + + # [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-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 422cb5849a..4cb6cdcb94 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-lerna-scopes", - "version": "11.0.0", + "version": "12.0.0", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^11.0.0" + "@commitlint/config-lerna-scopes": "^12.0.0" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index f46fed2178..2188ee5329 100644 --- a/@alias/commitlint-config-patternplate/CHANGELOG.md +++ b/@alias/commitlint-config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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-patternplate + + + + + # [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-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 93f1a92a27..9a47b37611 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-patternplate": "^11.0.0" + "@commitlint/config-patternplate": "^12.0.0" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 63291a8e88..ef99b33def 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 + + + + + # [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 diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 13df0602bc..6fdbc43150 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,13 +34,13 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^11.0.0", - "@commitlint/types": "^11.0.0" + "@commitlint/cli": "^12.0.0", + "@commitlint/types": "^12.0.0" }, "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0", + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0", "execa": "^5.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 83f2c0f16a..927315db26 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 278a68231b..931f0a95b5 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "files": [ "index.js", @@ -36,22 +36,23 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0", + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0", "@types/yargs": "^15.0.5", "execa": "^5.0.0", "fs-extra": "^9.0.0" }, "dependencies": { - "@commitlint/format": "^11.0.0", - "@commitlint/lint": "^11.0.0", - "@commitlint/load": "^11.0.0", - "@commitlint/read": "^11.0.0", - "@commitlint/types": "^11.0.0", + "@commitlint/format": "^12.0.0", + "@commitlint/lint": "^12.0.0", + "@commitlint/load": "^12.0.0", + "@commitlint/read": "^12.0.0", + "@commitlint/types": "^12.0.0", "get-stdin": "8.0.0", "lodash": "^4.17.19", "resolve-from": "5.0.0", "resolve-global": "1.0.0", "yargs": "^16.0.0" - } + }, + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/cli/src/cli.test.ts b/@commitlint/cli/src/cli.test.ts index 7dc80db634..6507182032 100644 --- a/@commitlint/cli/src/cli.test.ts +++ b/@commitlint/cli/src/cli.test.ts @@ -438,8 +438,10 @@ test('should work with relative formatter path', async () => { test('should print help', async () => { const cwd = await gitBootstrap('fixtures/default'); const actual = await cli(['--help'], {cwd})(); - expect(actual.stdout).toMatchInlineSnapshot(` - "@commitlint/cli@11.0.0 - Lint your commit messages + const version = require('../package.json').version; + const stdout = actual.stdout.replace(`@${version}`, '@dev'); + expect(stdout).toMatchInlineSnapshot(` + "@commitlint/cli@dev - Lint your commit messages [input] reads from stdin if --edit, --env, --from and --to are omitted diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index e73799c502..aa90e580c8 100644 --- a/@commitlint/config-angular-type-enum/CHANGELOG.md +++ b/@commitlint/config-angular-type-enum/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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-angular-type-enum + + + + + # [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-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 6b536efc52..6c3c974140 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular-type-enum", - "version": "11.0.0", + "version": "12.0.0", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,7 +29,7 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index cc8e3926c5..4dbd8a6570 100644 --- a/@commitlint/config-angular/CHANGELOG.md +++ b/@commitlint/config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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-angular + + + + + # [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-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 9c9c7c4ec3..9705658350 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "11.0.0", + "version": "12.0.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^11.0.0" + "@commitlint/config-angular-type-enum": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index e2ec50ddce..6db8493323 100644 --- a/@commitlint/config-conventional/CHANGELOG.md +++ b/@commitlint/config-conventional/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 131bb9be12..f89251a215 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "11.0.0", + "version": "12.0.0", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,11 +32,11 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/lint": "^11.0.0", - "@commitlint/utils": "^11.0.0" + "@commitlint/lint": "^12.0.0", + "@commitlint/utils": "^12.0.0" }, "dependencies": { "conventional-changelog-conventionalcommits": "^4.3.1" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index 95d865b342..037ed79dd2 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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)) + + +### Features + +* **config-lerna-scopes:** support yarn workspaces ([#2149](https://github.com/conventional-changelog/commitlint/issues/2149)) ([b244246](https://github.com/conventional-changelog/commitlint/commit/b2442469afe3b11c20b0101be7656ced43fab366)) + + + + + # [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index a5aacd252b..a1dd098954 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-lerna-scopes", - "version": "11.0.0", + "version": "12.0.0", "description": "Shareable commitlint config enforcing lerna package and workspace names as scopes", "files": [ "index.js" @@ -38,8 +38,8 @@ "semver": "7.3.4" }, "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0" + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index 1dd3ce6c65..627dbba566 100644 --- a/@commitlint/config-patternplate/CHANGELOG.md +++ b/@commitlint/config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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-patternplate + + + + + # [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-patternplate diff --git a/@commitlint/config-patternplate/README.md b/@commitlint/config-patternplate/README.md index 0ceb446100..708c933be8 100644 --- a/@commitlint/config-patternplate/README.md +++ b/@commitlint/config-patternplate/README.md @@ -19,7 +19,7 @@ Additionally these rules apply: ### Problems -The following rules are considered problems for `@commitlint/config-patterplate` and will yield a non-zero exit code when not met. +The following rules are considered problems for `@commitlint/config-patternplate` and will yield a non-zero exit code when not met. #### scope-enum diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 12bb54cc77..e07ce413d9 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,12 +29,12 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-angular": "^11.0.0", + "@commitlint/config-angular": "^12.0.0", "globby": "^11.0.0", "lodash": "^4.17.19" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index d272310aa5..4de553670d 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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/core + + + + + # [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/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index e02fe680a4..c7d8363a75 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/core.js", "types": "lib/core.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^11.0.0", - "@commitlint/lint": "^11.0.0", - "@commitlint/load": "^11.0.0", - "@commitlint/read": "^11.0.0" + "@commitlint/format": "^12.0.0", + "@commitlint/lint": "^12.0.0", + "@commitlint/load": "^12.0.0", + "@commitlint/read": "^12.0.0" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index 1ea04efee8..38a0f37c55 100644 --- a/@commitlint/ensure/CHANGELOG.md +++ b/@commitlint/ensure/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 50a2162f72..a17230af60 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^11.0.0", + "@commitlint/utils": "^12.0.0", "@types/lodash": "^4.14.161", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^11.0.0", + "@commitlint/types": "^12.0.0", "lodash": "^4.17.19" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index b1f54a4e0f..fdb3bc475c 100644 --- a/@commitlint/execute-rule/CHANGELOG.md +++ b/@commitlint/execute-rule/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 7678878b25..0da2007d06 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index 93e840c982..9dafab7c94 100644 --- a/@commitlint/format/CHANGELOG.md +++ b/@commitlint/format/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 7b4e0926fc..b3a9a06cfa 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "11.0.0", + "version": "12.0.0", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,10 +34,11 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, "dependencies": { - "@commitlint/types": "^11.0.0", + "@commitlint/types": "^12.0.0", "chalk": "^4.0.0" - } + }, + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/format/src/format.ts b/@commitlint/format/src/format.ts index a0707ca413..bd7101954c 100644 --- a/@commitlint/format/src/format.ts +++ b/@commitlint/format/src/format.ts @@ -66,7 +66,7 @@ export function formatResult( const problems = [...errors, ...warnings].map((problem) => { const sign = signs[problem.level] || ''; const color: ChalkColor = colors[problem.level] || ('white' as const); - const decoration = enabled ? ((chalk as any)[color] as any)(sign) : sign; + const decoration = enabled ? chalk[color](sign) : sign; const name = enabled ? chalk.grey(`[${problem.name}]`) : `[${problem.name}]`; @@ -76,7 +76,7 @@ export function formatResult( const sign = selectSign(result); const color = selectColor(result); - const deco = enabled ? (chalk[color] as any)(sign) : sign; + const deco = enabled ? chalk[color](sign) : sign; const el = errors.length; const wl = warnings.length; const hasProblems = problems.length > 0; @@ -109,7 +109,7 @@ function selectSign(result: FormattableResult): string { return (result.warnings || []).length ? '⚠' : '✔'; } -function selectColor(result: FormattableResult): keyof typeof chalk { +function selectColor(result: FormattableResult): ChalkColor { if ((result.errors || []).length > 0) { return 'red'; } diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 37dbf4afd6..1f7104f497 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 402635e2f4..dd1ab3ac20 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,14 +34,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^11.0.0", - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0", + "@commitlint/parse": "^12.0.0", + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0", "@types/semver": "7.3.4" }, "dependencies": { - "@commitlint/types": "^11.0.0", + "@commitlint/types": "^12.0.0", "semver": "7.3.4" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index 2f80b87fdb..dce9878b49 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 0e6d54c371..0f5db1c4cd 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -34,14 +34,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0" + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0" }, "dependencies": { - "@commitlint/is-ignored": "^11.0.0", - "@commitlint/parse": "^11.0.0", - "@commitlint/rules": "^11.0.0", - "@commitlint/types": "^11.0.0" + "@commitlint/is-ignored": "^12.0.0", + "@commitlint/parse": "^12.0.0", + "@commitlint/rules": "^12.0.0", + "@commitlint/types": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index c451ff8add..e0679e2479 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 v4.1.0 ([#2251](https://github.com/conventional-changelog/commitlint/issues/2251)) ([b5743dd](https://github.com/conventional-changelog/commitlint/commit/b5743dd1e49bbe7eac03f34bc38c59df5fbaf2a0)) +* update dependency execa to v5 ([#2341](https://github.com/conventional-changelog/commitlint/issues/2341)) ([f349df9](https://github.com/conventional-changelog/commitlint/commit/f349df90f08096a9bcad46b5e55b411aac327a24)) + + +### Features + +* **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) **Note:** Version bump only for package @commitlint/load diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index bbf2cf9aee..692c6c9e34 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "11.0.0", + "version": "12.0.0", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -34,19 +34,19 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0", - "@types/lodash": "4.14.167", + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0", + "@types/lodash": "4.14.168", "execa": "^5.0.0" }, "dependencies": { - "@commitlint/execute-rule": "^11.0.0", - "@commitlint/resolve-extends": "^11.0.0", - "@commitlint/types": "^11.0.0", + "@commitlint/execute-rule": "^12.0.0", + "@commitlint/resolve-extends": "^12.0.0", + "@commitlint/types": "^12.0.0", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", "lodash": "^4.17.19", "resolve-from": "^5.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/load/src/utils/load-plugin.test.ts b/@commitlint/load/src/utils/load-plugin.test.ts index abe9b74bc6..7c78d87f2f 100644 --- a/@commitlint/load/src/utils/load-plugin.test.ts +++ b/@commitlint/load/src/utils/load-plugin.test.ts @@ -1,4 +1,5 @@ import loadPlugin from './load-plugin'; +import {AsyncRule, Plugin, Rule, SyncRule} from '@commitlint/types'; jest.mock('commitlint-plugin-example', () => ({example: true}), { virtual: true, @@ -8,6 +9,39 @@ jest.mock('@scope/commitlint-plugin-example', () => ({scope: true}), { virtual: true, }); +jest.mock( + 'commitlint-plugin-rule', + (): Plugin => { + const rule: Rule = (_parsed, when, _value) => { + return [when === 'never']; + }; + return {rules: {rule}}; + }, + {virtual: true} +); + +jest.mock( + 'commitlint-plugin-sync-rule', + (): Plugin => { + const syncRule: SyncRule = (_parsed, when, _value) => { + return [when === 'never']; + }; + return {rules: {syncRule}}; + }, + {virtual: true} +); + +jest.mock( + 'commitlint-plugin-async-rule', + (): Plugin => { + const asyncRule: AsyncRule = (_parsed, when, _value) => { + return new Promise(() => [when === 'never']); + }; + return {rules: {asyncRule}}; + }, + {virtual: true} +); + test('should load a plugin when referenced by short name', () => { const plugins = loadPlugin({}, 'example'); expect(plugins['example']).toBe(require('commitlint-plugin-example')); @@ -18,6 +52,21 @@ test('should load a plugin when referenced by long name', () => { expect(plugins['example']).toBe(require('commitlint-plugin-example')); }); +test('should load a plugin with a rule', () => { + const plugins = loadPlugin({}, 'commitlint-plugin-rule'); + expect(plugins['rule']).toBe(require('commitlint-plugin-rule')); +}); + +test('should load a plugin with a sync rule', () => { + const plugins = loadPlugin({}, 'commitlint-plugin-sync-rule'); + expect(plugins['sync-rule']).toBe(require('commitlint-plugin-sync-rule')); +}); + +test('should load a plugin with an async rule', () => { + const plugins = loadPlugin({}, 'commitlint-plugin-async-rule'); + expect(plugins['async-rule']).toBe(require('commitlint-plugin-async-rule')); +}); + test('should throw an error when a plugin has whitespace', () => { expect(() => loadPlugin({}, 'whitespace ')).toThrow( "Whitespace found in plugin name 'whitespace '" diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index 4415b1b9a7..be57d0e5e1 100644 --- a/@commitlint/message/CHANGELOG.md +++ b/@commitlint/message/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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/message + + + + + # [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/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 9cc4cfb874..115eea0fdf 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0" + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index 87d75e63b5..cb4be13bb8 100644 --- a/@commitlint/parse/CHANGELOG.md +++ b/@commitlint/parse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) + +**Note:** Version bump only for package @commitlint/parse + + + + + # [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index fc624eaab4..ef5b43fc84 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0" + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0" }, "dependencies": { - "@commitlint/types": "^11.0.0", + "@commitlint/types": "^12.0.0", "conventional-changelog-angular": "^5.0.11", "conventional-commits-parser": "^3.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index 41c1b46cdc..131d9cd741 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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)) + + + + + # [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/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 9e1c05946c..3efcda936f 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "11.0.0", + "version": "12.0.0", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -31,12 +31,12 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0" + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0" }, "dependencies": { - "@commitlint/prompt": "^11.0.0", + "@commitlint/prompt": "^12.0.0", "execa": "^5.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index 1521ea64a6..4227f25361 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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/prompt + + + + + # [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/prompt diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 43c7746fd2..7a41027b6f 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "11.0.0", + "version": "12.0.0", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -36,16 +36,16 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/utils": "^11.0.0", - "commitizen": "4.2.2" + "@commitlint/utils": "^12.0.0", + "commitizen": "4.2.3" }, "dependencies": { - "@commitlint/load": "^11.0.0", - "@commitlint/types": "^11.0.0", + "@commitlint/load": "^12.0.0", + "@commitlint/types": "^12.0.0", "chalk": "^4.0.0", "lodash": "^4.17.19", - "throat": "^5.0.0", + "throat": "^6.0.0", "vorpal": "^1.12.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 9d57429e49..ccf900651b 100644 --- a/@commitlint/read/CHANGELOG.md +++ b/@commitlint/read/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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/read + + + + + # [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index ec3dc30942..3a16c7970d 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "11.0.0", + "version": "12.0.0", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -34,17 +34,17 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0", + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0", "@types/fs-extra": "^9.0.1", "@types/git-raw-commits": "^2.0.0", "execa": "^5.0.0" }, "dependencies": { - "@commitlint/top-level": "^11.0.0", - "@commitlint/types": "^11.0.0", + "@commitlint/top-level": "^12.0.0", + "@commitlint/types": "^12.0.0", "fs-extra": "^9.0.0", "git-raw-commits": "^2.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index c83adc5721..23f97b4f10 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) + + +### Bug Fixes + +* **resolve-extends:** `extends` field should be resolved from left to right ([#2070](https://github.com/conventional-changelog/commitlint/issues/2070)) ([c0a86f5](https://github.com/conventional-changelog/commitlint/commit/c0a86f5b5ed6ef071acef4baf38e7fc549fbec37)) + + +### BREAKING CHANGES + +* **resolve-extends:** The order of the `extends` resolution is changed from right-to-left to left-to-right + + + + + # [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/resolve-extends diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 8d69557250..4a9e3e71f1 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^11.0.0", + "@commitlint/utils": "^12.0.0", "@types/lodash": "^4.14.161" }, "dependencies": { @@ -43,5 +43,5 @@ "resolve-from": "^5.0.0", "resolve-global": "^1.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 6c785f4f59..b1c002d6ff 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) + + +### Features + +* **rules:** add body-full-stop rule ([#2144](https://github.com/conventional-changelog/commitlint/issues/2144)) ([7767ca2](https://github.com/conventional-changelog/commitlint/commit/7767ca2591d10207c4abe7f3e5e6de503ac12a25)) + + + + + # [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 7bca4aa2eb..782269f045 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,17 +34,17 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^11.0.0", - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0", + "@commitlint/parse": "^12.0.0", + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0", "conventional-changelog-angular": "5.0.12", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^11.0.0", - "@commitlint/message": "^11.0.0", - "@commitlint/to-lines": "^11.0.0", - "@commitlint/types": "^11.0.0" + "@commitlint/ensure": "^12.0.0", + "@commitlint/message": "^12.0.0", + "@commitlint/to-lines": "^12.0.0", + "@commitlint/types": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/rules/src/index.test.ts b/@commitlint/rules/src/index.test.ts index 9cab4155fa..1eaf0010e3 100644 --- a/@commitlint/rules/src/index.test.ts +++ b/@commitlint/rules/src/index.test.ts @@ -1,4 +1,5 @@ import path from 'path'; +import fs from 'fs'; import globby from 'globby'; import rules from '.'; @@ -13,6 +14,19 @@ test('rules export functions', () => { expect(actual.every((rule) => typeof rule === 'function')).toBe(true); }); +test('all rules are present in documentation', () => { + const file = fs.readFileSync( + path.join(__dirname, '../../../docs/reference-rules.md'), + 'utf-8' + ); + const results = file + .split(/(\n|\r)/) + .filter((s) => s.startsWith('####') && !s.includes('`deprecated`')) + .map((s) => s.replace('#### ', '')); + + expect(Object.keys(rules)).toEqual(expect.arrayContaining(results)); +}); + async function glob(pattern: string | string[]) { const files = await globby(pattern, { ignore: ['**/index.ts', '**/*.test.ts'], diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index de6d688538..c4e5a31d85 100644 --- a/@commitlint/to-lines/CHANGELOG.md +++ b/@commitlint/to-lines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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/to-lines + + + + + # [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/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index dd3ec881f8..8118b89322 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index a69bae9181..c317ba7f8c 100644 --- a/@commitlint/top-level/CHANGELOG.md +++ b/@commitlint/top-level/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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/top-level + + + + + # [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/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index c64c3dfabd..ff372bbcf9 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,10 +34,10 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, "dependencies": { "find-up": "^5.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index fe4e7cc7ab..e14a160d37 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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)) + + + + + # [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/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index d35b23bdc5..7ac3ca34e8 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "11.0.0", + "version": "12.0.0", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/", @@ -35,12 +35,12 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^11.0.0", - "@commitlint/utils": "^11.0.0" + "@commitlint/test": "^12.0.0", + "@commitlint/utils": "^12.0.0" }, "dependencies": { - "@commitlint/cli": "^11.0.0", + "@commitlint/cli": "^12.0.0", "execa": "^5.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md index f1f77ffcd6..27892a6a06 100644 --- a/@commitlint/types/CHANGELOG.md +++ b/@commitlint/types/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) + + +### Features + +* **load:** allow specifying helpUrl via config ([#2180](https://github.com/conventional-changelog/commitlint/issues/2180)) ([d6795a3](https://github.com/conventional-changelog/commitlint/commit/d6795a3c4633ba6efd7a0fcff48339dc291cd832)) +* **rules:** add body-full-stop rule ([#2144](https://github.com/conventional-changelog/commitlint/issues/2144)) ([7767ca2](https://github.com/conventional-changelog/commitlint/commit/7767ca2591d10207c4abe7f3e5e6de503ac12a25)) + + + + + # [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/types diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 3973be3674..db23381396 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "11.0.0", + "version": "12.0.0", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -30,7 +30,7 @@ "chalk": "^4.0.0" }, "devDependencies": { - "@commitlint/utils": "^11.0.0" + "@commitlint/utils": "^12.0.0" }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/types/src/format.ts b/@commitlint/types/src/format.ts index ba50d8a79f..f48bda09af 100644 --- a/@commitlint/types/src/format.ts +++ b/@commitlint/types/src/format.ts @@ -26,7 +26,7 @@ export interface FormattableReport { results?: (FormattableResult & WithInput)[]; } -export type ChalkColor = keyof typeof chalk; +export type ChalkColor = typeof chalk.Color | typeof chalk.Modifiers; export interface FormatOptions { color?: boolean; diff --git a/@commitlint/types/src/load.ts b/@commitlint/types/src/load.ts index c24a81bfb9..2ae8d689d1 100644 --- a/@commitlint/types/src/load.ts +++ b/@commitlint/types/src/load.ts @@ -1,10 +1,16 @@ -import {Rule, RulesConfig, RuleConfigQuality} from './rules'; +import { + Rule, + RulesConfig, + RuleConfigQuality, + AsyncRule, + SyncRule, +} from './rules'; export type PluginRecords = Record; export interface Plugin { rules: { - [ruleName: string]: Rule; + [ruleName: string]: Rule | AsyncRule | SyncRule; }; } diff --git a/@packages/test-environment/CHANGELOG.md b/@packages/test-environment/CHANGELOG.md index 08f1d92c7c..d28ebd6841 100644 --- a/@packages/test-environment/CHANGELOG.md +++ b/@packages/test-environment/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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/test-environment + + + + + # [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/test-environment diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 8037e57acf..4d96de6dd2 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test-environment", - "version": "11.0.0", + "version": "12.0.0", "description": "test environment for @commitlint", "private": true, "main": "lib/test-environment.js", diff --git a/@packages/test/CHANGELOG.md b/@packages/test/CHANGELOG.md index b3f206773e..0da0486191 100644 --- a/@packages/test/CHANGELOG.md +++ b/@packages/test/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [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 pkg-dir to v5 ([#2168](https://github.com/conventional-changelog/commitlint/issues/2168)) ([b9d1c84](https://github.com/conventional-changelog/commitlint/commit/b9d1c8462950303a7695f248849dd9f6a58b5a9a)) + + + + + # [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) diff --git a/@packages/test/package.json b/@packages/test/package.json index 6704ac8f57..dadc31d2cf 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test", - "version": "11.0.0", + "version": "12.0.0", "description": "test utilities for @commitlint", "private": true, "main": "lib/index.js", diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index 75225cbc59..aae783a9d5 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) + + +### Bug Fixes + +* **utils:** update code to allow it to be executed ([#982](https://github.com/conventional-changelog/commitlint/issues/982)) ([52696d0](https://github.com/conventional-changelog/commitlint/commit/52696d048317944aa0d638b8702df78f8756d44b)) +* 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 meow to v8 ([#2245](https://github.com/conventional-changelog/commitlint/issues/2245)) ([890961b](https://github.com/conventional-changelog/commitlint/commit/890961b52b1552c1bb2798db02915e28686983f0)) +* update dependency meow to v8.1.0 ([#2380](https://github.com/conventional-changelog/commitlint/issues/2380)) ([0fbadcf](https://github.com/conventional-changelog/commitlint/commit/0fbadcf1d45c2e97f1da9938b3b80c0b45eba18c)) +* update dependency tar-fs to v2.1.1 ([#2261](https://github.com/conventional-changelog/commitlint/issues/2261)) ([a04f24f](https://github.com/conventional-changelog/commitlint/commit/a04f24f00873209d6d96cd894450d17fdfe9ca58)) + + + + + # [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/utils diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 27d763b368..86c47a62a3 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "11.0.0", + "version": "12.0.0", "description": "Development utilities for @commitlint", "private": true, "files": [ diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ae1ead028..e3d79dd724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,49 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) + + +### Bug Fixes + +* remove unnecessary react babel transforms ([#2399](https://github.com/conventional-changelog/commitlint/issues/2399)) ([78f02fd](https://github.com/conventional-changelog/commitlint/commit/78f02fdb69c811b5ac38a7d018502aeeb785be04)) +* **utils:** update code to allow it to be executed ([#982](https://github.com/conventional-changelog/commitlint/issues/982)) ([52696d0](https://github.com/conventional-changelog/commitlint/commit/52696d048317944aa0d638b8702df78f8756d44b)) +* update dependency @types/fs-extra to v9.0.2 ([#2250](https://github.com/conventional-changelog/commitlint/issues/2250)) ([a10fa0b](https://github.com/conventional-changelog/commitlint/commit/a10fa0b580bdb09fd713beac78721cc5d579c67c)) +* update dependency @types/fs-extra to v9.0.5 ([#2360](https://github.com/conventional-changelog/commitlint/issues/2360)) ([3266712](https://github.com/conventional-changelog/commitlint/commit/3266712039e7ad6a13ed2d3097c28902b73cb701)) +* update dependency conventional-changelog-angular to v5.0.12 ([#2361](https://github.com/conventional-changelog/commitlint/issues/2361)) ([5766b39](https://github.com/conventional-changelog/commitlint/commit/5766b39b4ffb22452259827f131a2e7871637205)) +* update dependency conventional-changelog-conventionalcommits to v4.4.0 ([#2115](https://github.com/conventional-changelog/commitlint/issues/2115)) ([bccc9f5](https://github.com/conventional-changelog/commitlint/commit/bccc9f53df26b98bf51e4183d54ca66c45a51857)) +* update dependency conventional-changelog-conventionalcommits to v4.5.0 ([#2362](https://github.com/conventional-changelog/commitlint/issues/2362)) ([01c78bf](https://github.com/conventional-changelog/commitlint/commit/01c78bff6451befbc52294047c665326bc4eb9b9)) +* update dependency execa to v4.1.0 ([#2251](https://github.com/conventional-changelog/commitlint/issues/2251)) ([b5743dd](https://github.com/conventional-changelog/commitlint/commit/b5743dd1e49bbe7eac03f34bc38c59df5fbaf2a0)) +* 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 git-raw-commits to v2.0.7 ([#2116](https://github.com/conventional-changelog/commitlint/issues/2116)) ([ef969f3](https://github.com/conventional-changelog/commitlint/commit/ef969f375df170d6bdaadad205333352e01bb24d)) +* update dependency git-raw-commits to v2.0.8 ([#2364](https://github.com/conventional-changelog/commitlint/issues/2364)) ([3371715](https://github.com/conventional-changelog/commitlint/commit/3371715871d0381190635bd392780b16dd55e0c7)) +* update dependency meow to v8 ([#2245](https://github.com/conventional-changelog/commitlint/issues/2245)) ([890961b](https://github.com/conventional-changelog/commitlint/commit/890961b52b1552c1bb2798db02915e28686983f0)) +* update dependency meow to v8.1.0 ([#2380](https://github.com/conventional-changelog/commitlint/issues/2380)) ([0fbadcf](https://github.com/conventional-changelog/commitlint/commit/0fbadcf1d45c2e97f1da9938b3b80c0b45eba18c)) +* update dependency pkg-dir to v5 ([#2168](https://github.com/conventional-changelog/commitlint/issues/2168)) ([b9d1c84](https://github.com/conventional-changelog/commitlint/commit/b9d1c8462950303a7695f248849dd9f6a58b5a9a)) +* 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)) +* update dependency tar-fs to v2.1.1 ([#2261](https://github.com/conventional-changelog/commitlint/issues/2261)) ([a04f24f](https://github.com/conventional-changelog/commitlint/commit/a04f24f00873209d6d96cd894450d17fdfe9ca58)) +* **is-ignored:** ignore azure devops messages ([#2230](https://github.com/conventional-changelog/commitlint/issues/2230)) ([fe29ce7](https://github.com/conventional-changelog/commitlint/commit/fe29ce76bd87d5b42048228fbf0f47cc8d5411ec)) +* update dependency yargs to v16 ([204f36d](https://github.com/conventional-changelog/commitlint/commit/204f36d0a522afaf3a88739b401aea15ffa0b891)) +* update dependency yargs to v16.1.0 ([#2252](https://github.com/conventional-changelog/commitlint/issues/2252)) ([6478d07](https://github.com/conventional-changelog/commitlint/commit/6478d07afe0fe1736cf1aef1618c7d90d60d9117)) +* **resolve-extends:** `extends` field should be resolved from left to right ([#2070](https://github.com/conventional-changelog/commitlint/issues/2070)) ([c0a86f5](https://github.com/conventional-changelog/commitlint/commit/c0a86f5b5ed6ef071acef4baf38e7fc549fbec37)) + + +### 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)) +* **config-lerna-scopes:** support yarn workspaces ([#2149](https://github.com/conventional-changelog/commitlint/issues/2149)) ([b244246](https://github.com/conventional-changelog/commitlint/commit/b2442469afe3b11c20b0101be7656ced43fab366)) +* **load:** allow specifying helpUrl via config ([#2180](https://github.com/conventional-changelog/commitlint/issues/2180)) ([d6795a3](https://github.com/conventional-changelog/commitlint/commit/d6795a3c4633ba6efd7a0fcff48339dc291cd832)) +* **rules:** add body-full-stop rule ([#2144](https://github.com/conventional-changelog/commitlint/issues/2144)) ([7767ca2](https://github.com/conventional-changelog/commitlint/commit/7767ca2591d10207c4abe7f3e5e6de503ac12a25)) + + +### BREAKING CHANGES + +* **resolve-extends:** The order of the `extends` resolution is changed from right-to-left to left-to-right + + + + + # [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) diff --git a/README.md b/README.md index 91c85ab5a1..1d92871c4f 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ fix(server): send cors headers feat(blog): add comment section ``` -Common types according to [commitlint-config-conventional (based on the the Angular convention)](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum) can be: +Common types according to [commitlint-config-conventional (based on the Angular convention)](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum) can be: - build - ci diff --git a/docs/reference-rules.md b/docs/reference-rules.md index 06454f1e3c..e8c8bb0be1 100644 --- a/docs/reference-rules.md +++ b/docs/reference-rules.md @@ -57,6 +57,11 @@ Rule configurations are either of type `array` residing on a key with the rule's - **condition**: `body` begins with blank line - **rule**: `always` +#### body-empty + +- **condition**: `body` is empty +- **rule**: `never` + #### body-max-length - **condition**: `body` has `value` or less characters @@ -87,11 +92,41 @@ Infinity 0 ``` +#### body-case + +- **condition**: `header` is in case `value` +- **rule**: `always` +- **value** + +``` +'lower-case' +``` + +- **possible values** + +``` +[ + 'lower-case', // default + 'upper-case', // UPPERCASE + 'camel-case', // camelCase + 'kebab-case', // kebab-case + 'pascal-case', // PascalCase + 'sentence-case', // Sentence case + 'snake-case', // snake_case + 'start-case' // Start Case +] +``` + #### footer-leading-blank - **condition**: `footer` begins with blank line - **rule**: `always` +#### footer-empty + +- **condition**: `footer` is empty +- **rule**: `never` + #### footer-max-length - **condition**: `footer` has `value` or less characters @@ -129,7 +164,7 @@ Infinity - **value** ``` -'lowerCase' +'lower-case' ``` - **possible values** @@ -198,7 +233,7 @@ Infinity - **value** ``` -'lowerCase' +'lower-case' ``` - **possible values** @@ -248,7 +283,7 @@ Infinity - **value** ``` -'lowerCase' +'lower-case' ``` - **possible values** diff --git a/lerna.json b/lerna.json index 1d7afda125..815555f29b 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "3", "npmClient": "yarn", "useWorkspaces": true, - "version": "11.0.0" + "version": "12.0.0" } diff --git a/package.json b/package.json index d12643e0d7..4cbcbac0b3 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "@babel/preset-env": "^7.12.11", "@lerna/project": "3.21.0", "@types/jest": "26.0.20", - "@types/node": "12.19.12", + "@types/node": "12.19.15", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", "docsify-cli": "^4.4.0", @@ -89,7 +89,7 @@ "eslint-config-prettier": "^7.0.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jest": "^24.0.0", - "husky": "4.3.7", + "husky": "4.3.8", "jest": "26.6.3", "lerna": "^3.22.1", "lerna-v3": "npm:lerna@3", diff --git a/yarn.lock b/yarn.lock index cd53ccffc3..3ec309a9ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -841,10 +841,10 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@eslint/eslintrc@^0.2.2": - version "0.2.2" - resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz#d01fc791e2fc33e88a29d6f3dc7e93d0cd784b76" - integrity sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ== +"@eslint/eslintrc@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz#d736d6963d7003b6514e6324bec9c602ac340318" + integrity sha512-1JTKgrOKAHVivSvOYw+sJOunkBjUOvjqWk1DPja7ZFhIS2mX/4EgTT8M7eTK9jrKhL/FvXXEbQwIs3pg1xp3dg== dependencies: ajv "^6.12.4" debug "^4.1.1" @@ -853,7 +853,7 @@ ignore "^4.0.6" import-fresh "^3.2.1" js-yaml "^3.13.1" - lodash "^4.17.19" + lodash "^4.17.20" minimatch "^3.0.4" strip-json-comments "^3.1.1" @@ -2075,19 +2075,19 @@ pretty-format "^25.2.1" "@types/json-schema@^7.0.3": - version "7.0.6" - resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz#f4c7ec43e81b319a9815115031709f26987891f0" - integrity sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw== + version "7.0.7" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" + integrity sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA== "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/lodash@4.14.167": - version "4.14.167" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.167.tgz#ce7d78553e3c886d4ea643c37ec7edc20f16765e" - integrity sha512-w7tQPjARrvdeBkX/Rwg95S592JwxqOjmms3zWQ0XZgSyxSLdzWaYH3vErBhdVS/lRBX7F8aBYcYJYTr5TMGOzw== +"@types/lodash@4.14.168": + version "4.14.168" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008" + integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q== "@types/lodash@^4.14.161": version "4.14.161" @@ -2104,10 +2104,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.19.12": - version "12.19.12" - resolved "https://registry.npmjs.org/@types/node/-/node-12.19.12.tgz#04793c2afa4ce833a9972e4c476432e30f9df47b" - integrity sha512-UwfL2uIU9arX/+/PRcIkT08/iBadGN2z6ExOROA2Dh5mAuWTBj6iJbQX4nekiV5H8cTrEG569LeX+HRco9Cbxw== +"@types/node@12.19.15": + version "12.19.15" + resolved "https://registry.npmjs.org/@types/node/-/node-12.19.15.tgz#0de7e978fb43db62da369db18ea088a63673c182" + integrity sha512-lowukE3GUI+VSYSu6VcBXl14d61Rp5hA1D+61r16qnwC0lYNSqdxcvRh0pswejorHfS+HgwBasM8jLXz0/aOsw== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -2159,12 +2159,12 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^4.1.0": - version "4.13.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.13.0.tgz#5f580ea520fa46442deb82c038460c3dd3524bb6" - integrity sha512-ygqDUm+BUPvrr0jrXqoteMqmIaZ/bixYOc3A4BRwzEPTZPi6E+n44rzNZWaB0YvtukgP+aoj0i/fyx7FkM2p1w== + version "4.14.1" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.14.1.tgz#22dd301ce228aaab3416b14ead10b1db3e7d3180" + integrity sha512-5JriGbYhtqMS1kRcZTQxndz1lKMwwEXKbwZbkUZNnp6MJX0+OVXnG0kOlBZP4LUAxEyzu3cs+EXd/97MJXsGfw== dependencies: - "@typescript-eslint/experimental-utils" "4.13.0" - "@typescript-eslint/scope-manager" "4.13.0" + "@typescript-eslint/experimental-utils" "4.14.1" + "@typescript-eslint/scope-manager" "4.14.1" debug "^4.1.1" functional-red-black-tree "^1.0.1" lodash "^4.17.15" @@ -2172,15 +2172,15 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.13.0": - version "4.13.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.13.0.tgz#9dc9ab375d65603b43d938a0786190a0c72be44e" - integrity sha512-/ZsuWmqagOzNkx30VWYV3MNB/Re/CGv/7EzlqZo5RegBN8tMuPaBgNK6vPBCQA8tcYrbsrTdbx3ixMRRKEEGVw== +"@typescript-eslint/experimental-utils@4.14.1": + version "4.14.1" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.14.1.tgz#a5c945cb24dabb96747180e1cfc8487f8066f471" + integrity sha512-2CuHWOJwvpw0LofbyG5gvYjEyoJeSvVH2PnfUQSn0KQr4v8Dql2pr43ohmx4fdPQ/eVoTSFjTi/bsGEXl/zUUQ== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.13.0" - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/typescript-estree" "4.13.0" + "@typescript-eslint/scope-manager" "4.14.1" + "@typescript-eslint/types" "4.14.1" + "@typescript-eslint/typescript-estree" "4.14.1" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2197,22 +2197,22 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^4.1.0": - version "4.13.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.13.0.tgz#c413d640ea66120cfcc37f891e8cb3fd1c9d247d" - integrity sha512-KO0J5SRF08pMXzq9+abyHnaGQgUJZ3Z3ax+pmqz9vl81JxmTTOUfQmq7/4awVfq09b6C4owNlOgOwp61pYRBSg== + version "4.14.1" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.14.1.tgz#3bd6c24710cd557d8446625284bcc9c6d52817c6" + integrity sha512-mL3+gU18g9JPsHZuKMZ8Z0Ss9YP1S5xYZ7n68Z98GnPq02pYNQuRXL85b9GYhl6jpdvUc45Km7hAl71vybjUmw== dependencies: - "@typescript-eslint/scope-manager" "4.13.0" - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/typescript-estree" "4.13.0" + "@typescript-eslint/scope-manager" "4.14.1" + "@typescript-eslint/types" "4.14.1" + "@typescript-eslint/typescript-estree" "4.14.1" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.13.0": - version "4.13.0" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.13.0.tgz#5b45912a9aa26b29603d8fa28f5e09088b947141" - integrity sha512-UpK7YLG2JlTp/9G4CHe7GxOwd93RBf3aHO5L+pfjIrhtBvZjHKbMhBXTIQNkbz7HZ9XOe++yKrXutYm5KmjWgQ== +"@typescript-eslint/scope-manager@4.14.1": + version "4.14.1" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.14.1.tgz#8444534254c6f370e9aa974f035ced7fe713ce02" + integrity sha512-F4bjJcSqXqHnC9JGUlnqSa3fC2YH5zTtmACS1Hk+WX/nFB0guuynVK5ev35D4XZbdKjulXBAQMyRr216kmxghw== dependencies: - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/visitor-keys" "4.13.0" + "@typescript-eslint/types" "4.14.1" + "@typescript-eslint/visitor-keys" "4.14.1" "@typescript-eslint/scope-manager@4.7.0": version "4.7.0" @@ -2222,23 +2222,23 @@ "@typescript-eslint/types" "4.7.0" "@typescript-eslint/visitor-keys" "4.7.0" -"@typescript-eslint/types@4.13.0": - version "4.13.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.13.0.tgz#6a7c6015a59a08fbd70daa8c83dfff86250502f8" - integrity sha512-/+aPaq163oX+ObOG00M0t9tKkOgdv9lq0IQv/y4SqGkAXmhFmCfgsELV7kOCTb2vVU5VOmVwXBXJTDr353C1rQ== +"@typescript-eslint/types@4.14.1": + version "4.14.1" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.14.1.tgz#b3d2eb91dafd0fd8b3fce7c61512ac66bd0364aa" + integrity sha512-SkhzHdI/AllAgQSxXM89XwS1Tkic7csPdndUuTKabEwRcEfR8uQ/iPA3Dgio1rqsV3jtqZhY0QQni8rLswJM2w== "@typescript-eslint/types@4.7.0": version "4.7.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.7.0.tgz#5e95ef5c740f43d942542b35811f87b62fccca69" integrity sha512-uLszFe0wExJc+I7q0Z/+BnP7wao/kzX0hB5vJn4LIgrfrMLgnB2UXoReV19lkJQS1a1mHWGGODSxnBx6JQC3Sg== -"@typescript-eslint/typescript-estree@4.13.0": - version "4.13.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.13.0.tgz#cf6e2207c7d760f5dfd8d18051428fadfc37b45e" - integrity sha512-9A0/DFZZLlGXn5XA349dWQFwPZxcyYyCFX5X88nWs2uachRDwGeyPz46oTsm9ZJE66EALvEns1lvBwa4d9QxMg== +"@typescript-eslint/typescript-estree@4.14.1": + version "4.14.1" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.14.1.tgz#20d3b8c8e3cdc8f764bdd5e5b0606dd83da6075b" + integrity sha512-M8+7MbzKC1PvJIA8kR2sSBnex8bsR5auatLCnVlNTJczmJgqRn8M+sAlQfkEq7M4IY3WmaNJ+LJjPVRrREVSHQ== dependencies: - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/visitor-keys" "4.13.0" + "@typescript-eslint/types" "4.14.1" + "@typescript-eslint/visitor-keys" "4.14.1" debug "^4.1.1" globby "^11.0.1" is-glob "^4.0.1" @@ -2260,12 +2260,12 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@4.13.0": - version "4.13.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.13.0.tgz#9acb1772d3b3183182b6540d3734143dce9476fe" - integrity sha512-6RoxWK05PAibukE7jElqAtNMq+RWZyqJ6Q/GdIxaiUj2Ept8jh8+FUVlbq9WxMYxkmEOPvCE5cRSyupMpwW31g== +"@typescript-eslint/visitor-keys@4.14.1": + version "4.14.1" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.14.1.tgz#e93c2ff27f47ee477a929b970ca89d60a117da91" + integrity sha512-TAblbDXOI7bd0C/9PE1G+AFo7R5uc+ty1ArDoxmrC1ah61Hn6shURKy7gLdRb1qKJmjHkqu5Oq+e4Kt0jwf1IA== dependencies: - "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/types" "4.14.1" eslint-visitor-keys "^2.0.0" "@typescript-eslint/visitor-keys@4.7.0": @@ -2391,9 +2391,9 @@ ajv@^6.5.5: uri-js "^4.2.2" ajv@^7.0.2: - version "7.0.2" - resolved "https://registry.npmjs.org/ajv/-/ajv-7.0.2.tgz#04ccc89a93449c64382fe0846d45a7135d986dbc" - integrity sha512-qIaxO9RXjaXyO21tJr0EvwPcZa49m64GcXCU8ZrLjCAlFyMuOcPpI560So4A11M1WsKslJYIXn6jSyG5P0xIeg== + version "7.0.3" + resolved "https://registry.npmjs.org/ajv/-/ajv-7.0.3.tgz#13ae747eff125cafb230ac504b2406cf371eece2" + integrity sha512-R50QRlXSxqXcQP5SvKUrw8VZeypvo12i2IX0EeR5PiZ7bEKeHWgzgo264LDadUsCU42lTJVhFikTqJwNeH34gQ== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -3303,13 +3303,13 @@ commander@~2.20.3: resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commitizen@4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/commitizen/-/commitizen-4.2.2.tgz#1a93dd07208521ea1ebbf832593542dac714cc79" - integrity sha512-uz+E6lGsDBDI2mYA4QfOxFeqdWUYwR1ky11YmLgg2BnEEP3YbeejpT4lxzGjkYqumnXr062qTOGavR9NtX/iwQ== +commitizen@4.2.3: + version "4.2.3" + resolved "https://registry.npmjs.org/commitizen/-/commitizen-4.2.3.tgz#088d0ef72500240d331b11e02e288223667c1475" + integrity sha512-pYlYEng7XMV2TW4xtjDKBGqeJ0Teq2zyRSx2S3Ml1XAplHSlJZK8vm1KdGclpMEZuGafbS5TeHXIVnHk8RWIzQ== dependencies: cachedir "2.2.0" - cz-conventional-changelog "3.3.0" + cz-conventional-changelog "3.2.0" dedent "0.7.0" detect-indent "6.0.0" find-node-modules "2.0.0" @@ -3702,20 +3702,6 @@ cz-conventional-changelog@3.2.0: optionalDependencies: "@commitlint/load" ">6.1.1" -cz-conventional-changelog@3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz#9246947c90404149b3fe2cf7ee91acad3b7d22d2" - integrity sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw== - dependencies: - chalk "^2.4.1" - commitizen "^4.0.3" - conventional-commit-types "^3.0.0" - lodash.map "^4.5.1" - longest "^2.0.1" - word-wrap "^1.0.3" - optionalDependencies: - "@commitlint/load" ">6.1.1" - dargs@^4.0.1: version "4.1.0" resolved "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17" @@ -4261,9 +4247,9 @@ escodegen@^1.14.1: source-map "~0.6.1" eslint-config-prettier@^7.0.0: - version "7.1.0" - resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz#5402eb559aa94b894effd6bddfa0b1ca051c858f" - integrity sha512-9sm5/PxaFG7qNJvJzTROMM1Bk1ozXVTKI0buKOyb0Bsr1hrwi0H/TzxF/COtf1uxikIK8SwhX7K6zg78jAzbeA== + version "7.2.0" + resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz#f4a4bd2832e810e8cc7c1411ec85b3e85c0c53f9" + integrity sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg== eslint-import-resolver-node@^0.3.4: version "0.3.4" @@ -4333,12 +4319,12 @@ eslint-visitor-keys@^2.0.0: integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== eslint@^7.0.0: - version "7.17.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.17.0.tgz#4ccda5bf12572ad3bf760e6f195886f50569adb0" - integrity sha512-zJk08MiBgwuGoxes5sSQhOtibZ75pz0J35XTRlZOk9xMffhpA9BTbQZxoXZzOl5zMbleShbGwtw+1kGferfFwQ== + version "7.18.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.18.0.tgz#7fdcd2f3715a41fe6295a16234bd69aed2c75e67" + integrity sha512-fbgTiE8BfUJZuBeq2Yi7J3RB3WGUQ9PNuNbmgi6jt9Iv8qrkxfy19Ds3OpL1Pm7zg3BtTVhvcUZbIRQ0wmSjAQ== dependencies: "@babel/code-frame" "^7.0.0" - "@eslint/eslintrc" "^0.2.2" + "@eslint/eslintrc" "^0.3.0" ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -4362,7 +4348,7 @@ eslint@^7.0.0: js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" - lodash "^4.17.19" + lodash "^4.17.20" minimatch "^3.0.4" natural-compare "^1.4.0" optionator "^0.9.1" @@ -4589,9 +4575,9 @@ fast-glob@^2.2.6: micromatch "^3.1.10" fast-glob@^3.1.1: - version "3.2.4" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" - integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== + version "3.2.5" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661" + integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -5411,10 +5397,10 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@4.3.7: - version "4.3.7" - resolved "https://registry.npmjs.org/husky/-/husky-4.3.7.tgz#ca47bbe6213c1aa8b16bbd504530d9600de91e88" - integrity sha512-0fQlcCDq/xypoyYSJvEuzbDPHFf8ZF9IXKJxlrnvxABTSzK1VPT2RKYQKrcgJ+YD39swgoB6sbzywUqFxUiqjw== +husky@4.3.8: + version "4.3.8" + resolved "https://registry.npmjs.org/husky/-/husky-4.3.8.tgz#31144060be963fd6850e5cc8f019a1dfe194296d" + integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow== dependencies: chalk "^4.0.0" ci-info "^2.0.0" @@ -9507,9 +9493,9 @@ symbol-tree@^3.2.4: integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== table@^6.0.4: - version "6.0.6" - resolved "https://registry.npmjs.org/table/-/table-6.0.6.tgz#e9223f1e851213e2e43ab584b0fec33fb09a8e7a" - integrity sha512-OInCtPmDNieVBkVFi6C8RwU2S2H0h8mF3e3TQK4nreaUNCpooQUkI+A/KuEkm5FawfhWIfNqG+qfelVVR+V00g== + version "6.0.7" + resolved "https://registry.npmjs.org/table/-/table-6.0.7.tgz#e45897ffbcc1bcf9e8a87bf420f2c9e5a7a52a34" + integrity sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g== dependencies: ajv "^7.0.2" lodash "^4.17.20" @@ -9618,6 +9604,11 @@ throat@^5.0.0: resolved "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b" integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA== +throat@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/throat/-/throat-6.0.0.tgz#e5d793bff24e2d329e25239978ba79b9c797b3a6" + integrity sha512-xFKdqx9QpWfXq471eaKQ/ao7xOFye4CKc8pyNJ9wU+oa6R4EKPTVY6V7JMqPVMZhB8TUbY5TB/mgU4AYA4Y8dA== + through2@^2.0.0, through2@^2.0.2: version "2.0.5" resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" @@ -9806,9 +9797,9 @@ tslib@^1.9.0: integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== tsutils@^3.17.1: - version "3.19.1" - resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.19.1.tgz#d8566e0c51c82f32f9c25a4d367cd62409a547a9" - integrity sha512-GEdoBf5XI324lu7ycad7s6laADfnAqCw6wLGI+knxvw9vsIYBaJfYdmeCEG3FMMUiSm3OGgNb+m6utsWf5h9Vw== + version "3.20.0" + resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.20.0.tgz#ea03ea45462e146b53d70ce0893de453ff24f698" + integrity sha512-RYbuQuvkhuqVeXweWT3tJLKOEJ/UUw9GjNEZGWdrLLlM+611o1gwLHBpxoFJKKl25fLprp2eVthtKs5JOrNeXg== dependencies: tslib "^1.8.1" @@ -10012,9 +10003,9 @@ update-notifier@^4.1.0: xdg-basedir "^4.0.0" uri-js@^4.2.2: - version "4.4.0" - resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz#aa714261de793e8a82347a7bcc9ce74e86f28602" - integrity sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g== + version "4.4.1" + resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== dependencies: punycode "^2.1.0"