From b1155cae766aba7e93bc42c69c9ea7f47c1c16d4 Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 8 Nov 2021 02:27:56 +0100 Subject: [PATCH 01/20] fix(prompt): correct version of internal dependencies in prompt package #2697 (#2851) --- @commitlint/prompt/package.json | 4 ++-- yarn.lock | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 168f937ae5..933736dd1d 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -37,8 +37,8 @@ "node": ">=v12" }, "devDependencies": { - "@commitlint/config-angular": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/config-angular": "^14.0.0", + "@commitlint/types": "^14.0.0", "@commitlint/utils": "^14.0.0", "@types/inquirer": "^6.5.0", "commitizen": "^4.2.4", diff --git a/yarn.lock b/yarn.lock index b0437eda32..b58ef66695 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1398,18 +1398,6 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@commitlint/config-angular-type-enum@^13.2.0": - version "13.2.0" - resolved "https://registry.npmjs.org/@commitlint/config-angular-type-enum/-/config-angular-type-enum-13.2.0.tgz#e3f9b8a07118ed8e060b0b1d04a549f74957634d" - integrity sha512-HSP9lzCoHC9+bjJquvByiSUpo0GbAipbjcT6l3Jl6XOzkCjhnUkYcQ2b/O5nXv3mf8Vv/n5k2Sk4nbCYEVpSGQ== - -"@commitlint/config-angular@^13.2.0": - version "13.2.0" - resolved "https://registry.npmjs.org/@commitlint/config-angular/-/config-angular-13.2.0.tgz#78c62551279bdf7ed3a9bf993751f346c42b2944" - integrity sha512-mfytI8ZrPt7kuxjZo0ZfFw0bg1zEa2kI6/prVaYJ0FJgOE8EP1Co9Y4DJZEegohfYFeRcFK3radog7WOr2pzdw== - dependencies: - "@commitlint/config-angular-type-enum" "^13.2.0" - "@endemolshinegroup/cosmiconfig-typescript-loader@^3.0.2": version "3.0.2" resolved "https://registry.npmjs.org/@endemolshinegroup/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-3.0.2.tgz#eea4635828dde372838b0909693ebd9aafeec22d" From 45bf394b34cef78011c2e0a1a7d0cc0d2bab41ae Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 8 Nov 2021 02:52:51 +0100 Subject: [PATCH 02/20] fix(prompt): correct import kind in prompt package (#2852) * fix(prompt): correct import kind in prompt package * fix(prompt): revert chalk type imports --- @commitlint/prompt/src/index.ts | 6 ++++++ @commitlint/prompt/src/input.ts | 2 +- @commitlint/prompt/src/inquirer/InputCustomPrompt.ts | 2 +- @commitlint/prompt/src/library/format.test.ts | 2 +- @commitlint/prompt/src/library/format.ts | 2 +- @commitlint/prompt/src/library/get-forced-case-fn.ts | 4 ++-- @commitlint/prompt/src/library/get-forced-leading-fn.ts | 2 +- @commitlint/prompt/src/library/get-prompt.ts | 2 +- @commitlint/prompt/src/library/types.ts | 2 +- @commitlint/prompt/src/library/utils.ts | 5 +++-- 10 files changed, 18 insertions(+), 11 deletions(-) diff --git a/@commitlint/prompt/src/index.ts b/@commitlint/prompt/src/index.ts index ca85678b1a..0447d708d3 100644 --- a/@commitlint/prompt/src/index.ts +++ b/@commitlint/prompt/src/index.ts @@ -3,6 +3,12 @@ import {input} from './input'; type Commit = (input: string) => void; +/** + * Entry point for commitizen + * @param cz inquirer instance passed by commitizen, unused + * @param commit callback to execute with complete commit message + * @return {void} + */ export function prompter(cz: typeof inquirer, commit: Commit): void { input(cz.prompt).then((message) => { commit(message); diff --git a/@commitlint/prompt/src/input.ts b/@commitlint/prompt/src/input.ts index ff7db40901..702c04608f 100644 --- a/@commitlint/prompt/src/input.ts +++ b/@commitlint/prompt/src/input.ts @@ -1,5 +1,5 @@ import load from '@commitlint/load'; -import {DistinctQuestion, PromptModule} from 'inquirer'; +import type {DistinctQuestion, PromptModule} from 'inquirer'; import format from './library/format'; import getPrompt from './library/get-prompt'; diff --git a/@commitlint/prompt/src/inquirer/InputCustomPrompt.ts b/@commitlint/prompt/src/inquirer/InputCustomPrompt.ts index 036bb78cc3..7ad5700d81 100644 --- a/@commitlint/prompt/src/inquirer/InputCustomPrompt.ts +++ b/@commitlint/prompt/src/inquirer/InputCustomPrompt.ts @@ -3,7 +3,7 @@ import chalk from 'chalk'; import inquirer from 'inquirer'; import InputPrompt from 'inquirer/lib/prompts/input'; import observe from 'inquirer/lib/utils/events'; -import {Interface as ReadlineInterface, Key} from 'readline'; +import type {Interface as ReadlineInterface, Key} from 'readline'; import type {Subscription} from 'rxjs/internal/Subscription'; import Answers = inquirer.Answers; diff --git a/@commitlint/prompt/src/library/format.test.ts b/@commitlint/prompt/src/library/format.test.ts index ae20b3b1ab..7c7bfe9460 100644 --- a/@commitlint/prompt/src/library/format.test.ts +++ b/@commitlint/prompt/src/library/format.test.ts @@ -1,4 +1,4 @@ -import {Result} from './types'; +import type {Result} from './types'; import format from './format'; test('should return empty string', () => { diff --git a/@commitlint/prompt/src/library/format.ts b/@commitlint/prompt/src/library/format.ts index e2d3076b9b..2e97eca039 100644 --- a/@commitlint/prompt/src/library/format.ts +++ b/@commitlint/prompt/src/library/format.ts @@ -1,5 +1,5 @@ import chalk from 'chalk'; -import {Result, ResultPart} from './types'; +import type {Result, ResultPart} from './types'; /** * Get formatted commit message diff --git a/@commitlint/prompt/src/library/get-forced-case-fn.ts b/@commitlint/prompt/src/library/get-forced-case-fn.ts index ae9bddad5e..2fb39c607c 100644 --- a/@commitlint/prompt/src/library/get-forced-case-fn.ts +++ b/@commitlint/prompt/src/library/get-forced-case-fn.ts @@ -1,7 +1,7 @@ import {toCase} from '@commitlint/ensure'; -import {RuleEntry} from './types'; import {ruleIsActive, ruleIsNotApplicable} from './utils'; -import {TargetCaseType} from '@commitlint/types'; +import type {RuleEntry} from './types'; +import type {TargetCaseType} from '@commitlint/types'; /** * Get forced case for rule diff --git a/@commitlint/prompt/src/library/get-forced-leading-fn.ts b/@commitlint/prompt/src/library/get-forced-leading-fn.ts index 12614a0158..8a37906609 100644 --- a/@commitlint/prompt/src/library/get-forced-leading-fn.ts +++ b/@commitlint/prompt/src/library/get-forced-leading-fn.ts @@ -1,4 +1,4 @@ -import {RuleEntry} from './types'; +import type {RuleEntry} from './types'; import {ruleIsActive, ruleIsNotApplicable} from './utils'; /** diff --git a/@commitlint/prompt/src/library/get-prompt.ts b/@commitlint/prompt/src/library/get-prompt.ts index 81abe7fc73..abaf4ce82b 100644 --- a/@commitlint/prompt/src/library/get-prompt.ts +++ b/@commitlint/prompt/src/library/get-prompt.ts @@ -1,5 +1,5 @@ import chalk from 'chalk'; -import {InputCustomOptions} from 'inquirer'; +import type {InputCustomOptions} from 'inquirer'; import type {InputSetting, RuleEntry, Result, ResultPart} from './types'; diff --git a/@commitlint/prompt/src/library/types.ts b/@commitlint/prompt/src/library/types.ts index e873e4a36a..be8582ad28 100644 --- a/@commitlint/prompt/src/library/types.ts +++ b/@commitlint/prompt/src/library/types.ts @@ -1,4 +1,4 @@ -import {RuleConfigCondition, RuleConfigSeverity} from '@commitlint/types'; +import type {RuleConfigCondition, RuleConfigSeverity} from '@commitlint/types'; export type RuleEntry = | [string, Readonly<[RuleConfigSeverity.Disabled]>] diff --git a/@commitlint/prompt/src/library/utils.ts b/@commitlint/prompt/src/library/utils.ts index 4eb6e74d73..089bd1b800 100644 --- a/@commitlint/prompt/src/library/utils.ts +++ b/@commitlint/prompt/src/library/utils.ts @@ -1,5 +1,6 @@ -import {QualifiedRules, RuleConfigSeverity} from '@commitlint/types'; -import {RuleEntry} from './types'; +import {RuleConfigSeverity} from '@commitlint/types'; +import type {QualifiedRules} from '@commitlint/types'; +import type {RuleEntry} from './types'; /** * Get name for a given rule id From 69e88152223773d49ad15efeb841751b70b2fd52 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 8 Nov 2021 19:22:54 +0800 Subject: [PATCH 03/20] chore: update dependency eslint-plugin-jest to v25.2.4 (#2854) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index b58ef66695..d5a4f3e23a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4736,9 +4736,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.11.0" eslint-plugin-jest@^25.0.0: - version "25.2.3" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-25.2.3.tgz#7a841eca91b4e21f31fe0a5403f55bc7779dd7b3" - integrity sha512-Yoa0at3euTjERDvPGPWiItY1uuqKYQ5Ov2SmkSLmKRq9OFiVdEehw0rWuK4PA538k7CNqnvmkztjAB9l+HJ7kQ== + version "25.2.4" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-25.2.4.tgz#bb9f6a0bd1fd524ffb0b8b7a159cd70a58a1a793" + integrity sha512-HRyinpgmEdkVr7pNPaYPHCoGqEzpgk79X8pg/xCeoAdurbyQjntJQ4pTzHl7BiVEBlam/F1Qsn+Dk0HtJO7Aaw== dependencies: "@typescript-eslint/experimental-utils" "^5.0.0" From cbe7e7269f439c12b9b58ee88983ea34bb8e86af Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 9 Nov 2021 09:40:47 +0800 Subject: [PATCH 04/20] chore: update typescript-eslint monorepo to v5.3.1 (#2855) Co-authored-by: Renovate Bot --- yarn.lock | 83 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 62 insertions(+), 21 deletions(-) diff --git a/yarn.lock b/yarn.lock index d5a4f3e23a..dcdd86231a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2773,12 +2773,12 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^5.0.0": - version "5.3.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.3.0.tgz#a55ae72d28ffeb6badd817fe4566c9cced1f5e29" - integrity sha512-ARUEJHJrq85aaiCqez7SANeahDsJTD3AEua34EoQN9pHS6S5Bq9emcIaGGySt/4X2zSi+vF5hAH52sEen7IO7g== + version "5.3.1" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.3.1.tgz#d8ff412f10f54f6364e7fd7c1e70eb6767f434c3" + integrity sha512-cFImaoIr5Ojj358xI/SDhjog57OK2NqlpxwdcgyxDA3bJlZcJq5CPzUXtpD7CxI2Hm6ATU7w5fQnnkVnmwpHqw== dependencies: - "@typescript-eslint/experimental-utils" "5.3.0" - "@typescript-eslint/scope-manager" "5.3.0" + "@typescript-eslint/experimental-utils" "5.3.1" + "@typescript-eslint/scope-manager" "5.3.1" debug "^4.3.2" functional-red-black-tree "^1.0.1" ignore "^5.1.8" @@ -2786,7 +2786,19 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@5.3.0", "@typescript-eslint/experimental-utils@^5.0.0": +"@typescript-eslint/experimental-utils@5.3.1": + version "5.3.1" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.3.1.tgz#bbd8f9b67b4d5fdcb9d2f90297d8fcda22561e05" + integrity sha512-RgFn5asjZ5daUhbK5Sp0peq0SSMytqcrkNfU4pnDma2D8P3ElZ6JbYjY8IMSFfZAJ0f3x3tnO3vXHweYg0g59w== + dependencies: + "@types/json-schema" "^7.0.9" + "@typescript-eslint/scope-manager" "5.3.1" + "@typescript-eslint/types" "5.3.1" + "@typescript-eslint/typescript-estree" "5.3.1" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + +"@typescript-eslint/experimental-utils@^5.0.0": version "5.3.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.3.0.tgz#ee56b4957547ed2b0fc7451205e41502e664f546" integrity sha512-NFVxYTjKj69qB0FM+piah1x3G/63WB8vCBMnlnEHUsiLzXSTWb9FmFn36FD9Zb4APKBLY3xRArOGSMQkuzTF1w== @@ -2799,13 +2811,13 @@ eslint-utils "^3.0.0" "@typescript-eslint/parser@^5.0.0": - version "5.3.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.3.0.tgz#7879f15e26d370ed3f653fb7dd06479531ed3ab9" - integrity sha512-rKu/yAReip7ovx8UwOAszJVO5MgBquo8WjIQcp1gx4pYQCwYzag+I5nVNHO4MqyMkAo0gWt2gWUi+36gWAVKcw== + version "5.3.1" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.3.1.tgz#8ff1977c3d3200c217b3e4628d43ef92f89e5261" + integrity sha512-TD+ONlx5c+Qhk21x9gsJAMRohWAUMavSOmJgv3JGy9dgPhuBd5Wok0lmMClZDyJNLLZK1JRKiATzCKZNUmoyfw== dependencies: - "@typescript-eslint/scope-manager" "5.3.0" - "@typescript-eslint/types" "5.3.0" - "@typescript-eslint/typescript-estree" "5.3.0" + "@typescript-eslint/scope-manager" "5.3.1" + "@typescript-eslint/types" "5.3.1" + "@typescript-eslint/typescript-estree" "5.3.1" debug "^4.3.2" "@typescript-eslint/scope-manager@5.3.0": @@ -2816,11 +2828,24 @@ "@typescript-eslint/types" "5.3.0" "@typescript-eslint/visitor-keys" "5.3.0" +"@typescript-eslint/scope-manager@5.3.1": + version "5.3.1" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.3.1.tgz#3cfbfbcf5488fb2a9a6fbbe97963ee1e8d419269" + integrity sha512-XksFVBgAq0Y9H40BDbuPOTUIp7dn4u8oOuhcgGq7EoDP50eqcafkMVGrypyVGvDYHzjhdUCUwuwVUK4JhkMAMg== + dependencies: + "@typescript-eslint/types" "5.3.1" + "@typescript-eslint/visitor-keys" "5.3.1" + "@typescript-eslint/types@5.3.0": version "5.3.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.3.0.tgz#af29fd53867c2df0028c57c36a655bd7e9e05416" integrity sha512-fce5pG41/w8O6ahQEhXmMV+xuh4+GayzqEogN24EK+vECA3I6pUwKuLi5QbXO721EMitpQne5VKXofPonYlAQg== +"@typescript-eslint/types@5.3.1": + version "5.3.1" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.3.1.tgz#afaa715b69ebfcfde3af8b0403bf27527912f9b7" + integrity sha512-bG7HeBLolxKHtdHG54Uac750eXuQQPpdJfCYuw4ZI3bZ7+GgKClMWM8jExBtp7NSP4m8PmLRM8+lhzkYnSmSxQ== + "@typescript-eslint/typescript-estree@5.3.0": version "5.3.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.3.0.tgz#4f68ddd46dc2983182402d2ab21fb44ad94988cf" @@ -2834,6 +2859,19 @@ semver "^7.3.5" tsutils "^3.21.0" +"@typescript-eslint/typescript-estree@5.3.1": + version "5.3.1" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.3.1.tgz#50cc4bfb93dc31bc75e08ae52e29fcb786d606ec" + integrity sha512-PwFbh/PKDVo/Wct6N3w+E4rLZxUDgsoII/GrWM2A62ETOzJd4M6s0Mu7w4CWsZraTbaC5UQI+dLeyOIFF1PquQ== + dependencies: + "@typescript-eslint/types" "5.3.1" + "@typescript-eslint/visitor-keys" "5.3.1" + debug "^4.3.2" + globby "^11.0.4" + is-glob "^4.0.3" + semver "^7.3.5" + tsutils "^3.21.0" + "@typescript-eslint/visitor-keys@5.3.0": version "5.3.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.3.0.tgz#a6258790f3b7b2547f70ed8d4a1e0c3499994523" @@ -2842,6 +2880,14 @@ "@typescript-eslint/types" "5.3.0" eslint-visitor-keys "^3.0.0" +"@typescript-eslint/visitor-keys@5.3.1": + version "5.3.1" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.3.1.tgz#c2860ff22939352db4f3806f34b21d8ad00588ba" + integrity sha512-3cHUzUuVTuNHx0Gjjt5pEHa87+lzyqOiHXy/Gz+SJOCW1mpw9xQHIIEwnKn+Thph1mgWyZ90nboOcSuZr/jTTQ== + dependencies: + "@typescript-eslint/types" "5.3.1" + eslint-visitor-keys "^3.0.0" + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -4771,9 +4817,9 @@ eslint-visitor-keys@^2.0.0: integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== eslint-visitor-keys@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz#e32e99c6cdc2eb063f204eda5db67bfe58bb4186" - integrity sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q== + version "3.1.0" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz#eee4acea891814cda67a7d8812d9647dd0179af2" + integrity sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA== eslint@^8.0.0: version "8.2.0" @@ -5862,16 +5908,11 @@ ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.1.4: +ignore@^5.1.4, ignore@^5.1.8: version "5.1.9" resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.9.tgz#9ec1a5cbe8e1446ec60d4420060d43aa6e7382fb" integrity sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ== -ignore@^5.1.8: - version "5.1.8" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" - integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== - import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" From bdf8d084c5a8b0d64c4f97d5dc36505dbe1875e3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 9 Nov 2021 09:53:10 +0800 Subject: [PATCH 05/20] chore: update dependency @types/node to v12.20.37 (#2857) Co-authored-by: Renovate Bot --- yarn.lock | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index dcdd86231a..df32b1eb3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2706,11 +2706,16 @@ resolved "https://registry.npmjs.org/@types/node/-/node-16.11.0.tgz#4b95f2327bacd1ef8f08d8ceda193039c5d7f52e" integrity sha512-8MLkBIYQMuhRBQzGN9875bYsOhPnf/0rgXGo66S2FemHkhbn9qtsz9ywV1iCG+vbjigE4WUNVvw37Dx+L0qsPg== -"@types/node@12.20.36", "@types/node@^12.20.27": +"@types/node@12.20.36": version "12.20.36" resolved "https://registry.npmjs.org/@types/node/-/node-12.20.36.tgz#5bd54d2383e714fc4d2c258107ee70c5bad86d0c" integrity sha512-+5haRZ9uzI7rYqzDznXgkuacqb6LJhAti8mzZKWxIXn/WEtvB+GHVJ7AuMwcN1HMvXOSJcrvA6PPoYHYOYYebA== +"@types/node@^12.20.27": + version "12.20.37" + resolved "https://registry.npmjs.org/@types/node/-/node-12.20.37.tgz#abb38afa9d6e8a2f627a8cb52290b3c80fbe61ed" + integrity sha512-i1KGxqcvJaLQali+WuypQnXwcplhtNtjs66eNsZpp2P2FL/trJJxx/VWsM0YCL2iMoIJrbXje48lvIQAQ4p2ZA== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" From 5693d39d0180ee68574788e413e6a582bac3735e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 9 Nov 2021 10:02:17 +0800 Subject: [PATCH 06/20] chore: update dependency @types/node to v12.20.37 (#2856) Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 2 +- yarn.lock | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index e4a86a9f48..01b1d01fa3 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@commitlint/test": "^14.0.0", "@commitlint/utils": "^14.0.0", - "@types/node": "12.20.36", + "@types/node": "12.20.37", "@types/yargs": "^17.0.0", "execa": "^5.0.0", "fs-extra": "^10.0.0" diff --git a/yarn.lock b/yarn.lock index df32b1eb3a..4e9a5389b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2706,12 +2706,7 @@ resolved "https://registry.npmjs.org/@types/node/-/node-16.11.0.tgz#4b95f2327bacd1ef8f08d8ceda193039c5d7f52e" integrity sha512-8MLkBIYQMuhRBQzGN9875bYsOhPnf/0rgXGo66S2FemHkhbn9qtsz9ywV1iCG+vbjigE4WUNVvw37Dx+L0qsPg== -"@types/node@12.20.36": - version "12.20.36" - resolved "https://registry.npmjs.org/@types/node/-/node-12.20.36.tgz#5bd54d2383e714fc4d2c258107ee70c5bad86d0c" - integrity sha512-+5haRZ9uzI7rYqzDznXgkuacqb6LJhAti8mzZKWxIXn/WEtvB+GHVJ7AuMwcN1HMvXOSJcrvA6PPoYHYOYYebA== - -"@types/node@^12.20.27": +"@types/node@12.20.37", "@types/node@^12.20.27": version "12.20.37" resolved "https://registry.npmjs.org/@types/node/-/node-12.20.37.tgz#abb38afa9d6e8a2f627a8cb52290b3c80fbe61ed" integrity sha512-i1KGxqcvJaLQali+WuypQnXwcplhtNtjs66eNsZpp2P2FL/trJJxx/VWsM0YCL2iMoIJrbXje48lvIQAQ4p2ZA== From b79a1381ae7d180d17bf312f1021fe6078c9cb31 Mon Sep 17 00:00:00 2001 From: Rod Elias Date: Tue, 9 Nov 2021 23:17:56 -0300 Subject: [PATCH 07/20] docs: fix typo (#2859) --- docs/guides-local-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides-local-setup.md b/docs/guides-local-setup.md index 03a3c2aa8b..968e141814 100644 --- a/docs/guides-local-setup.md +++ b/docs/guides-local-setup.md @@ -45,7 +45,7 @@ Check the [husky documentation](https://typicode.github.io/husky/#/?id=manual) o ### Test simple usage -For a first simple usage test of commlitlint you can do the following: +For a first simple usage test of commitlint you can do the following: ```bash npx commitlint --from HEAD~1 --to HEAD --verbose From f4aa6993eeeca9b76dd5f65ea5b9a7b2cabaa54d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Nov 2021 12:16:29 +0800 Subject: [PATCH 08/20] chore: update dependency eslint-plugin-import to v2.25.3 (#2861) Co-authored-by: Renovate Bot --- yarn.lock | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/yarn.lock b/yarn.lock index 4e9a5389b5..f954dca57f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4753,28 +4753,28 @@ eslint-import-resolver-node@^0.3.6: debug "^3.2.7" resolve "^1.20.0" -eslint-module-utils@^2.7.0: - version "2.7.0" - resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.0.tgz#9e97c12688113401259b39d960e6a1f09f966435" - integrity sha512-hqSE88MmHl3ru9SYvDyGrlo0JwROlf9fiEMplEV7j/EAuq9iSlIlyCFbBT6pdULQBSnBYtYKiMLps+hKkyP7Gg== +eslint-module-utils@^2.7.1: + version "2.7.1" + resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.1.tgz#b435001c9f8dd4ab7f6d0efcae4b9696d4c24b7c" + integrity sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ== dependencies: debug "^3.2.7" find-up "^2.1.0" pkg-dir "^2.0.0" eslint-plugin-import@^2.20.1: - version "2.25.2" - resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.2.tgz#b3b9160efddb702fc1636659e71ba1d10adbe9e9" - integrity sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g== + version "2.25.3" + resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.3.tgz#a554b5f66e08fb4f6dc99221866e57cfff824766" + integrity sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg== dependencies: array-includes "^3.1.4" array.prototype.flat "^1.2.5" debug "^2.6.9" doctrine "^2.1.0" eslint-import-resolver-node "^0.3.6" - eslint-module-utils "^2.7.0" + eslint-module-utils "^2.7.1" has "^1.0.3" - is-core-module "^2.7.0" + is-core-module "^2.8.0" is-glob "^4.0.3" minimatch "^3.0.4" object.values "^1.1.5" @@ -6144,20 +6144,13 @@ is-ci@^3.0.0: dependencies: ci-info "^3.1.1" -is-core-module@^2.2.0: +is-core-module@^2.2.0, is-core-module@^2.8.0: version "2.8.0" resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548" integrity sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw== dependencies: has "^1.0.3" -is-core-module@^2.7.0: - version "2.7.0" - resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.7.0.tgz#3c0ef7d31b4acfc574f80c58409d568a836848e3" - integrity sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ== - dependencies: - has "^1.0.3" - is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" From b0776adc9148eab471baebcebd91fa22499aa958 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 14 Nov 2021 11:16:02 +0800 Subject: [PATCH 09/20] chore: update dependency lint-staged to v12 (#2863) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 184 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 109 insertions(+), 77 deletions(-) diff --git a/package.json b/package.json index 787564400d..b5f1447fa4 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "husky": "^7.0.0", "jest": "27.3.1", "lerna": "^4.0.0", - "lint-staged": "11.2.6", + "lint-staged": "12.0.1", "prettier": "^2.0.5", "ts-jest": "^27.0.5", "typescript": "^4.4.3" diff --git a/yarn.lock b/yarn.lock index f954dca57f..e854b69ae9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3042,6 +3042,11 @@ ansi-regex@^5.0.0, ansi-regex@^5.0.1: resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" @@ -3066,6 +3071,11 @@ ansi-styles@^5.0.0: resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== +ansi-styles@^6.0.0: + version "6.1.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.1.0.tgz#87313c102b8118abd57371afab34618bf7350ed3" + integrity sha512-VbqNsoz55SYGczauuup0MFUyXNQviSpFTj1RQtFzmQLk18qbVSpTFFGMT293rmDaQuKCT6InmbuEyUne4mTuxQ== + anymatch@^3.0.3, anymatch@~3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" @@ -3728,7 +3738,15 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" -cli-truncate@2.1.0, cli-truncate@^2.1.0: +cli-truncate@3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz#3f23ab12535e3d73e839bb43e73c9de487db1389" + integrity sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA== + dependencies: + slice-ansi "^5.0.0" + string-width "^5.0.0" + +cli-truncate@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== @@ -3785,6 +3803,11 @@ clone@^1.0.2: resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= +clone@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" + integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= + cmd-shim@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz#b3a904a6743e9fede4148c6f3800bf2a08135bdd" @@ -3839,10 +3862,10 @@ color-name@~1.1.4: resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40" - integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g== +colorette@^2.0.16: + version "2.0.16" + resolved "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da" + integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g== columnify@^1.5.4: version "1.5.4" @@ -3859,10 +3882,10 @@ combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -commander@^8.2.0: - version "8.2.0" - resolved "https://registry.npmjs.org/commander/-/commander-8.2.0.tgz#37fe2bde301d87d47a53adeff8b5915db1381ca8" - integrity sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA== +commander@^8.3.0: + version "8.3.0" + resolved "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== commander@~2.20.3: version "2.20.3" @@ -4593,6 +4616,11 @@ emoji-regex@^8.0.0: resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" @@ -5366,11 +5394,6 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: has "^1.0.3" has-symbols "^1.0.1" -get-own-enumerable-property-symbols@^3.0.0: - version "3.0.2" - resolved "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" - integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== - get-pkg-repo@^1.0.0: version "1.4.0" resolved "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d" @@ -5720,6 +5743,11 @@ has-flag@^4.0.0: resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-flag@^5.0.0: + version "5.0.1" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-5.0.1.tgz#5483db2ae02a472d1d0691462fc587d1843cd940" + integrity sha512-CsNUt5x9LUdx6hnk/E2SZLsDyvfqANZSUq4+D3D8RzDJ2M+HDTIkF60ibS1vHaK55vzgiZw1bEPFG9yH7l33wA== + has-symbols@^1.0.1, has-symbols@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" @@ -6229,6 +6257,11 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== +is-fullwidth-code-point@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz#fae3167c729e7463f8461ce512b080a49268aa88" + integrity sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ== + is-generator-fn@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" @@ -6290,11 +6323,6 @@ is-number@^7.0.0: resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-obj@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" - integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= - is-obj@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" @@ -6348,11 +6376,6 @@ is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-regexp@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" - integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= - is-shared-array-buffer@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" @@ -7250,36 +7273,35 @@ lines-and-columns@^1.1.6: resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@11.2.6: - version "11.2.6" - resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-11.2.6.tgz#f477b1af0294db054e5937f171679df63baa4c43" - integrity sha512-Vti55pUnpvPE0J9936lKl0ngVeTdSZpEdTNhASbkaWX7J5R9OEifo1INBGQuGW4zmy6OG+TcWPJ3m5yuy5Q8Tg== +lint-staged@12.0.1: + version "12.0.1" + resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-12.0.1.tgz#796bdfce87c5557bfea1497f7c6c4a7da3ffc338" + integrity sha512-4sqWnR+uhhRzqtOmkMPr0EWogeYMg9JwGxNErlxA8NzMTFv8dI93Be5htXMODfr/Sj9WVwCtjJntq9sJ6wpwvQ== dependencies: - cli-truncate "2.1.0" - colorette "^1.4.0" - commander "^8.2.0" + cli-truncate "3.1.0" + colorette "^2.0.16" + commander "^8.3.0" cosmiconfig "^7.0.1" debug "^4.3.2" - enquirer "^2.3.6" execa "^5.1.1" - listr2 "^3.12.2" + listr2 "^3.13.3" micromatch "^4.0.4" normalize-path "^3.0.0" - please-upgrade-node "^3.2.0" + object-inspect "1.11.0" string-argv "0.3.1" - stringify-object "3.3.0" - supports-color "8.1.1" + supports-color "9.0.2" -listr2@^3.12.2: - version "3.12.2" - resolved "https://registry.npmjs.org/listr2/-/listr2-3.12.2.tgz#2d55cc627111603ad4768a9e87c9c7bb9b49997e" - integrity sha512-64xC2CJ/As/xgVI3wbhlPWVPx0wfTqbUAkpb7bjDi0thSWMqrf07UFhrfsGoo8YSXmF049Rp9C0cjLC8rZxK9A== +listr2@^3.13.3: + version "3.13.3" + resolved "https://registry.npmjs.org/listr2/-/listr2-3.13.3.tgz#d8f6095c9371b382c9b1c2bc33c5941d8e177f11" + integrity sha512-VqAgN+XVfyaEjSaFewGPcDs5/3hBbWVaX1VgWv2f52MF7US45JuARlArULctiB44IIcEk3JF7GtoFCLqEdeuPA== dependencies: cli-truncate "^2.1.0" - colorette "^1.4.0" + clone "^2.1.2" + colorette "^2.0.16" log-update "^4.0.0" p-map "^4.0.0" - rxjs "^6.6.7" + rxjs "^7.4.0" through "^2.3.8" wrap-ansi "^7.0.0" @@ -8149,7 +8171,7 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" -object-inspect@^1.11.0, object-inspect@^1.9.0: +object-inspect@1.11.0, object-inspect@^1.11.0, object-inspect@^1.9.0: version "1.11.0" resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1" integrity sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg== @@ -8679,13 +8701,6 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -please-upgrade-node@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" - integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== - dependencies: - semver-compare "^1.0.0" - posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -9369,13 +9384,6 @@ rxjs@^6.6.0: dependencies: tslib "^1.9.0" -rxjs@^6.6.7: - version "6.6.7" - resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" - integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== - dependencies: - tslib "^1.9.0" - rxjs@^7.2.0: version "7.3.0" resolved "https://registry.npmjs.org/rxjs/-/rxjs-7.3.0.tgz#39fe4f3461dc1e50be1475b2b85a0a88c1e938c6" @@ -9383,6 +9391,13 @@ rxjs@^7.2.0: dependencies: tslib "~2.1.0" +rxjs@^7.4.0: + version "7.4.0" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-7.4.0.tgz#a12a44d7eebf016f5ff2441b87f28c9a51cebc68" + integrity sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w== + dependencies: + tslib "~2.1.0" + safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" @@ -9412,11 +9427,6 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" -semver-compare@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" - integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w= - semver-diff@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" @@ -9565,6 +9575,14 @@ slice-ansi@^4.0.0: astral-regex "^2.0.0" is-fullwidth-code-point "^3.0.0" +slice-ansi@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" + integrity sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ== + dependencies: + ansi-styles "^6.0.0" + is-fullwidth-code-point "^4.0.0" + slide@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" @@ -9832,6 +9850,15 @@ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^5.0.0: + version "5.0.1" + resolved "https://registry.npmjs.org/string-width/-/string-width-5.0.1.tgz#0d8158335a6cfd8eb95da9b6b262ce314a036ffd" + integrity sha512-5ohWO/M4//8lErlUUtrFy3b11GtNOuMOU0ysKCDXFcfXuuvUXu95akgj/i8ofmaGdN0hCqyl6uu9i8dS/mQp5g== + dependencies: + emoji-regex "^9.2.2" + is-fullwidth-code-point "^4.0.0" + strip-ansi "^7.0.1" + string.prototype.trimend@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80" @@ -9862,15 +9889,6 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -stringify-object@3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629" - integrity sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw== - dependencies: - get-own-enumerable-property-symbols "^3.0.0" - is-obj "^1.0.1" - is-regexp "^1.0.0" - strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -9899,6 +9917,13 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" +strip-ansi@^7.0.1: + version "7.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" + integrity sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw== + dependencies: + ansi-regex "^6.0.1" + strip-bom@4.0.0, strip-bom@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" @@ -9964,12 +9989,12 @@ strong-log-transformer@^2.1.0: minimist "^1.2.0" through "^2.3.4" -supports-color@8.1.1, supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== +supports-color@9.0.2: + version "9.0.2" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-9.0.2.tgz#50f082888e4b0a4e2ccd2d0b4f9ef4efcd332485" + integrity sha512-ii6tc8ImGFrgMPYq7RVAMKkhPo9vk8uA+D3oKbJq/3Pk2YSMv1+9dUAesa9UxMbxBTvxwKTQffBahNVNxEvM8Q== dependencies: - has-flag "^4.0.0" + has-flag "^5.0.0" supports-color@^2.0.0: version "2.0.0" @@ -9997,6 +10022,13 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + supports-hyperlinks@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.0.0.tgz#b1b94a159e9df00b0a554b2d5f0e0a89690334b0" From 9a7a43aa8a7eca18f2fe05c78d27dcb1a128930c Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 14 Nov 2021 04:19:07 +0100 Subject: [PATCH 10/20] test(config-lerna-scopes): reuse npm bootstrap to simplify tests (#2479) * chore: update dependency @lerna/project to v4 (#2447) * chore: update dependency @lerna/project to v4 * feat!: update to lerna v4 BREAKING CHANGE: upgrade to lerna v4 Co-authored-by: Renovate Bot Co-authored-by: escapedcat * test(config-lerna-scopes): reuse npm bootstrap to simplify tests * test(config-lerna-scopes): reuse npm bootstrap to simplify tests * test: fix issue after merge * test: one more fix after merge Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot Co-authored-by: escapedcat --- .../fixtures/basic/package.json | 3 ++- .../fixtures/empty/package.json | 3 ++- .../fixtures/lerna-two/lerna.json | 5 ----- .../fixtures/lerna-two/package.json | 7 ------- .../lerna-two/packages/a2/package.json | 4 ---- .../lerna-two/packages/b2/package.json | 4 ---- .../fixtures/modules/package.json | 3 ++- .../fixtures/scoped/package.json | 3 ++- .../fixtures/yarn/package.json | 3 ++- @commitlint/config-lerna-scopes/index.test.js | 10 ++++----- @packages/test/src/index.ts | 3 +-- @packages/test/src/lerna.ts | 21 ------------------- 12 files changed, 16 insertions(+), 53 deletions(-) delete mode 100644 @commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json delete mode 100644 @commitlint/config-lerna-scopes/fixtures/lerna-two/package.json delete mode 100644 @commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json delete mode 100644 @commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json delete mode 100644 @packages/test/src/lerna.ts diff --git a/@commitlint/config-lerna-scopes/fixtures/basic/package.json b/@commitlint/config-lerna-scopes/fixtures/basic/package.json index 06aff06a63..85a312021c 100644 --- a/@commitlint/config-lerna-scopes/fixtures/basic/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/basic/package.json @@ -2,6 +2,7 @@ "name": "basic", "version": "1.0.0", "devDependencies": { - "lerna": "^4.0.0" + "lerna": "^4.0.0", + "@lerna/project": "^4.0.0" } } diff --git a/@commitlint/config-lerna-scopes/fixtures/empty/package.json b/@commitlint/config-lerna-scopes/fixtures/empty/package.json index 00bf9d1213..345438e0ac 100644 --- a/@commitlint/config-lerna-scopes/fixtures/empty/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/empty/package.json @@ -2,6 +2,7 @@ "name": "empty", "version": "1.0.0", "devDependencies": { - "lerna": "^4.0.0" + "lerna": "^4.0.0", + "@lerna/project": "^4.0.0" } } diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json deleted file mode 100644 index 41c31e2033..0000000000 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "lerna": "4", - "version": "1.0.0", - "packages": ["packages/*"] -} diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json deleted file mode 100644 index db55d4fad3..0000000000 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "version-mismatch", - "version": "1.0.0", - "devDependencies": { - "lerna": "^4.0.0" - } -} diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json deleted file mode 100644 index caecf1e4fb..0000000000 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "a2", - "version": "1.0.0" -} diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json deleted file mode 100644 index cb876f041e..0000000000 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "b2", - "version": "1.0.0" -} diff --git a/@commitlint/config-lerna-scopes/fixtures/modules/package.json b/@commitlint/config-lerna-scopes/fixtures/modules/package.json index 06aff06a63..85a312021c 100644 --- a/@commitlint/config-lerna-scopes/fixtures/modules/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/modules/package.json @@ -2,6 +2,7 @@ "name": "basic", "version": "1.0.0", "devDependencies": { - "lerna": "^4.0.0" + "lerna": "^4.0.0", + "@lerna/project": "^4.0.0" } } diff --git a/@commitlint/config-lerna-scopes/fixtures/scoped/package.json b/@commitlint/config-lerna-scopes/fixtures/scoped/package.json index 0761bd7b18..5ede29c62c 100644 --- a/@commitlint/config-lerna-scopes/fixtures/scoped/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/scoped/package.json @@ -2,6 +2,7 @@ "name": "scoped", "version": "1.0.0", "devDependencies": { - "lerna": "^4.0.0" + "lerna": "^4.0.0", + "@lerna/project": "^4.0.0" } } diff --git a/@commitlint/config-lerna-scopes/fixtures/yarn/package.json b/@commitlint/config-lerna-scopes/fixtures/yarn/package.json index 40f5ac83a8..086ff7756b 100644 --- a/@commitlint/config-lerna-scopes/fixtures/yarn/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/yarn/package.json @@ -2,7 +2,8 @@ "name": "yarn", "version": "1.0.0", "devDependencies": { - "lerna": "^4.0.0" + "lerna": "^4.0.0", + "@lerna/project": "^4.0.0" }, "workspaces": [ "@packages/*" diff --git a/@commitlint/config-lerna-scopes/index.test.js b/@commitlint/config-lerna-scopes/index.test.js index 052260ef5c..2028fc6f8c 100644 --- a/@commitlint/config-lerna-scopes/index.test.js +++ b/@commitlint/config-lerna-scopes/index.test.js @@ -1,5 +1,5 @@ import Path from 'path'; -import {lerna} from '@commitlint/test'; +import {npm} from '@commitlint/test'; import config from '.'; test('exports rules key', () => { @@ -47,14 +47,14 @@ test('scope-enum has expected modifier', async () => { test('returns empty value for empty lerna repository', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await lerna.bootstrap('empty', __dirname); + const cwd = await npm.bootstrap('fixtures/empty', __dirname); const [, , value] = await fn({cwd}); expect(value).toEqual([]); }); test('returns expected value for basic lerna repository', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await lerna.bootstrap('basic', __dirname); + const cwd = await npm.bootstrap('fixtures/basic', __dirname); const [, , value] = await fn({cwd}); expect(value).toEqual(['a', 'b']); @@ -62,7 +62,7 @@ test('returns expected value for basic lerna repository', async () => { test('returns expected value for lerna repository containing modules', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await lerna.bootstrap('modules', __dirname); + const cwd = await npm.bootstrap('fixtures/modules', __dirname); const [, , value] = await fn({cwd}); expect(value).toEqual(['a']); @@ -70,7 +70,7 @@ test('returns expected value for lerna repository containing modules', async () test('returns expected value for scoped lerna repository', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await lerna.bootstrap('scoped', __dirname); + const cwd = await npm.bootstrap('fixtures/scoped', __dirname); const [, , value] = await fn({cwd}); expect(value).toEqual(['a', 'b']); diff --git a/@packages/test/src/index.ts b/@packages/test/src/index.ts index 4c28118d53..2825fd2120 100644 --- a/@packages/test/src/index.ts +++ b/@packages/test/src/index.ts @@ -1,6 +1,5 @@ import * as fix from './fix'; import * as git from './git'; -import * as lerna from './lerna'; import * as npm from './npm'; -export {fix, git, lerna, npm}; +export {fix, git, npm}; diff --git a/@packages/test/src/lerna.ts b/@packages/test/src/lerna.ts deleted file mode 100644 index a6d7325da0..0000000000 --- a/@packages/test/src/lerna.ts +++ /dev/null @@ -1,21 +0,0 @@ -import fs from 'fs-extra'; -import path from 'path'; -import resolvePkg from 'resolve-pkg'; -import * as fix from './fix'; - -export type LernaFixture = 'basic' | 'empty' | 'scoped'; - -export async function bootstrap( - fixture: string, - directory: string -): Promise { - const cwd = await fix.bootstrap(`fixtures/${fixture}`, directory); - const lerna = 'lerna'; - await fs.mkdirp(path.join(cwd, 'node_modules', '@lerna')); - await fs.symlink( - resolvePkg('@lerna/project')!, - path.join(cwd, 'node_modules', '@lerna', 'project') - ); - await fs.symlink(resolvePkg(lerna)!, path.join(cwd, 'node_modules', 'lerna')); - return cwd; -} From cc474e5153ab6ba551b8b093af2027f570e9506f Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 14 Nov 2021 18:36:22 +0800 Subject: [PATCH 11/20] docs: add v14 to releases and fix jump-link --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab2ca5f816..b610697d9b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ - [Shared configuration](#shared-configuration) - [API](#api) - [Tools](#tools) -- [Version Support and Releaes](#version-support-and-releaes) +- [Version Support and Releases](#version-support-and-releases) - [Related projects](#related-projects) - [License](#license) - [Development](#development) @@ -198,6 +198,7 @@ Features will only be applied to the current main version. | Release | Inital release | End-of-life | | -------------------------------------------------------------------------------- | -------------- | ----------- | +| [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 26.10.2021 | 26.10.2022 | | [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v13.0.0) | 24.05.2021 | 24.05.2022 | | [v12](https://github.com/conventional-changelog/commitlint/releases/tag/v12.0.0) | 23.02.2021 | 23.02.2022 | | [v11](https://github.com/conventional-changelog/commitlint/releases/tag/v11.0.0) | 13.09.2020 | 13.09.2020 | From e4423d371561ab6d4f84584b1a77f5b1e7ee375f Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 14 Nov 2021 18:37:01 +0800 Subject: [PATCH 12/20] docs: add v14 to releases --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b610697d9b..9286871555 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ Features will only be applied to the current main version. | Release | Inital release | End-of-life | | -------------------------------------------------------------------------------- | -------------- | ----------- | -| [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 26.10.2021 | 26.10.2022 | +| [v14](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 26.10.2021 | 26.10.2022 | | [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v13.0.0) | 24.05.2021 | 24.05.2022 | | [v12](https://github.com/conventional-changelog/commitlint/releases/tag/v12.0.0) | 23.02.2021 | 23.02.2022 | | [v11](https://github.com/conventional-changelog/commitlint/releases/tag/v11.0.0) | 13.09.2020 | 13.09.2020 | From f5ebf6ef07ebd20367453f29af863fb6f8791029 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 14 Nov 2021 20:15:00 +0800 Subject: [PATCH 13/20] chore: update dependency lint-staged to v12.0.2 (#2867) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b5f1447fa4..4b439c9569 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "husky": "^7.0.0", "jest": "27.3.1", "lerna": "^4.0.0", - "lint-staged": "12.0.1", + "lint-staged": "12.0.2", "prettier": "^2.0.5", "ts-jest": "^27.0.5", "typescript": "^4.4.3" diff --git a/yarn.lock b/yarn.lock index e854b69ae9..a27b5902cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7273,10 +7273,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@12.0.1: - version "12.0.1" - resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-12.0.1.tgz#796bdfce87c5557bfea1497f7c6c4a7da3ffc338" - integrity sha512-4sqWnR+uhhRzqtOmkMPr0EWogeYMg9JwGxNErlxA8NzMTFv8dI93Be5htXMODfr/Sj9WVwCtjJntq9sJ6wpwvQ== +lint-staged@12.0.2: + version "12.0.2" + resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-12.0.2.tgz#b0f96f2a57898658a5b59e087aeff975dad03fc1" + integrity sha512-tpCvACqc7bykziGJmXG0G8YG2RaCrWiDBwmrP9wU7i/3za9JMOvCECQmXjw/sO4ICC70ApVwyqixS1htQX9Haw== dependencies: cli-truncate "3.1.0" colorette "^2.0.16" From 055014c079216060ea8d51bb9c920a7fd759b8bc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Nov 2021 10:29:44 +0800 Subject: [PATCH 14/20] chore: update typescript-eslint monorepo to v5.4.0 (#2871) Co-authored-by: Renovate Bot --- yarn.lock | 78 +++++++++++++++++++++++++++---------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/yarn.lock b/yarn.lock index a27b5902cd..3165acb318 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2773,12 +2773,12 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^5.0.0": - version "5.3.1" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.3.1.tgz#d8ff412f10f54f6364e7fd7c1e70eb6767f434c3" - integrity sha512-cFImaoIr5Ojj358xI/SDhjog57OK2NqlpxwdcgyxDA3bJlZcJq5CPzUXtpD7CxI2Hm6ATU7w5fQnnkVnmwpHqw== + version "5.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.4.0.tgz#05e711a2e7b68342661fde61bccbd1531c19521a" + integrity sha512-9/yPSBlwzsetCsGEn9j24D8vGQgJkOTr4oMLas/w886ZtzKIs1iyoqFrwsX2fqYEeUwsdBpC21gcjRGo57u0eg== dependencies: - "@typescript-eslint/experimental-utils" "5.3.1" - "@typescript-eslint/scope-manager" "5.3.1" + "@typescript-eslint/experimental-utils" "5.4.0" + "@typescript-eslint/scope-manager" "5.4.0" debug "^4.3.2" functional-red-black-tree "^1.0.1" ignore "^5.1.8" @@ -2786,15 +2786,15 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@5.3.1": - version "5.3.1" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.3.1.tgz#bbd8f9b67b4d5fdcb9d2f90297d8fcda22561e05" - integrity sha512-RgFn5asjZ5daUhbK5Sp0peq0SSMytqcrkNfU4pnDma2D8P3ElZ6JbYjY8IMSFfZAJ0f3x3tnO3vXHweYg0g59w== +"@typescript-eslint/experimental-utils@5.4.0": + version "5.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.4.0.tgz#238a7418d2da3b24874ba35385eb21cc61d2a65e" + integrity sha512-Nz2JDIQUdmIGd6p33A+naQmwfkU5KVTLb/5lTk+tLVTDacZKoGQisj8UCxk7onJcrgjIvr8xWqkYI+DbI3TfXg== dependencies: "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.3.1" - "@typescript-eslint/types" "5.3.1" - "@typescript-eslint/typescript-estree" "5.3.1" + "@typescript-eslint/scope-manager" "5.4.0" + "@typescript-eslint/types" "5.4.0" + "@typescript-eslint/typescript-estree" "5.4.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" @@ -2811,13 +2811,13 @@ eslint-utils "^3.0.0" "@typescript-eslint/parser@^5.0.0": - version "5.3.1" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.3.1.tgz#8ff1977c3d3200c217b3e4628d43ef92f89e5261" - integrity sha512-TD+ONlx5c+Qhk21x9gsJAMRohWAUMavSOmJgv3JGy9dgPhuBd5Wok0lmMClZDyJNLLZK1JRKiATzCKZNUmoyfw== + version "5.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.4.0.tgz#3aa83ce349d66e39b84151f6d5464928044ca9e3" + integrity sha512-JoB41EmxiYpaEsRwpZEYAJ9XQURPFer8hpkIW9GiaspVLX8oqbqNM8P4EP8HOZg96yaALiLEVWllA2E8vwsIKw== dependencies: - "@typescript-eslint/scope-manager" "5.3.1" - "@typescript-eslint/types" "5.3.1" - "@typescript-eslint/typescript-estree" "5.3.1" + "@typescript-eslint/scope-manager" "5.4.0" + "@typescript-eslint/types" "5.4.0" + "@typescript-eslint/typescript-estree" "5.4.0" debug "^4.3.2" "@typescript-eslint/scope-manager@5.3.0": @@ -2828,23 +2828,23 @@ "@typescript-eslint/types" "5.3.0" "@typescript-eslint/visitor-keys" "5.3.0" -"@typescript-eslint/scope-manager@5.3.1": - version "5.3.1" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.3.1.tgz#3cfbfbcf5488fb2a9a6fbbe97963ee1e8d419269" - integrity sha512-XksFVBgAq0Y9H40BDbuPOTUIp7dn4u8oOuhcgGq7EoDP50eqcafkMVGrypyVGvDYHzjhdUCUwuwVUK4JhkMAMg== +"@typescript-eslint/scope-manager@5.4.0": + version "5.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.4.0.tgz#aaab08415f4a9cf32b870c7750ae8ba4607126a1" + integrity sha512-pRxFjYwoi8R+n+sibjgF9iUiAELU9ihPBtHzocyW8v8D8G8KeQvXTsW7+CBYIyTYsmhtNk50QPGLE3vrvhM5KA== dependencies: - "@typescript-eslint/types" "5.3.1" - "@typescript-eslint/visitor-keys" "5.3.1" + "@typescript-eslint/types" "5.4.0" + "@typescript-eslint/visitor-keys" "5.4.0" "@typescript-eslint/types@5.3.0": version "5.3.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.3.0.tgz#af29fd53867c2df0028c57c36a655bd7e9e05416" integrity sha512-fce5pG41/w8O6ahQEhXmMV+xuh4+GayzqEogN24EK+vECA3I6pUwKuLi5QbXO721EMitpQne5VKXofPonYlAQg== -"@typescript-eslint/types@5.3.1": - version "5.3.1" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.3.1.tgz#afaa715b69ebfcfde3af8b0403bf27527912f9b7" - integrity sha512-bG7HeBLolxKHtdHG54Uac750eXuQQPpdJfCYuw4ZI3bZ7+GgKClMWM8jExBtp7NSP4m8PmLRM8+lhzkYnSmSxQ== +"@typescript-eslint/types@5.4.0": + version "5.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.4.0.tgz#b1c130f4b381b77bec19696c6e3366f9781ce8f2" + integrity sha512-GjXNpmn+n1LvnttarX+sPD6+S7giO+9LxDIGlRl4wK3a7qMWALOHYuVSZpPTfEIklYjaWuMtfKdeByx0AcaThA== "@typescript-eslint/typescript-estree@5.3.0": version "5.3.0" @@ -2859,13 +2859,13 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/typescript-estree@5.3.1": - version "5.3.1" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.3.1.tgz#50cc4bfb93dc31bc75e08ae52e29fcb786d606ec" - integrity sha512-PwFbh/PKDVo/Wct6N3w+E4rLZxUDgsoII/GrWM2A62ETOzJd4M6s0Mu7w4CWsZraTbaC5UQI+dLeyOIFF1PquQ== +"@typescript-eslint/typescript-estree@5.4.0": + version "5.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.4.0.tgz#fe524fb308973c68ebeb7428f3b64499a6ba5fc0" + integrity sha512-nhlNoBdhKuwiLMx6GrybPT3SFILm5Gij2YBdPEPFlYNFAXUJWX6QRgvi/lwVoadaQEFsizohs6aFRMqsXI2ewA== dependencies: - "@typescript-eslint/types" "5.3.1" - "@typescript-eslint/visitor-keys" "5.3.1" + "@typescript-eslint/types" "5.4.0" + "@typescript-eslint/visitor-keys" "5.4.0" debug "^4.3.2" globby "^11.0.4" is-glob "^4.0.3" @@ -2880,12 +2880,12 @@ "@typescript-eslint/types" "5.3.0" eslint-visitor-keys "^3.0.0" -"@typescript-eslint/visitor-keys@5.3.1": - version "5.3.1" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.3.1.tgz#c2860ff22939352db4f3806f34b21d8ad00588ba" - integrity sha512-3cHUzUuVTuNHx0Gjjt5pEHa87+lzyqOiHXy/Gz+SJOCW1mpw9xQHIIEwnKn+Thph1mgWyZ90nboOcSuZr/jTTQ== +"@typescript-eslint/visitor-keys@5.4.0": + version "5.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.4.0.tgz#09bc28efd3621f292fe88c86eef3bf4893364c8c" + integrity sha512-PVbax7MeE7tdLfW5SA0fs8NGVVr+buMPrcj+CWYWPXsZCH8qZ1THufDzbXm1xrZ2b2PA1iENJ0sRq5fuUtvsJg== dependencies: - "@typescript-eslint/types" "5.3.1" + "@typescript-eslint/types" "5.4.0" eslint-visitor-keys "^3.0.0" JSONStream@^1.0.4: From c33d4933501b467f55d67d652f67f169a6c747a5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Nov 2021 10:29:52 +0800 Subject: [PATCH 15/20] chore: update dependency @types/lodash to v4.14.177 (#2870) Co-authored-by: Renovate Bot --- @commitlint/load/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 300a3cd4d5..b5391d386d 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -37,7 +37,7 @@ "devDependencies": { "@commitlint/test": "^14.0.0", "@commitlint/utils": "^14.0.0", - "@types/lodash": "4.14.176", + "@types/lodash": "4.14.177", "conventional-changelog-atom": "^2.0.8", "execa": "^5.0.0" }, diff --git a/yarn.lock b/yarn.lock index 3165acb318..be6cbd9eae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2681,10 +2681,10 @@ resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/lodash@4.14.176": - version "4.14.176" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.176.tgz#641150fc1cda36fbfa329de603bbb175d7ee20c0" - integrity sha512-xZmuPTa3rlZoIbtDUyJKZQimJV3bxCmzMIO2c9Pz9afyDro6kr7R79GwcB6mRhuoPmV2p1Vb66WOJH7F886WKQ== +"@types/lodash@4.14.177": + version "4.14.177" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.177.tgz#f70c0d19c30fab101cad46b52be60363c43c4578" + integrity sha512-0fDwydE2clKe9MNfvXHBHF9WEahRuj+msTuQqOmAApNORFvhMYZKNGGJdCzuhheVjMps/ti0Ak/iJPACMaevvw== "@types/lodash@^4.14.161": version "4.14.161" From 8a8384f3c18954447cb633e76a573e1db71a1440 Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 16 Nov 2021 03:34:47 +0100 Subject: [PATCH 16/20] feat: simplify config resolution (#2398) * feat: basic user config validation * fix: simplify config resolution and fix issue #327 * fix: remove no longer needed function * fix: disable some unwanted validations * fix: improve config validation * fix: remove redundant validation * fix: use reduceRight instead of reverse * fix: rollback some code * fix: drop invalid type casts * fix: rollback unnecessary changes * fix: rollback config validation * fix: add missing type-guards and restore order * fix: one more order change * fix: add one more missing type guard * fix: remove unused types reference * fix: add additional unit tests * fix: add additional regression tests - remove also unnecessary type check * fix: remove more unnecessary code changes * fix: correct order of merging plugins * fix: add missing type check * fix: remove invalid type check * fix: remove redundant code * fix: rollback some unnecessary changes * fix: optimize loadParserOpts --- @commitlint/cli/src/cli.ts | 2 +- @commitlint/load/src/load.test.ts | 44 ++-- @commitlint/load/src/load.ts | 100 ++++----- .../load/src/utils/load-parser-opts.ts | 77 ++++--- @commitlint/load/src/utils/pick-config.ts | 3 +- @commitlint/resolve-extends/src/index.test.ts | 191 +++++++++++++++++- @commitlint/resolve-extends/src/index.ts | 17 +- @commitlint/types/src/load.ts | 14 +- 8 files changed, 322 insertions(+), 126 deletions(-) diff --git a/@commitlint/cli/src/cli.ts b/@commitlint/cli/src/cli.ts index 974974be8d..891c534f70 100644 --- a/@commitlint/cli/src/cli.ts +++ b/@commitlint/cli/src/cli.ts @@ -373,7 +373,7 @@ function getSeed(flags: CliFlags): Seed { : {parserPreset: flags['parser-preset']}; } -function selectParserOpts(parserPreset: ParserPreset) { +function selectParserOpts(parserPreset: ParserPreset | undefined) { if (typeof parserPreset !== 'object') { return undefined; } diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts index 824c3e130e..3358080d25 100644 --- a/@commitlint/load/src/load.test.ts +++ b/@commitlint/load/src/load.test.ts @@ -21,6 +21,7 @@ test('extends-empty should have no rules', async () => { const actual = await load({}, {cwd}); expect(actual.rules).toMatchObject({}); + expect(actual.parserPreset).not.toBeDefined(); }); test('uses seed as configured', async () => { @@ -127,8 +128,9 @@ test('uses seed with parserPreset', async () => { {cwd} ); - expect(actual.name).toBe('./conventional-changelog-custom'); - expect(actual.parserOpts).toMatchObject({ + expect(actual).toBeDefined(); + expect(actual!.name).toBe('./conventional-changelog-custom'); + expect(actual!.parserOpts).toMatchObject({ headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/, }); }); @@ -268,8 +270,9 @@ test('parser preset overwrites completely instead of merging', async () => { const cwd = await gitBootstrap('fixtures/parser-preset-override'); const actual = await load({}, {cwd}); - expect(actual.parserPreset.name).toBe('./custom'); - expect(actual.parserPreset.parserOpts).toMatchObject({ + expect(actual.parserPreset).toBeDefined(); + expect(actual.parserPreset!.name).toBe('./custom'); + expect(actual.parserPreset!.parserOpts).toMatchObject({ headerPattern: /.*/, }); }); @@ -278,8 +281,9 @@ test('recursive extends with parserPreset', async () => { const cwd = await gitBootstrap('fixtures/recursive-parser-preset'); const actual = await load({}, {cwd}); - expect(actual.parserPreset.name).toBe('./conventional-changelog-custom'); - expect(actual.parserPreset.parserOpts).toMatchObject({ + expect(actual.parserPreset).toBeDefined(); + expect(actual.parserPreset!.name).toBe('./conventional-changelog-custom'); + expect(actual.parserPreset!.parserOpts).toMatchObject({ headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/, }); }); @@ -402,11 +406,12 @@ test('resolves parser preset from conventional commits', async () => { const cwd = await npmBootstrap('fixtures/parser-preset-conventionalcommits'); const actual = await load({}, {cwd}); - expect(actual.parserPreset.name).toBe( + expect(actual.parserPreset).toBeDefined(); + expect(actual.parserPreset!.name).toBe( 'conventional-changelog-conventionalcommits' ); - expect(typeof actual.parserPreset.parserOpts).toBe('object'); - expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + expect(typeof actual.parserPreset!.parserOpts).toBe('object'); + expect((actual.parserPreset!.parserOpts as any).headerPattern).toEqual( /^(\w*)(?:\((.*)\))?!?: (.*)$/ ); }); @@ -415,9 +420,10 @@ test('resolves parser preset from conventional angular', async () => { const cwd = await npmBootstrap('fixtures/parser-preset-angular'); const actual = await load({}, {cwd}); - expect(actual.parserPreset.name).toBe('conventional-changelog-angular'); - expect(typeof actual.parserPreset.parserOpts).toBe('object'); - expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + expect(actual.parserPreset).toBeDefined(); + expect(actual.parserPreset!.name).toBe('conventional-changelog-angular'); + expect(typeof actual.parserPreset!.parserOpts).toBe('object'); + expect((actual.parserPreset!.parserOpts as any).headerPattern).toEqual( /^(\w*)(?:\((.*)\))?: (.*)$/ ); }); @@ -432,9 +438,10 @@ test('recursive resolves parser preset from conventional atom', async () => { const actual = await load({}, {cwd}); - expect(actual.parserPreset.name).toBe('conventional-changelog-atom'); - expect(typeof actual.parserPreset.parserOpts).toBe('object'); - expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + expect(actual.parserPreset).toBeDefined(); + expect(actual.parserPreset!.name).toBe('conventional-changelog-atom'); + expect(typeof actual.parserPreset!.parserOpts).toBe('object'); + expect((actual.parserPreset!.parserOpts as any).headerPattern).toEqual( /^(:.*?:) (.*)$/ ); }); @@ -445,11 +452,12 @@ test('resolves parser preset from conventional commits without factory support', ); const actual = await load({}, {cwd}); - expect(actual.parserPreset.name).toBe( + expect(actual.parserPreset).toBeDefined(); + expect(actual.parserPreset!.name).toBe( 'conventional-changelog-conventionalcommits' ); - expect(typeof actual.parserPreset.parserOpts).toBe('object'); - expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + expect(typeof actual.parserPreset!.parserOpts).toBe('object'); + expect((actual.parserPreset!.parserOpts as any).headerPattern).toEqual( /^(\w*)(?:\((.*)\))?!?: (.*)$/ ); }); diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index 9f54ce20fe..277ad398f0 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -2,17 +2,14 @@ import executeRule from '@commitlint/execute-rule'; import resolveExtends from '@commitlint/resolve-extends'; import { LoadOptions, - ParserPreset, QualifiedConfig, QualifiedRules, + PluginRecords, UserConfig, - UserPreset, } from '@commitlint/types'; import isPlainObject from 'lodash/isPlainObject'; import merge from 'lodash/merge'; -import mergeWith from 'lodash/mergeWith'; -import pick from 'lodash/pick'; -import union from 'lodash/union'; +import uniq from 'lodash/uniq'; import Path from 'path'; import resolveFrom from 'resolve-from'; import {loadConfig} from './utils/load-config'; @@ -20,9 +17,6 @@ import {loadParserOpts} from './utils/load-parser-opts'; import loadPlugin from './utils/load-plugin'; import {pickConfig} from './utils/pick-config'; -const w = (_: unknown, b: ArrayLike | null | undefined | false) => - Array.isArray(b) ? b : undefined; - export default async function load( seed: UserConfig = {}, options: LoadOptions = {} @@ -35,11 +29,16 @@ export default async function load( // Might amount to breaking changes, defer until 9.0.0 // Merge passed config with file based options - const config = pickConfig(merge({}, loaded ? loaded.config : null, seed)); - - const opts = merge( - {extends: [], rules: {}, formatter: '@commitlint/format'}, - pick(config, 'extends', 'plugins', 'ignores', 'defaultIgnores') + const config = pickConfig( + merge( + { + extends: [], + plugins: [], + rules: {}, + }, + loaded ? loaded.config : null, + seed + ) ); // Resolve parserPreset key @@ -54,59 +53,35 @@ export default async function load( } // Resolve extends key - const extended = resolveExtends(opts, { + const extended = resolveExtends(config, { prefix: 'commitlint-config', cwd: base, parserPreset: config.parserPreset, - }); - - const preset = pickConfig( - mergeWith(extended, config, w) - ) as unknown as UserPreset; - preset.plugins = {}; - - // TODO: check if this is still necessary with the new factory based conventional changelog parsers - // config.extends = Array.isArray(config.extends) ? config.extends : []; + }) as unknown as UserConfig; - // Resolve parser-opts from preset - if (typeof preset.parserPreset === 'object') { - preset.parserPreset.parserOpts = await loadParserOpts( - preset.parserPreset.name, - // TODO: fix the types for factory based conventional changelog parsers - preset.parserPreset as any - ); + if (!extended.formatter || typeof extended.formatter !== 'string') { + extended.formatter = '@commitlint/format'; } - // Resolve config-relative formatter module - if (typeof config.formatter === 'string') { - preset.formatter = - resolveFrom.silent(base, config.formatter) || config.formatter; - } - - // Read plugins from extends + let plugins: PluginRecords = {}; if (Array.isArray(extended.plugins)) { - config.plugins = union(config.plugins, extended.plugins || []); - } - - // resolve plugins - if (Array.isArray(config.plugins)) { - config.plugins.forEach((plugin) => { + uniq(extended.plugins || []).forEach((plugin) => { if (typeof plugin === 'string') { - loadPlugin(preset.plugins, plugin, process.env.DEBUG === 'true'); + plugins = loadPlugin(plugins, plugin, process.env.DEBUG === 'true'); } else { - preset.plugins.local = plugin; + plugins.local = plugin; } }); } - const rules = preset.rules ? preset.rules : {}; - const qualifiedRules = ( + const rules = ( await Promise.all( - Object.entries(rules || {}).map((entry) => executeRule(entry)) + Object.entries(extended.rules || {}).map((entry) => executeRule(entry)) ) ).reduce((registry, item) => { - const [key, value] = item as any; - (registry as any)[key] = value; + // type of `item` can be null, but Object.entries always returns key pair + const [key, value] = item!; + registry[key] = value; return registry; }, {}); @@ -118,17 +93,24 @@ export default async function load( : 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint'; const prompt = - preset.prompt && isPlainObject(preset.prompt) ? preset.prompt : {}; + extended.prompt && isPlainObject(extended.prompt) ? extended.prompt : {}; return { - extends: preset.extends!, - formatter: preset.formatter!, - parserPreset: preset.parserPreset! as ParserPreset, - ignores: preset.ignores!, - defaultIgnores: preset.defaultIgnores!, - plugins: preset.plugins!, - rules: qualifiedRules, - helpUrl, + extends: Array.isArray(extended.extends) + ? extended.extends + : typeof extended.extends === 'string' + ? [extended.extends] + : [], + // Resolve config-relative formatter module + formatter: + resolveFrom.silent(base, extended.formatter) || extended.formatter, + // Resolve parser-opts from preset + parserPreset: await loadParserOpts(extended.parserPreset), + ignores: extended.ignores, + defaultIgnores: extended.defaultIgnores, + plugins: plugins, + rules: rules, + helpUrl: helpUrl, prompt, }; } diff --git a/@commitlint/load/src/utils/load-parser-opts.ts b/@commitlint/load/src/utils/load-parser-opts.ts index 86d5b5b700..9d8c2d9390 100644 --- a/@commitlint/load/src/utils/load-parser-opts.ts +++ b/@commitlint/load/src/utils/load-parser-opts.ts @@ -1,48 +1,71 @@ +import {ParserPreset} from '@commitlint/types'; + +function isObjectLike(obj: unknown): obj is Record { + return Boolean(obj) && typeof obj === 'object'; // typeof null === 'object' +} + +function isParserOptsFunction( + obj: T +): obj is T & { + parserOpts: (...args: any[]) => any; +} { + return typeof obj.parserOpts === 'function'; +} + export async function loadParserOpts( - parserName: string, - pendingParser: Promise -) { + pendingParser: string | ParserPreset | Promise | undefined +): Promise { + if (!pendingParser || typeof pendingParser !== 'object') { + return undefined; + } // Await for the module, loaded with require const parser = await pendingParser; - // Await parser opts if applicable - if ( - typeof parser === 'object' && - typeof parser.parserOpts === 'object' && - typeof parser.parserOpts.then === 'function' - ) { - return (await parser.parserOpts).parserOpts; + // exit early, no opts to resolve + if (!parser.parserOpts) { + return parser; + } + + // Pull nested parserOpts, might happen if overwritten with a module in main config + if (typeof parser.parserOpts === 'object') { + // Await parser opts if applicable + parser.parserOpts = await parser.parserOpts; + if ( + isObjectLike(parser.parserOpts) && + isObjectLike(parser.parserOpts.parserOpts) + ) { + parser.parserOpts = parser.parserOpts.parserOpts; + } + return parser; } // Create parser opts from factory if ( - typeof parser === 'object' && - typeof parser.parserOpts === 'function' && - parserName.startsWith('conventional-changelog-') + isParserOptsFunction(parser) && + typeof parser.name === 'string' && + parser.name.startsWith('conventional-changelog-') ) { - return await new Promise((resolve) => { - const result = parser.parserOpts((_: never, opts: {parserOpts: any}) => { - resolve(opts.parserOpts); + return new Promise((resolve) => { + const result = parser.parserOpts((_: never, opts: any) => { + resolve({ + ...parser, + parserOpts: opts?.parserOpts, + }); }); // If result has data or a promise, the parser doesn't support factory-init // due to https://github.com/nodejs/promises-debugging/issues/16 it just quits, so let's use this fallback if (result) { Promise.resolve(result).then((opts) => { - resolve(opts.parserOpts); + resolve({ + ...parser, + parserOpts: opts?.parserOpts, + }); }); } + return; }); } - // Pull nested paserOpts, might happen if overwritten with a module in main config - if ( - typeof parser === 'object' && - typeof parser.parserOpts === 'object' && - typeof parser.parserOpts.parserOpts === 'object' - ) { - return parser.parserOpts.parserOpts; - } - - return parser.parserOpts; + return parser; } diff --git a/@commitlint/load/src/utils/pick-config.ts b/@commitlint/load/src/utils/pick-config.ts index b4dd6fd6ce..08eb40f69c 100644 --- a/@commitlint/load/src/utils/pick-config.ts +++ b/@commitlint/load/src/utils/pick-config.ts @@ -1,7 +1,6 @@ -import {UserConfig} from '@commitlint/types'; import pick from 'lodash/pick'; -export const pickConfig = (input: unknown): UserConfig => +export const pickConfig = (input: unknown): Record => pick( input, 'extends', diff --git a/@commitlint/resolve-extends/src/index.test.ts b/@commitlint/resolve-extends/src/index.test.ts index b386d001c4..e651bce889 100644 --- a/@commitlint/resolve-extends/src/index.test.ts +++ b/@commitlint/resolve-extends/src/index.test.ts @@ -321,11 +321,7 @@ test('should fall back to conventional-changelog-lint-config prefix', () => { const require = (id: string) => { switch (id) { case 'conventional-changelog-lint-config-extender-name': - return { - rules: { - fallback: true, - }, - }; + return {rules: {fallback: true}}; default: return {}; } @@ -348,3 +344,188 @@ test('should fall back to conventional-changelog-lint-config prefix', () => { }, }); }); + +test('plugins should be merged correctly', () => { + const input = {extends: ['extender-name'], zero: 'root'}; + + const require = (id: string) => { + switch (id) { + case 'extender-name': + return {extends: ['recursive-extender-name'], plugins: ['test']}; + case 'recursive-extender-name': + return { + extends: ['second-recursive-extender-name'], + plugins: ['test2'], + }; + case 'second-recursive-extender-name': + return {plugins: ['test3']}; + default: + return {}; + } + }; + + const ctx = {resolve: id, require: jest.fn(require)} as ResolveExtendsContext; + + const actual = resolveExtends(input, ctx); + + const expected = { + extends: ['extender-name'], + plugins: ['test3', 'test2', 'test'], + zero: 'root', + }; + + expect(actual).toEqual(expected); +}); + +test('rules should be merged correctly', () => { + const input = {extends: ['extender-name'], rules: {test1: ['base', '1']}}; + + const require = (id: string) => { + switch (id) { + case 'extender-name': + return { + extends: ['recursive-extender-name'], + rules: {test2: [id, '2']}, + }; + case 'recursive-extender-name': + return { + extends: ['second-recursive-extender-name'], + rules: {test1: [id, '3']}, + }; + case 'second-recursive-extender-name': + return {rules: {test2: [id, '4']}}; + default: + return {}; + } + }; + + const ctx = {resolve: id, require: jest.fn(require)} as ResolveExtendsContext; + + const actual = resolveExtends(input, ctx); + + const expected = { + extends: ['extender-name'], + rules: { + test1: ['base', '1'], + test2: ['extender-name', '2'], + }, + }; + + expect(actual).toEqual(expected); +}); + +// https://github.com/conventional-changelog/commitlint/issues/327 +test('parserPreset should resolve correctly in extended configuration', () => { + const input = {extends: ['extender-name'], zero: 'root'}; + + const require = (id: string) => { + switch (id) { + case 'extender-name': + return { + extends: ['recursive-extender-name'], + parserPreset: { + parserOpts: { + issuePrefixes: ['#', '!', '&', 'no-references'], + referenceActions: null, + }, + }, + }; + case 'recursive-extender-name': + return {parserPreset: {parserOpts: {issuePrefixes: ['#', '!']}}}; + default: + return {}; + } + }; + + const ctx = {resolve: id, require: jest.fn(require)} as ResolveExtendsContext; + + const actual = resolveExtends(input, ctx); + + const expected = { + extends: ['extender-name'], + parserPreset: { + parserOpts: { + issuePrefixes: ['#', '!', '&', 'no-references'], + referenceActions: null, + }, + }, + zero: 'root', + }; + + expect(actual).toEqual(expected); +}); + +test('parserPreset should be merged correctly', () => { + const input = {extends: ['extender-name'], zero: 'root'}; + + const require = (id: string) => { + switch (id) { + case 'extender-name': + return { + extends: ['recursive-extender-name'], + parserPreset: { + parserOpts: { + referenceActions: null, + }, + }, + }; + case 'recursive-extender-name': + return {parserPreset: {parserOpts: {issuePrefixes: ['#', '!']}}}; + default: + return {}; + } + }; + + const ctx = {resolve: id, require: jest.fn(require)} as ResolveExtendsContext; + + const actual = resolveExtends(input, ctx); + + const expected = { + extends: ['extender-name'], + parserPreset: { + parserOpts: { + issuePrefixes: ['#', '!'], + referenceActions: null, + }, + }, + zero: 'root', + }; + + expect(actual).toEqual(expected); +}); + +test('should correctly merge nested configs', () => { + const input = {extends: ['extender-1']}; + + const require = (id: string) => { + switch (id) { + case 'extender-1': + return {extends: ['extender-3', 'extender-2']}; + case 'extender-2': + return {extends: ['extender-4']}; + case 'extender-3': + return {rules: {test: 3}}; + case 'extender-4': + return {extends: ['extender-5', 'extender-6'], rules: {test: 4}}; + case 'extender-5': + return {rules: {test: 5}}; + case 'extender-6': + return {rules: {test: 6}}; + default: + return {}; + } + }; + + const ctx = {resolve: id, require: jest.fn(require)} as ResolveExtendsContext; + + const actual = resolveExtends(input, ctx); + + const expected = { + extends: ['extender-1'], + rules: { + test: 4, + }, + }; + + expect(actual).toEqual(expected); +}); diff --git a/@commitlint/resolve-extends/src/index.ts b/@commitlint/resolve-extends/src/index.ts index 505316f057..00a716bc55 100644 --- a/@commitlint/resolve-extends/src/index.ts +++ b/@commitlint/resolve-extends/src/index.ts @@ -13,7 +13,6 @@ export interface ResolvedConfig { } export interface ResolveExtendsConfig { - parserPreset?: unknown; extends?: string | string[]; helpUrl?: string; [key: string]: unknown; @@ -31,19 +30,23 @@ export interface ResolveExtendsContext { export default function resolveExtends( config: ResolveExtendsConfig = {}, context: ResolveExtendsContext = {} -) { +): ResolvedConfig { const {extends: e} = config; - const extended = loadExtends(config, context).reduce( + const extended = loadExtends(config, context); + extended.push(config); + return extended.reduce( (r, {extends: _, ...c}) => - mergeWith(r, c, (objValue, srcValue) => { - if (Array.isArray(objValue)) { + mergeWith(r, c, (objValue, srcValue, key) => { + if (key === 'plugins') { + if (Array.isArray(objValue)) { + return objValue.concat(srcValue); + } + } else if (Array.isArray(objValue)) { return srcValue; } }), e ? {extends: e} : {} ); - - return merge({}, extended, config); } function loadExtends( diff --git a/@commitlint/types/src/load.ts b/@commitlint/types/src/load.ts index aafd5c40d9..71099689c9 100644 --- a/@commitlint/types/src/load.ts +++ b/@commitlint/types/src/load.ts @@ -21,10 +21,10 @@ export interface LoadOptions { } export interface UserConfig { - extends?: string[]; + extends?: string | string[]; formatter?: string; rules?: Partial; - parserPreset?: string | ParserPreset; + parserPreset?: string | ParserPreset | Promise; ignores?: ((commit: string) => boolean)[]; defaultIgnores?: boolean; plugins?: (string | Plugin)[]; @@ -49,16 +49,16 @@ export interface QualifiedConfig { extends: string[]; formatter: string; rules: QualifiedRules; - parserPreset: ParserPreset; - ignores: ((commit: string) => boolean)[]; - defaultIgnores: boolean; + parserPreset?: ParserPreset; + ignores?: ((commit: string) => boolean)[]; + defaultIgnores?: boolean; plugins: PluginRecords; helpUrl: string; prompt: UserPromptConfig; } export interface ParserPreset { - name: string; - path: string; + name?: string; + path?: string; parserOpts?: unknown; } From c7f355b25e5baddab0b9559892f5ce4112e4f93a Mon Sep 17 00:00:00 2001 From: Alessandro Bianco Date: Tue, 16 Nov 2021 07:57:23 +0100 Subject: [PATCH 17/20] fix(types): fix signature of QualifiedRuleConfig for async configurations (#2868) (#2869) Co-authored-by: Alessandro Bianco --- @commitlint/load/src/load.test.ts | 16 ++++++++++++++++ @commitlint/types/src/rules.ts | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts index 3358080d25..edfd5c8f3d 100644 --- a/@commitlint/load/src/load.test.ts +++ b/@commitlint/load/src/load.test.ts @@ -33,6 +33,22 @@ test('uses seed as configured', async () => { expect(actual.rules['body-case']).toStrictEqual([1, 'never', 'camel-case']); }); +test('rules should be loaded from local', async () => { + const actual = await load({ + rules: { + direct: [1, 'never', 'foo'], + func: () => [1, 'never', 'foo'], + async: async () => [1, 'never', 'foo'], + promise: () => Promise.resolve([1, 'never', 'foo']), + }, + }); + + expect(actual.rules['direct']).toStrictEqual([1, 'never', 'foo']); + expect(actual.rules['func']).toStrictEqual([1, 'never', 'foo']); + expect(actual.rules['async']).toStrictEqual([1, 'never', 'foo']); + expect(actual.rules['promise']).toStrictEqual([1, 'never', 'foo']); +}); + test('rules should be loaded from relative config file', async () => { const file = 'config/commitlint.config.js'; const cwd = await gitBootstrap('fixtures/specify-config-file'); diff --git a/@commitlint/types/src/rules.ts b/@commitlint/types/src/rules.ts index 739c1f61ab..d0df4d0402 100644 --- a/@commitlint/types/src/rules.ts +++ b/@commitlint/types/src/rules.ts @@ -65,7 +65,7 @@ export enum RuleConfigQuality { export type QualifiedRuleConfig = | (() => RuleConfigTuple) - | (() => RuleConfigTuple>) + | (() => Promise>) | RuleConfigTuple; export type RuleConfig< From 2f3efe7e47c07575d24c89751c2d74425bcec35b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Nov 2021 09:00:41 +0800 Subject: [PATCH 18/20] chore: update dependency @babel/preset-env to v7.16.4 (#2872) Co-authored-by: Renovate Bot --- yarn.lock | 173 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 89 insertions(+), 84 deletions(-) diff --git a/yarn.lock b/yarn.lock index be6cbd9eae..dde3372836 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23,10 +23,10 @@ dependencies: "@babel/highlight" "^7.16.0" -"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.0": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.0.tgz#ea269d7f78deb3a7826c39a4048eecda541ebdaa" - integrity sha512-DGjt2QZse5SGd9nfOSqO4WLJ8NN/oHkijbXbPrxuoJO3oIPJL3TciZs9FX+cOHNiY9E9l0opL8g7BmLe3T+9ew== +"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.0", "@babel/compat-data@^7.16.4": + version "7.16.4" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz#081d6bbc336ec5c2435c6346b2ae1fb98b5ac68e" + integrity sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q== "@babel/compat-data@^7.14.5": version "7.15.0" @@ -174,14 +174,14 @@ "@babel/helper-explode-assignable-expression" "^7.16.0" "@babel/types" "^7.16.0" -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.0": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.0.tgz#01d615762e796c17952c29e3ede9d6de07d235a8" - integrity sha512-S7iaOT1SYlqK0sQaCi21RX4+13hmdmnxIEAnQUB/eh7GeAnRjOUgTYpLkUOiRXzD+yog1JxP0qyAQZ7ZxVxLVg== +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.0", "@babel/helper-compilation-targets@^7.16.3": + version "7.16.3" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz#5b480cd13f68363df6ec4dc8ac8e2da11363cbf0" + integrity sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA== dependencies: "@babel/compat-data" "^7.16.0" "@babel/helper-validator-option" "^7.14.5" - browserslist "^4.16.6" + browserslist "^4.17.5" semver "^6.3.0" "@babel/helper-compilation-targets@^7.13.16": @@ -214,10 +214,10 @@ "@babel/helper-annotate-as-pure" "^7.16.0" regexpu-core "^4.7.1" -"@babel/helper-define-polyfill-provider@^0.2.4": - version "0.2.4" - resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.4.tgz#8867aed79d3ea6cade40f801efb7ac5c66916b10" - integrity sha512-OrpPZ97s+aPi6h2n1OXzdhVis1SGSsMU2aMHgLcOKfsp4/v1NWpx3CWT3lBj5eeBq9cDkPkh+YCfdF7O12uNDQ== +"@babel/helper-define-polyfill-provider@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.0.tgz#c5b10cf4b324ff840140bb07e05b8564af2ae971" + integrity sha512-7hfT8lUljl/tM3h+izTX/pO3W3frz2ok6Pk+gzys8iJqDfZrZy2pXjRTZAvG2YmfHun1X4q8/UZRLatMfqc5Tg== dependencies: "@babel/helper-compilation-targets" "^7.13.0" "@babel/helper-module-imports" "^7.12.13" @@ -380,10 +380,10 @@ resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz#5ac822ce97eec46741ab70a517971e443a70c5a9" integrity sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ== -"@babel/helper-remap-async-to-generator@^7.16.0": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.0.tgz#d5aa3b086e13a5fe05238ff40c3a5a0c2dab3ead" - integrity sha512-MLM1IOMe9aQBqMWxcRw8dcb9jlM86NIw7KA0Wri91Xkfied+dE0QuBFSBjMNvqzmS0OSIDsMNC24dBEkPUi7ew== +"@babel/helper-remap-async-to-generator@^7.16.0", "@babel/helper-remap-async-to-generator@^7.16.4": + version "7.16.4" + resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.4.tgz#5d7902f61349ff6b963e07f06a389ce139fbfe6e" + integrity sha512-vGERmmhR+s7eH5Y/cp8PCVzj4XEjerq8jooMfxFdA5xVtAk9Sh4AQsrWgiErUEBjtGrBtOFKDUcWQFW4/dFwMA== dependencies: "@babel/helper-annotate-as-pure" "^7.16.0" "@babel/helper-wrap-function" "^7.16.0" @@ -560,20 +560,25 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.15.4.tgz#02f2931b822512d3aad17d475ae83da74a255a84" integrity sha512-xmzz+7fRpjrvDUj+GV7zfz/R3gSK2cOxGlazaXooxspCr539cbTXJKvBJzSVI2pPhcRGquoOtaIkKCsHQUiO3w== -"@babel/parser@^7.15.4", "@babel/parser@^7.16.0": +"@babel/parser@^7.15.4": version "7.16.0" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.16.0.tgz#cf147d7ada0a3655e79bf4b08ee846f00a00a295" integrity sha512-TEHWXf0xxpi9wKVyBCmRcSSDjbJ/cl6LUdlbYUHEaNQUJGhreJbZrXT6sR4+fZLxVUJqNRB4KyOvjuy/D9009A== +"@babel/parser@^7.16.0", "@babel/parser@^7.16.3": + version "7.16.4" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz#d5f92f57cf2c74ffe9b37981c0e72fee7311372e" + integrity sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng== + "@babel/parser@^7.7.2": version "7.14.3" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.14.3.tgz#9b530eecb071fd0c93519df25c5ff9f14759f298" integrity sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ== -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.0": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.0.tgz#efb7f147042aca34ce8156a055906a7abaadeaf0" - integrity sha512-djyecbGMEh4rOb/Tc1M5bUW2Ih1IZRa9PoubnPOCzM+DRE89uGUHR1Y+3aDdTMW4drjGRZ2ol8dt1JUFg6hJLQ== +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.2": + version "7.16.2" + resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.2.tgz#2977fca9b212db153c195674e57cfab807733183" + integrity sha512-h37CvpLSf8gb2lIJ2CgC3t+EjFbi0t8qS7LCS1xcJIlEXE4czlofwaW7W1HA8zpgOCzI9C1nmoqNR1zWkk0pQg== dependencies: "@babel/helper-plugin-utils" "^7.14.5" @@ -586,13 +591,13 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" "@babel/plugin-proposal-optional-chaining" "^7.16.0" -"@babel/plugin-proposal-async-generator-functions@^7.16.0": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.0.tgz#11425d47a60364352f668ad5fbc1d6596b2c5caf" - integrity sha512-nyYmIo7ZqKsY6P4lnVmBlxp9B3a96CscbLotlsNuktMHahkDwoPYEjXrZHU0Tj844Z9f1IthVxQln57mhkcExw== +"@babel/plugin-proposal-async-generator-functions@^7.16.4": + version "7.16.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.4.tgz#e606eb6015fec6fa5978c940f315eae4e300b081" + integrity sha512-/CUekqaAaZCQHleSK/9HajvcD/zdnJiKRiuUFq8ITE+0HsPzquf53cpFiqAwl/UfmJbR6n5uGPQSPdrmKOvHHg== dependencies: "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-remap-async-to-generator" "^7.16.0" + "@babel/helper-remap-async-to-generator" "^7.16.4" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-proposal-class-properties@^7.16.0": @@ -1016,10 +1021,10 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/helper-replace-supers" "^7.16.0" -"@babel/plugin-transform-parameters@^7.16.0": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.0.tgz#1b50765fc421c229819dc4c7cdb8911660b3c2d7" - integrity sha512-XgnQEm1CevKROPx+udOi/8f8TiGhrUWiHiaUCIp47tE0tpFDjzXNTZc9E5CmCwxNjXTWEVqvRfWZYOTFvMa/ZQ== +"@babel/plugin-transform-parameters@^7.16.0", "@babel/plugin-transform-parameters@^7.16.3": + version "7.16.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.3.tgz#fa9e4c874ee5223f891ee6fa8d737f4766d31d15" + integrity sha512-3MaDpJrOXT1MZ/WCmkOFo7EtmVVC8H4EUZVrHvFOsmwkk4lOjQj8rzv8JKUZV4YoQKeoIgk07GO+acPU9IMu/w== dependencies: "@babel/helper-plugin-utils" "^7.14.5" @@ -1096,17 +1101,17 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/preset-env@^7.12.11": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.0.tgz#97228393d217560d6a1c6c56f0adb9d12bca67f5" - integrity sha512-cdTu/W0IrviamtnZiTfixPfIncr2M1VqRrkjzZWlr1B4TVYimCFK5jkyOdP4qw2MrlKHi+b3ORj6x8GoCew8Dg== + version "7.16.4" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.4.tgz#4f6ec33b2a3fe72d6bfdcdf3859500232563a2e3" + integrity sha512-v0QtNd81v/xKj4gNKeuAerQ/azeNn/G1B1qMLeXOcV8+4TWlD2j3NV1u8q29SDFBXx/NBq5kyEAO+0mpRgacjA== dependencies: - "@babel/compat-data" "^7.16.0" - "@babel/helper-compilation-targets" "^7.16.0" + "@babel/compat-data" "^7.16.4" + "@babel/helper-compilation-targets" "^7.16.3" "@babel/helper-plugin-utils" "^7.14.5" "@babel/helper-validator-option" "^7.14.5" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.16.0" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.16.2" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.16.0" - "@babel/plugin-proposal-async-generator-functions" "^7.16.0" + "@babel/plugin-proposal-async-generator-functions" "^7.16.4" "@babel/plugin-proposal-class-properties" "^7.16.0" "@babel/plugin-proposal-class-static-block" "^7.16.0" "@babel/plugin-proposal-dynamic-import" "^7.16.0" @@ -1156,7 +1161,7 @@ "@babel/plugin-transform-named-capturing-groups-regex" "^7.16.0" "@babel/plugin-transform-new-target" "^7.16.0" "@babel/plugin-transform-object-super" "^7.16.0" - "@babel/plugin-transform-parameters" "^7.16.0" + "@babel/plugin-transform-parameters" "^7.16.3" "@babel/plugin-transform-property-literals" "^7.16.0" "@babel/plugin-transform-regenerator" "^7.16.0" "@babel/plugin-transform-reserved-words" "^7.16.0" @@ -1169,10 +1174,10 @@ "@babel/plugin-transform-unicode-regex" "^7.16.0" "@babel/preset-modules" "^0.1.5" "@babel/types" "^7.16.0" - babel-plugin-polyfill-corejs2 "^0.2.3" - babel-plugin-polyfill-corejs3 "^0.3.0" - babel-plugin-polyfill-regenerator "^0.2.3" - core-js-compat "^3.19.0" + babel-plugin-polyfill-corejs2 "^0.3.0" + babel-plugin-polyfill-corejs3 "^0.4.0" + babel-plugin-polyfill-regenerator "^0.3.0" + core-js-compat "^3.19.1" semver "^6.3.0" "@babel/preset-modules@^0.1.5": @@ -1187,9 +1192,9 @@ esutils "^2.0.2" "@babel/runtime@^7.8.4": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.0.tgz#e27b977f2e2088ba24748bf99b5e1dece64e4f0b" - integrity sha512-Nht8L0O8YCktmsDV6FqFue7vQLRx3Hb0B37lS5y0jDRqRxlBG4wIJHnf9/bgSE2UyipKFA01YtS+npRdTWBUyw== + version "7.16.3" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5" + integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ== dependencies: regenerator-runtime "^0.13.4" @@ -1284,16 +1289,16 @@ lodash "^4.17.19" "@babel/traverse@^7.13.0", "@babel/traverse@^7.16.0": - version "7.16.0" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.0.tgz#965df6c6bfc0a958c1e739284d3c9fa4a6e3c45b" - integrity sha512-qQ84jIs1aRQxaGaxSysII9TuDaguZ5yVrEuC0BN2vcPlalwfLovVmCjbFDPECPXcYM/wLvNFfp8uDOliLxIoUQ== + version "7.16.3" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz#f63e8a938cc1b780f66d9ed3c54f532ca2d14787" + integrity sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag== dependencies: "@babel/code-frame" "^7.16.0" "@babel/generator" "^7.16.0" "@babel/helper-function-name" "^7.16.0" "@babel/helper-hoist-variables" "^7.16.0" "@babel/helper-split-export-declaration" "^7.16.0" - "@babel/parser" "^7.16.0" + "@babel/parser" "^7.16.3" "@babel/types" "^7.16.0" debug "^4.1.0" globals "^11.1.0" @@ -3283,29 +3288,29 @@ babel-plugin-jest-hoist@^27.2.0: "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" -babel-plugin-polyfill-corejs2@^0.2.3: - version "0.2.3" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.3.tgz#6ed8e30981b062f8fe6aca8873a37ebcc8cc1c0f" - integrity sha512-NDZ0auNRzmAfE1oDDPW2JhzIMXUk+FFe2ICejmt5T4ocKgiQx3e0VCRx9NCAidcMtL2RUZaWtXnmjTCkx0tcbA== +babel-plugin-polyfill-corejs2@^0.3.0: + version "0.3.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.0.tgz#407082d0d355ba565af24126fb6cb8e9115251fd" + integrity sha512-wMDoBJ6uG4u4PNFh72Ty6t3EgfA91puCuAwKIazbQlci+ENb/UU9A3xG5lutjUIiXCIn1CY5L15r9LimiJyrSA== dependencies: "@babel/compat-data" "^7.13.11" - "@babel/helper-define-polyfill-provider" "^0.2.4" + "@babel/helper-define-polyfill-provider" "^0.3.0" semver "^6.1.1" -babel-plugin-polyfill-corejs3@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.3.0.tgz#fa7ca3d1ee9ddc6193600ffb632c9785d54918af" - integrity sha512-JLwi9vloVdXLjzACL80j24bG6/T1gYxwowG44dg6HN/7aTPdyPbJJidf6ajoA3RPHHtW0j9KMrSOLpIZpAnPpg== +babel-plugin-polyfill-corejs3@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.4.0.tgz#0b571f4cf3d67f911512f5c04842a7b8e8263087" + integrity sha512-YxFreYwUfglYKdLUGvIF2nJEsGwj+RhWSX/ije3D2vQPOXuyMLMtg/cCGMDpOA7Nd+MwlNdnGODbd2EwUZPlsw== dependencies: - "@babel/helper-define-polyfill-provider" "^0.2.4" + "@babel/helper-define-polyfill-provider" "^0.3.0" core-js-compat "^3.18.0" -babel-plugin-polyfill-regenerator@^0.2.3: - version "0.2.3" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.3.tgz#2e9808f5027c4336c994992b48a4262580cb8d6d" - integrity sha512-JVE78oRZPKFIeUqFGrSORNzQnrDwZR16oiWeGM8ZyjBn2XAT5OjP+wXx5ESuo33nUsFUEJYjtklnsKbxW5L+7g== +babel-plugin-polyfill-regenerator@^0.3.0: + version "0.3.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.0.tgz#9ebbcd7186e1a33e21c5e20cae4e7983949533be" + integrity sha512-dhAPTDLGoMW5/84wkgwiLRwMnio2i1fUe53EuvtKMv0pn2p3S8OCoV1xAzfJPl0KOX7IB89s2ib85vbYiea3jg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.2.4" + "@babel/helper-define-polyfill-provider" "^0.3.0" babel-preset-current-node-syntax@^1.0.0: version "1.0.1" @@ -3432,13 +3437,13 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserslist@^4.16.6, browserslist@^4.17.5: - version "4.17.5" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.17.5.tgz#c827bbe172a4c22b123f5e337533ceebadfdd559" - integrity sha512-I3ekeB92mmpctWBoLXe0d5wPS2cBuRvvW0JyyJHMrk9/HmP2ZjrTboNAZ8iuGqaEIlKguljbQY32OkOJIRrgoA== +browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.17.6: + version "4.18.1" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.18.1.tgz#60d3920f25b6860eb917c6c7b185576f4d8b017f" + integrity sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ== dependencies: - caniuse-lite "^1.0.30001271" - electron-to-chromium "^1.3.878" + caniuse-lite "^1.0.30001280" + electron-to-chromium "^1.3.896" escalade "^3.1.1" node-releases "^2.0.1" picocolors "^1.0.0" @@ -3600,10 +3605,10 @@ camelcase@^6.2.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== -caniuse-lite@^1.0.30001271: - version "1.0.30001272" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001272.tgz#8e9790ff995e9eb6e1f4c45cd07ddaa87cddbb14" - integrity sha512-DV1j9Oot5dydyH1v28g25KoVm7l8MTxazwuiH3utWiAS6iL/9Nh//TGwqFEeqqN8nnWYQ8HHhUq+o4QPt9kvYw== +caniuse-lite@^1.0.30001280: + version "1.0.30001280" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001280.tgz#066a506046ba4be34cde5f74a08db7a396718fb7" + integrity sha512-kFXwYvHe5rix25uwueBxC569o53J6TpnGu0BEEn+6Lhl2vsnAumRFWEBhDft1fwyo6m1r4i+RqA4+163FpeFcA== caseless@~0.12.0: version "0.12.0" @@ -4145,12 +4150,12 @@ copy-descriptor@^0.1.0: resolved "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -core-js-compat@^3.18.0, core-js-compat@^3.19.0: - version "3.19.0" - resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.19.0.tgz#b3b93f93c8721b3ed52b91f12f964cc410967f8b" - integrity sha512-R09rKZ56ccGBebjTLZHvzDxhz93YPT37gBm6qUhnwj3Kt7aCjjZWD1injyNbyeFHxNKfeZBSyds6O9n3MKq1sw== +core-js-compat@^3.18.0, core-js-compat@^3.19.1: + version "3.19.1" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.19.1.tgz#fe598f1a9bf37310d77c3813968e9f7c7bb99476" + integrity sha512-Q/VJ7jAF/y68+aUsQJ/afPOewdsGkDtcMb40J8MbuWKlK3Y+wtHq8bTHKPj2WKWLIqmS5JhHs4CzHtz6pT2W6g== dependencies: - browserslist "^4.17.5" + browserslist "^4.17.6" semver "7.0.0" core-util-is@1.0.2, core-util-is@~1.0.0: @@ -4596,10 +4601,10 @@ ee-first@1.1.1: resolved "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -electron-to-chromium@^1.3.878: - version "1.3.885" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.885.tgz#c8cec32fbc61364127849ae00f2395a1bae7c454" - integrity sha512-JXKFJcVWrdHa09n4CNZYfYaK6EW5aAew7/wr3L1OnsD1L+JHL+RCtd7QgIsxUbFPeTwPlvnpqNNTOLkoefmtXg== +electron-to-chromium@^1.3.896: + version "1.3.899" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.899.tgz#4d7d040e73def3d5f5bd6b8a21049025dce6fce0" + integrity sha512-w16Dtd2zl7VZ4N4Db+FIa7n36sgPGCKjrKvUUmp5ialsikvcQLjcJR9RWnlYNxIyEHLdHaoIZEqKsPxU9MdyBg== emittery@^0.8.1: version "0.8.1" From e25f0542e38d8bf8b0d17e50c634ddd11fa36729 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Wed, 17 Nov 2021 14:43:03 +0800 Subject: [PATCH 19/20] chore: add v8.3.6 to changelog --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e1a800eb2..e066f203e8 100644 --- a/CHANGELOG.md +++ b/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. +## [8.3.6](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v8.3.6) (2021-11-17) + +**Note:** Version bump only for package @commitlint/root + +chore: update lodash to 4.17.21 +SECURITY: CVE-2021-23337 in package lodash https://nvd.nist.gov/vuln/detail/CVE-2021-23337 + + + + + # [14.2.0](https://github.com/conventional-changelog/commitlint/compare/v14.1.0...v14.2.0) (2021-11-06) From 399a0289356c670a87524387cc96d8fb0a33fdca Mon Sep 17 00:00:00 2001 From: escapedcat Date: Wed, 17 Nov 2021 14:51:42 +0800 Subject: [PATCH 20/20] v15.0.0 --- @alias/commitlint-config-angular/CHANGELOG.md | 8 ++++ @alias/commitlint-config-angular/package.json | 6 +-- .../CHANGELOG.md | 8 ++++ .../package.json | 6 +-- .../CHANGELOG.md | 8 ++++ .../package.json | 6 +-- @alias/commitlint/CHANGELOG.md | 8 ++++ @alias/commitlint/package.json | 10 ++--- @commitlint/cli/CHANGELOG.md | 11 +++++ @commitlint/cli/package.json | 16 +++---- .../config-angular-type-enum/CHANGELOG.md | 8 ++++ .../config-angular-type-enum/package.json | 4 +- @commitlint/config-angular/CHANGELOG.md | 8 ++++ @commitlint/config-angular/package.json | 8 ++-- @commitlint/config-conventional/CHANGELOG.md | 8 ++++ @commitlint/config-conventional/package.json | 6 +-- @commitlint/config-lerna-scopes/CHANGELOG.md | 31 +++++++++++++ @commitlint/config-lerna-scopes/package.json | 6 +-- @commitlint/config-patternplate/CHANGELOG.md | 8 ++++ @commitlint/config-patternplate/package.json | 6 +-- @commitlint/core/CHANGELOG.md | 8 ++++ @commitlint/core/package.json | 12 +++--- @commitlint/cz-commitlint/CHANGELOG.md | 8 ++++ @commitlint/cz-commitlint/package.json | 8 ++-- @commitlint/ensure/CHANGELOG.md | 8 ++++ @commitlint/ensure/package.json | 6 +-- @commitlint/execute-rule/CHANGELOG.md | 8 ++++ @commitlint/execute-rule/package.json | 4 +- @commitlint/format/CHANGELOG.md | 8 ++++ @commitlint/format/package.json | 6 +-- @commitlint/is-ignored/CHANGELOG.md | 8 ++++ @commitlint/is-ignored/package.json | 10 ++--- @commitlint/lint/CHANGELOG.md | 8 ++++ @commitlint/lint/package.json | 14 +++--- @commitlint/load/CHANGELOG.md | 16 +++++++ @commitlint/load/package.json | 12 +++--- @commitlint/message/CHANGELOG.md | 8 ++++ @commitlint/message/package.json | 6 +-- @commitlint/parse/CHANGELOG.md | 8 ++++ @commitlint/parse/package.json | 8 ++-- @commitlint/prompt-cli/CHANGELOG.md | 8 ++++ @commitlint/prompt-cli/package.json | 8 ++-- @commitlint/prompt/CHANGELOG.md | 12 ++++++ @commitlint/prompt/package.json | 12 +++--- @commitlint/read/CHANGELOG.md | 8 ++++ @commitlint/read/package.json | 10 ++--- @commitlint/resolve-extends/CHANGELOG.md | 11 +++++ @commitlint/resolve-extends/package.json | 4 +- @commitlint/rules/CHANGELOG.md | 8 ++++ @commitlint/rules/package.json | 16 +++---- @commitlint/to-lines/CHANGELOG.md | 8 ++++ @commitlint/to-lines/package.json | 4 +- @commitlint/top-level/CHANGELOG.md | 8 ++++ @commitlint/top-level/package.json | 4 +- @commitlint/travis-cli/CHANGELOG.md | 8 ++++ @commitlint/travis-cli/package.json | 8 ++-- @commitlint/types/CHANGELOG.md | 16 +++++++ @commitlint/types/package.json | 4 +- @packages/test-environment/CHANGELOG.md | 8 ++++ @packages/test-environment/package.json | 2 +- @packages/test/CHANGELOG.md | 31 +++++++++++++ @packages/test/package.json | 2 +- @packages/utils/CHANGELOG.md | 8 ++++ @packages/utils/package.json | 2 +- CHANGELOG.md | 43 +++++++++++++++++++ lerna.json | 2 +- 66 files changed, 490 insertions(+), 119 deletions(-) diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index 6180dade0c..3552338f5f 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. +# [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-angular + + + + + # [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-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index e90f07b99d..6e8367a588 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "14.1.0", + "version": "15.0.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -30,10 +30,10 @@ "node": ">=v12" }, "dependencies": { - "@commitlint/config-angular": "^14.1.0" + "@commitlint/config-angular": "^15.0.0" }, "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index c7ef1b2d01..40ff342082 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. +# [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-lerna-scopes + + + + + # [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-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 5b9ce3dac3..7da8393a49 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": "14.0.0", + "version": "15.0.0", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -30,10 +30,10 @@ "node": ">=v12" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^14.0.0" + "@commitlint/config-lerna-scopes": "^15.0.0" }, "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index 9284a84dbd..657dd3610d 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. +# [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-patternplate + + + + + # [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-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 8a17468195..6a01fe27b8 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -30,10 +30,10 @@ "node": ">=v12" }, "dependencies": { - "@commitlint/config-patternplate": "^14.1.0" + "@commitlint/config-patternplate": "^15.0.0" }, "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index c4cf924e4c..918030a310 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. +# [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 + + + + + # [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 diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 319273c287..dc1e294855 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commit messages", "files": [ "cli.js" @@ -35,12 +35,12 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^14.1.0", - "@commitlint/types": "^14.0.0" + "@commitlint/cli": "^15.0.0", + "@commitlint/types": "^15.0.0" }, "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0", + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0", "execa": "^5.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 45cd1da178..d4eee2fd83 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/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. +# [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 diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 01b1d01fa3..aed5502685 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commit messages", "files": [ "index.js", @@ -37,19 +37,19 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0", + "@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": "^14.1.0", - "@commitlint/lint": "^14.1.0", - "@commitlint/load": "^14.1.0", - "@commitlint/read": "^14.0.0", - "@commitlint/types": "^14.0.0", + "@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", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index 19bb8b4066..93349e8f40 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. +# [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-angular-type-enum + + + + + # [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-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 61f0f36b73..97bf9b7216 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": "14.0.0", + "version": "15.0.0", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -30,7 +30,7 @@ "node": ">=v12" }, "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index 7b11d83a02..d8eefa2de0 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. +# [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-angular + + + + + # [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-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index b051707618..697d50bbc1 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "14.1.0", + "version": "15.0.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -30,11 +30,11 @@ "node": ">=v12" }, "devDependencies": { - "@commitlint/lint": "^14.1.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/lint": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^14.0.0" + "@commitlint/config-angular-type-enum": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index 5a2b12b300..77be20d5aa 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. +# [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 diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index eb10b503bc..3fc0f6842f 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "14.1.0", + "version": "15.0.0", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -33,8 +33,8 @@ "node": ">=v12" }, "devDependencies": { - "@commitlint/lint": "^14.1.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/lint": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "dependencies": { "conventional-changelog-conventionalcommits": "^4.3.1" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index c35b816e80..babfd0fc79 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,37 @@ 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) + + +### Tests + +* **config-lerna-scopes:** reuse npm bootstrap to simplify tests ([#2479](https://github.com/conventional-changelog/commitlint/issues/2479)) ([9a7a43a](https://github.com/conventional-changelog/commitlint/commit/9a7a43aa8a7eca18f2fe05c78d27dcb1a128930c)), closes [#2447](https://github.com/conventional-changelog/commitlint/issues/2447) + + +### BREAKING CHANGES + +* **config-lerna-scopes:** upgrade to lerna v4 + +Co-authored-by: Renovate Bot +Co-authored-by: escapedcat + +* test(config-lerna-scopes): reuse npm bootstrap to simplify tests + +* test(config-lerna-scopes): reuse npm bootstrap to simplify tests + +* test: fix issue after merge + +* test: one more fix after merge + +Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> +Co-authored-by: Renovate Bot +Co-authored-by: escapedcat + + + + + # [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-lerna-scopes diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 0b3e8f02d1..bba238b6b9 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": "14.0.0", + "version": "15.0.0", "description": "Shareable commitlint config enforcing lerna package and workspace names as scopes", "files": [ "index.js" @@ -44,8 +44,8 @@ "semver": "7.3.5" }, "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index cf56f05485..ebc4134c16 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. +# [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-patternplate + + + + + # [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-patternplate diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 29d39b935a..75168064d0 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -30,12 +30,12 @@ "node": ">=v12" }, "dependencies": { - "@commitlint/config-angular": "^14.1.0", + "@commitlint/config-angular": "^15.0.0", "globby": "^11.0.0", "lodash": "^4.17.19" }, "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index ca245d3cd0..e90d0f2f68 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. +# [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/core + + + + + # [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/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index fdb34a0ca8..3d6216a4a3 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/core.js", "types": "lib/core.d.ts", @@ -35,13 +35,13 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^14.1.0", - "@commitlint/lint": "^14.1.0", - "@commitlint/load": "^14.1.0", - "@commitlint/read": "^14.0.0" + "@commitlint/format": "^15.0.0", + "@commitlint/lint": "^15.0.0", + "@commitlint/load": "^15.0.0", + "@commitlint/read": "^15.0.0" }, "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/cz-commitlint/CHANGELOG.md b/@commitlint/cz-commitlint/CHANGELOG.md index 2a112dd96e..da4be20088 100644 --- a/@commitlint/cz-commitlint/CHANGELOG.md +++ b/@commitlint/cz-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. +# [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/cz-commitlint + + + + + # [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/cz-commitlint diff --git a/@commitlint/cz-commitlint/package.json b/@commitlint/cz-commitlint/package.json index 11c61a3e6e..878153cae0 100644 --- a/@commitlint/cz-commitlint/package.json +++ b/@commitlint/cz-commitlint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cz-commitlint", - "version": "14.1.0", + "version": "15.0.0", "description": "Commitizen adapter using the commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -37,9 +37,9 @@ } }, "dependencies": { - "@commitlint/ensure": "^14.1.0", - "@commitlint/load": "^14.1.0", - "@commitlint/types": "^14.0.0", + "@commitlint/ensure": "^15.0.0", + "@commitlint/load": "^15.0.0", + "@commitlint/types": "^15.0.0", "chalk": "^4.1.0", "lodash": "^4.17.21", "word-wrap": "^1.2.3" diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index f4a30f4502..e53706188c 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. +# [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 diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index e4955ba4a4..92ac75b94f 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,12 +35,12 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^14.0.0", + "@commitlint/utils": "^15.0.0", "@types/lodash": "^4.14.161", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^14.0.0", + "@commitlint/types": "^15.0.0", "lodash": "^4.17.19" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 67ca1436e2..5c209b43b9 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. +# [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 diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index bbfcadc911..5ecff2e27c 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "14.0.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,7 +35,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index 729009f35b..4f97e5ded5 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. +# [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) diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 63152f0fb8..ed91ba2b39 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "14.1.0", + "version": "15.0.0", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,10 +35,10 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "dependencies": { - "@commitlint/types": "^14.0.0", + "@commitlint/types": "^15.0.0", "chalk": "^4.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 09698953c0..e318757e0d 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/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. +# [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 diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index c524c70b65..823db8be1c 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "14.0.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,13 +35,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^14.0.0", - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0", + "@commitlint/parse": "^15.0.0", + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0", "@types/semver": "7.3.9" }, "dependencies": { - "@commitlint/types": "^14.0.0", + "@commitlint/types": "^15.0.0", "semver": "7.3.5" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index cb08aa8f42..dc4ac934b1 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. +# [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 diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index e8ae36a1e2..c0d026bfc4 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -35,14 +35,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "dependencies": { - "@commitlint/is-ignored": "^14.0.0", - "@commitlint/parse": "^14.0.0", - "@commitlint/rules": "^14.1.0", - "@commitlint/types": "^14.0.0" + "@commitlint/is-ignored": "^15.0.0", + "@commitlint/parse": "^15.0.0", + "@commitlint/rules": "^15.0.0", + "@commitlint/types": "^15.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index 1607e7c354..19884f8ed0 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/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. +# [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17) + + +### Bug Fixes + +* **types:** fix signature of QualifiedRuleConfig for async configurations ([#2868](https://github.com/conventional-changelog/commitlint/issues/2868)) ([#2869](https://github.com/conventional-changelog/commitlint/issues/2869)) ([c7f355b](https://github.com/conventional-changelog/commitlint/commit/c7f355b25e5baddab0b9559892f5ce4112e4f93a)) + + +### 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) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index b5391d386d..1f34ecf5cd 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "14.1.0", + "version": "15.0.0", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -35,16 +35,16 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0", + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0", "@types/lodash": "4.14.177", "conventional-changelog-atom": "^2.0.8", "execa": "^5.0.0" }, "dependencies": { - "@commitlint/execute-rule": "^14.0.0", - "@commitlint/resolve-extends": "^14.1.0", - "@commitlint/types": "^14.0.0", + "@commitlint/execute-rule": "^15.0.0", + "@commitlint/resolve-extends": "^15.0.0", + "@commitlint/types": "^15.0.0", "@endemolshinegroup/cosmiconfig-typescript-loader": "^3.0.2", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index 3d8deb8688..9e7e9a8708 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. +# [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/message + + + + + # [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/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 78e3b25182..a0a3a8609b 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "14.0.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,8 +35,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index 353898258a..f192c61f1c 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. +# [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17) + +**Note:** Version bump only for package @commitlint/parse + + + + + # [14.0.0](https://github.com/conventional-changelog/commitlint/compare/v13.2.1...v14.0.0) (2021-10-26) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index b6570fae0d..e6b5d1492f 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "14.0.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,11 +35,11 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "dependencies": { - "@commitlint/types": "^14.0.0", + "@commitlint/types": "^15.0.0", "conventional-changelog-angular": "^5.0.11", "conventional-commits-parser": "^3.2.2" }, diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index 276ca7b491..dd3e30a0af 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/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. +# [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/prompt-cli + + + + + # [14.2.0](https://github.com/conventional-changelog/commitlint/compare/v14.1.0...v14.2.0) (2021-11-06) diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index e351dd05ee..fe1ca7f756 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "14.2.0", + "version": "15.0.0", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -32,11 +32,11 @@ "node": ">=v12" }, "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "dependencies": { - "@commitlint/prompt": "^14.2.0", + "@commitlint/prompt": "^15.0.0", "execa": "^5.0.0", "inquirer": "^6.5.2" }, diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index 20cca344ca..b7998098ec 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/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. +# [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17) + + +### Bug Fixes + +* **prompt:** correct import kind in prompt package ([#2852](https://github.com/conventional-changelog/commitlint/issues/2852)) ([45bf394](https://github.com/conventional-changelog/commitlint/commit/45bf394b34cef78011c2e0a1a7d0cc0d2bab41ae)) +* **prompt:** correct version of internal dependencies in prompt package [#2697](https://github.com/conventional-changelog/commitlint/issues/2697) ([#2851](https://github.com/conventional-changelog/commitlint/issues/2851)) ([b1155ca](https://github.com/conventional-changelog/commitlint/commit/b1155cae766aba7e93bc42c69c9ea7f47c1c16d4)) + + + + + # [14.2.0](https://github.com/conventional-changelog/commitlint/compare/v14.1.0...v14.2.0) (2021-11-06) diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 933736dd1d..a2073e0b0d 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "14.2.0", + "version": "15.0.0", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -37,17 +37,17 @@ "node": ">=v12" }, "devDependencies": { - "@commitlint/config-angular": "^14.0.0", + "@commitlint/config-angular": "^15.0.0", "@commitlint/types": "^14.0.0", - "@commitlint/utils": "^14.0.0", + "@commitlint/utils": "^15.0.0", "@types/inquirer": "^6.5.0", "commitizen": "^4.2.4", "inquirer": "^6.5.2" }, "dependencies": { - "@commitlint/ensure": "^14.1.0", - "@commitlint/load": "^14.1.0", - "@commitlint/types": "^14.0.0", + "@commitlint/ensure": "^15.0.0", + "@commitlint/load": "^15.0.0", + "@commitlint/types": "^15.0.0", "chalk": "^4.0.0", "inquirer": "^6.5.2", "lodash": "^4.17.19" diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 1b49dba5b1..db1bc0b690 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. +# [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/read + + + + + # [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/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 6930e578c5..f49d8542c0 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "14.0.0", + "version": "15.0.0", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -35,15 +35,15 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0", + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0", "@types/fs-extra": "^9.0.1", "@types/git-raw-commits": "^2.0.0", "execa": "^5.0.0" }, "dependencies": { - "@commitlint/top-level": "^14.0.0", - "@commitlint/types": "^14.0.0", + "@commitlint/top-level": "^15.0.0", + "@commitlint/types": "^15.0.0", "fs-extra": "^10.0.0", "git-raw-commits": "^2.0.0" }, diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index bd03de6860..dda5e4c787 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/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. +# [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) diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 9a238f6039..3e56ec5898 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,7 +35,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^14.0.0", + "@commitlint/utils": "^15.0.0", "@types/lodash": "^4.14.161" }, "dependencies": { diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 1507b56f10..bb6c7432a3 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/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. +# [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/rules + + + + + # [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/rules diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index b492cb47fd..6e85c2dac6 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,17 +35,17 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^14.0.0", - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0", + "@commitlint/parse": "^15.0.0", + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0", "conventional-changelog-angular": "5.0.13", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^14.1.0", - "@commitlint/message": "^14.0.0", - "@commitlint/to-lines": "^14.0.0", - "@commitlint/types": "^14.0.0", + "@commitlint/ensure": "^15.0.0", + "@commitlint/message": "^15.0.0", + "@commitlint/to-lines": "^15.0.0", + "@commitlint/types": "^15.0.0", "execa": "^5.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index 83ae431697..cbe14a7e70 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. +# [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/to-lines + + + + + # [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/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 5364be4128..272cebbe47 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "14.0.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,7 +35,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index 5a1b0cde92..3a83d326a4 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. +# [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/top-level + + + + + # [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/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 168af2d742..600d051668 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "14.0.0", + "version": "15.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,7 +35,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "dependencies": { "find-up": "^5.0.0" diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index 44f5dc9b30..721f63efb8 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/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. +# [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/travis-cli + + + + + # [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/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 3367a720bf..3f81760263 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "14.1.0", + "version": "15.0.0", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/", @@ -36,11 +36,11 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^14.0.0", - "@commitlint/utils": "^14.0.0" + "@commitlint/test": "^15.0.0", + "@commitlint/utils": "^15.0.0" }, "dependencies": { - "@commitlint/cli": "^14.1.0", + "@commitlint/cli": "^15.0.0", "execa": "^5.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md index f88ec85dc9..66d8ebaeeb 100644 --- a/@commitlint/types/CHANGELOG.md +++ b/@commitlint/types/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. +# [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17) + + +### Bug Fixes + +* **types:** fix signature of QualifiedRuleConfig for async configurations ([#2868](https://github.com/conventional-changelog/commitlint/issues/2868)) ([#2869](https://github.com/conventional-changelog/commitlint/issues/2869)) ([c7f355b](https://github.com/conventional-changelog/commitlint/commit/c7f355b25e5baddab0b9559892f5ce4112e4f93a)) + + +### 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.0.0](https://github.com/conventional-changelog/commitlint/compare/v13.2.1...v14.0.0) (2021-10-26) diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 4230b27c92..e46702b5fb 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "14.0.0", + "version": "15.0.0", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -31,7 +31,7 @@ "chalk": "^4.0.0" }, "devDependencies": { - "@commitlint/utils": "^14.0.0" + "@commitlint/utils": "^15.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@packages/test-environment/CHANGELOG.md b/@packages/test-environment/CHANGELOG.md index 7a9e2c490a..0333e85488 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. +# [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/test-environment + + + + + # [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/test-environment diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index b997f2afaf..76c0aea2f4 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test-environment", - "version": "14.0.0", + "version": "15.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 affb93220a..48a143fd25 100644 --- a/@packages/test/CHANGELOG.md +++ b/@packages/test/CHANGELOG.md @@ -3,6 +3,37 @@ 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) + + +### Tests + +* **config-lerna-scopes:** reuse npm bootstrap to simplify tests ([#2479](https://github.com/conventional-changelog/commitlint/issues/2479)) ([9a7a43a](https://github.com/conventional-changelog/commitlint/commit/9a7a43aa8a7eca18f2fe05c78d27dcb1a128930c)), closes [#2447](https://github.com/conventional-changelog/commitlint/issues/2447) + + +### BREAKING CHANGES + +* **config-lerna-scopes:** upgrade to lerna v4 + +Co-authored-by: Renovate Bot +Co-authored-by: escapedcat + +* test(config-lerna-scopes): reuse npm bootstrap to simplify tests + +* test(config-lerna-scopes): reuse npm bootstrap to simplify tests + +* test: fix issue after merge + +* test: one more fix after merge + +Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> +Co-authored-by: Renovate Bot +Co-authored-by: escapedcat + + + + + # [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/test diff --git a/@packages/test/package.json b/@packages/test/package.json index c452fb273c..cc58d73a53 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test", - "version": "14.0.0", + "version": "15.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 a99ea987ab..01b97ba419 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/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. +# [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/utils + + + + + # [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/utils diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 6ec047d355..21f6c058a3 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "14.0.0", + "version": "15.0.0", "description": "Development utilities for @commitlint", "private": true, "files": [ diff --git a/CHANGELOG.md b/CHANGELOG.md index e066f203e8..55684e4cd9 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. +# [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17) + + +### Bug Fixes + +* **prompt:** correct import kind in prompt package ([#2852](https://github.com/conventional-changelog/commitlint/issues/2852)) ([45bf394](https://github.com/conventional-changelog/commitlint/commit/45bf394b34cef78011c2e0a1a7d0cc0d2bab41ae)) +* **prompt:** correct version of internal dependencies in prompt package [#2697](https://github.com/conventional-changelog/commitlint/issues/2697) ([#2851](https://github.com/conventional-changelog/commitlint/issues/2851)) ([b1155ca](https://github.com/conventional-changelog/commitlint/commit/b1155cae766aba7e93bc42c69c9ea7f47c1c16d4)) +* **types:** fix signature of QualifiedRuleConfig for async configurations ([#2868](https://github.com/conventional-changelog/commitlint/issues/2868)) ([#2869](https://github.com/conventional-changelog/commitlint/issues/2869)) ([c7f355b](https://github.com/conventional-changelog/commitlint/commit/c7f355b25e5baddab0b9559892f5ce4112e4f93a)) + + +### 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) + + +### Tests + +* **config-lerna-scopes:** reuse npm bootstrap to simplify tests ([#2479](https://github.com/conventional-changelog/commitlint/issues/2479)) ([9a7a43a](https://github.com/conventional-changelog/commitlint/commit/9a7a43aa8a7eca18f2fe05c78d27dcb1a128930c)), closes [#2447](https://github.com/conventional-changelog/commitlint/issues/2447) + + +### BREAKING CHANGES + +* **config-lerna-scopes:** upgrade to lerna v4 + +Co-authored-by: Renovate Bot +Co-authored-by: escapedcat + +* test(config-lerna-scopes): reuse npm bootstrap to simplify tests + +* test(config-lerna-scopes): reuse npm bootstrap to simplify tests + +* test: fix issue after merge + +* test: one more fix after merge + +Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> +Co-authored-by: Renovate Bot +Co-authored-by: escapedcat + + + + + ## [8.3.6](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v8.3.6) (2021-11-17) **Note:** Version bump only for package @commitlint/root diff --git a/lerna.json b/lerna.json index d0bf3d5fcd..78329eafd3 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "4", "npmClient": "yarn", "useWorkspaces": true, - "version": "14.2.0" + "version": "15.0.0" }