From fdc7999e0bc80af1fbd9a113293a55cd5a291734 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jan 2022 09:00:48 +0000 Subject: [PATCH 1/5] build(deps): bump @commitlint/travis-cli from 16.0.2 to 16.1.0 Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/travis-cli) from 16.0.2 to 16.1.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/travis-cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.1.0/@commitlint/travis-cli) --- updated-dependencies: - dependency-name: "@commitlint/travis-cli" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 106 +++++++++++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 74 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 97c565a..cb61d21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "license": "MIT", "dependencies": { "@commitlint/cli": "16.0.2", - "@commitlint/travis-cli": "16.0.2" + "@commitlint/travis-cli": "16.1.0" }, "bin": { "commitlint": "node_modules/@commitlint/cli/cli.js", @@ -127,9 +127,9 @@ } }, "node_modules/@commitlint/config-validator": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-16.0.0.tgz", - "integrity": "sha512-i80DGlo1FeC5jZpuoNV9NIjQN/m2dDV3jYGWg+1Wr+KldptkUHXj+6GY1Akll66lJ3D8s6aUGi3comPLHPtWHg==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-16.1.0.tgz", + "integrity": "sha512-2cHeZPNTuf1JWbMqyA46MkExor5HMSgv8JrdmzEakUbJHUreh35/wN00FJf57qGs134exQW2thiSQ1IJUsVx2Q==", "dependencies": { "@commitlint/types": "^16.0.0", "ajv": "^6.12.6" @@ -197,13 +197,13 @@ } }, "node_modules/@commitlint/load": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-16.0.0.tgz", - "integrity": "sha512-7WhrGCkP6K/XfjBBguLkkI2XUdiiIyMGlNsSoSqgRNiD352EiffhFEApMy1/XOU+viwBBm/On0n5p0NC7e9/4A==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-16.1.0.tgz", + "integrity": "sha512-MtlEhKjP8jAF85jjX4mw8DUUwCxKsCgAc865hhpnwxjrfBcmGP7Up2AFE/M3ZMGDmSl1X1TMybQk/zohj8Cqdg==", "dependencies": { - "@commitlint/config-validator": "^16.0.0", + "@commitlint/config-validator": "^16.1.0", "@commitlint/execute-rule": "^16.0.0", - "@commitlint/resolve-extends": "^16.0.0", + "@commitlint/resolve-extends": "^16.1.0", "@commitlint/types": "^16.0.0", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", @@ -252,11 +252,11 @@ } }, "node_modules/@commitlint/resolve-extends": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-16.0.0.tgz", - "integrity": "sha512-Z/w9MAQUcxeawpCLtjmkVNXAXOmB2nhW+LYmHEZcx9O6UTauF/1+uuZ2/r0MtzTe1qw2JD+1QHVhEWYHVPlkdA==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-16.1.0.tgz", + "integrity": "sha512-8182s6AFoUFX6+FT1PgQDt15nO2ogdR/EN8SYVAdhNXw1rLz8kT5saB/ICw567GuRAUgFTUMGCXy3ctMOXPEDg==", "dependencies": { - "@commitlint/config-validator": "^16.0.0", + "@commitlint/config-validator": "^16.1.0", "@commitlint/types": "^16.0.0", "import-fresh": "^3.0.0", "lodash": "^4.17.19", @@ -302,11 +302,11 @@ } }, "node_modules/@commitlint/travis-cli": { - "version": "16.0.2", - "resolved": "https://registry.npmjs.org/@commitlint/travis-cli/-/travis-cli-16.0.2.tgz", - "integrity": "sha512-5yy3H0K+Txo7/g/UuuHLc08mwIST20ruWgHRuFxWkbBnCSClUP9ElXDIkVudWVhmX0+8oQWdCW94E8xytIVBJw==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/travis-cli/-/travis-cli-16.1.0.tgz", + "integrity": "sha512-vx1troqL4XigDNEe6hBCqoogyygFx/dhbaGTzuZ45tb95ysZ8g0H9nqA+rnc3ud41YZz7yi1wKquRUaGtO6ByA==", "dependencies": { - "@commitlint/cli": "16.0.2", + "@commitlint/cli": "^16.1.0", "execa": "^5.0.0" }, "bin": { @@ -316,6 +316,28 @@ "node": ">=v12" } }, + "node_modules/@commitlint/travis-cli/node_modules/@commitlint/cli": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.1.0.tgz", + "integrity": "sha512-x5L1knvA3isRWBRVQx+Q6D45pA9139a2aZQYpxkljMG0dj4UHZkCnsYWpnGalxPxASI7nrI0KedKfS2YeQ55cQ==", + "dependencies": { + "@commitlint/format": "^16.0.0", + "@commitlint/lint": "^16.0.0", + "@commitlint/load": "^16.1.0", + "@commitlint/read": "^16.0.0", + "@commitlint/types": "^16.0.0", + "lodash": "^4.17.19", + "resolve-from": "5.0.0", + "resolve-global": "1.0.0", + "yargs": "^17.0.0" + }, + "bin": { + "commitlint": "cli.js" + }, + "engines": { + "node": ">=v12" + } + }, "node_modules/@commitlint/types": { "version": "16.0.0", "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-16.0.0.tgz", @@ -1958,9 +1980,9 @@ } }, "@commitlint/config-validator": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-16.0.0.tgz", - "integrity": "sha512-i80DGlo1FeC5jZpuoNV9NIjQN/m2dDV3jYGWg+1Wr+KldptkUHXj+6GY1Akll66lJ3D8s6aUGi3comPLHPtWHg==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-16.1.0.tgz", + "integrity": "sha512-2cHeZPNTuf1JWbMqyA46MkExor5HMSgv8JrdmzEakUbJHUreh35/wN00FJf57qGs134exQW2thiSQ1IJUsVx2Q==", "requires": { "@commitlint/types": "^16.0.0", "ajv": "^6.12.6" @@ -2010,13 +2032,13 @@ } }, "@commitlint/load": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-16.0.0.tgz", - "integrity": "sha512-7WhrGCkP6K/XfjBBguLkkI2XUdiiIyMGlNsSoSqgRNiD352EiffhFEApMy1/XOU+viwBBm/On0n5p0NC7e9/4A==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-16.1.0.tgz", + "integrity": "sha512-MtlEhKjP8jAF85jjX4mw8DUUwCxKsCgAc865hhpnwxjrfBcmGP7Up2AFE/M3ZMGDmSl1X1TMybQk/zohj8Cqdg==", "requires": { - "@commitlint/config-validator": "^16.0.0", + "@commitlint/config-validator": "^16.1.0", "@commitlint/execute-rule": "^16.0.0", - "@commitlint/resolve-extends": "^16.0.0", + "@commitlint/resolve-extends": "^16.1.0", "@commitlint/types": "^16.0.0", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", @@ -2053,11 +2075,11 @@ } }, "@commitlint/resolve-extends": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-16.0.0.tgz", - "integrity": "sha512-Z/w9MAQUcxeawpCLtjmkVNXAXOmB2nhW+LYmHEZcx9O6UTauF/1+uuZ2/r0MtzTe1qw2JD+1QHVhEWYHVPlkdA==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-16.1.0.tgz", + "integrity": "sha512-8182s6AFoUFX6+FT1PgQDt15nO2ogdR/EN8SYVAdhNXw1rLz8kT5saB/ICw567GuRAUgFTUMGCXy3ctMOXPEDg==", "requires": { - "@commitlint/config-validator": "^16.0.0", + "@commitlint/config-validator": "^16.1.0", "@commitlint/types": "^16.0.0", "import-fresh": "^3.0.0", "lodash": "^4.17.19", @@ -2091,12 +2113,30 @@ } }, "@commitlint/travis-cli": { - "version": "16.0.2", - "resolved": "https://registry.npmjs.org/@commitlint/travis-cli/-/travis-cli-16.0.2.tgz", - "integrity": "sha512-5yy3H0K+Txo7/g/UuuHLc08mwIST20ruWgHRuFxWkbBnCSClUP9ElXDIkVudWVhmX0+8oQWdCW94E8xytIVBJw==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/travis-cli/-/travis-cli-16.1.0.tgz", + "integrity": "sha512-vx1troqL4XigDNEe6hBCqoogyygFx/dhbaGTzuZ45tb95ysZ8g0H9nqA+rnc3ud41YZz7yi1wKquRUaGtO6ByA==", "requires": { - "@commitlint/cli": "16.0.2", + "@commitlint/cli": "^16.1.0", "execa": "^5.0.0" + }, + "dependencies": { + "@commitlint/cli": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.1.0.tgz", + "integrity": "sha512-x5L1knvA3isRWBRVQx+Q6D45pA9139a2aZQYpxkljMG0dj4UHZkCnsYWpnGalxPxASI7nrI0KedKfS2YeQ55cQ==", + "requires": { + "@commitlint/format": "^16.0.0", + "@commitlint/lint": "^16.0.0", + "@commitlint/load": "^16.1.0", + "@commitlint/read": "^16.0.0", + "@commitlint/types": "^16.0.0", + "lodash": "^4.17.19", + "resolve-from": "5.0.0", + "resolve-global": "1.0.0", + "yargs": "^17.0.0" + } + } } }, "@commitlint/types": { diff --git a/package.json b/package.json index 4141532..be75816 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@commitlint/cli": "16.0.2", - "@commitlint/travis-cli": "16.0.2" + "@commitlint/travis-cli": "16.1.0" } } From fef793a347be7e7e3efb2edeb0f5970c7e8d0ce0 Mon Sep 17 00:00:00 2001 From: Alessandro Cuppari Date: Sun, 30 Jan 2022 14:19:39 +0000 Subject: [PATCH 2/5] fix: do not pass filename to commitlint hook --- .pre-commit-hooks.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 0896c73..58ebf5e 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,6 +3,9 @@ description: Commitlint hook language: node entry: commitlint --edit + pass_filenames: false + always_run: true + verbose: true - id: commitlint-travis name: Check commit messages on Travis CI description: Lint all relevant commits for a change or PR on Travis CI From 87cb608bb2c7b92814a9908c4e1e2c136541ba78 Mon Sep 17 00:00:00 2001 From: Alessandro Cuppari Date: Sun, 30 Jan 2022 14:28:39 +0000 Subject: [PATCH 3/5] chore: remove verbose flag --- .pre-commit-hooks.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 58ebf5e..c3e6ebf 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,7 +5,6 @@ entry: commitlint --edit pass_filenames: false always_run: true - verbose: true - id: commitlint-travis name: Check commit messages on Travis CI description: Lint all relevant commits for a change or PR on Travis CI From 64216223894af5402c120b25777f33f973ea20d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 14:35:09 +0000 Subject: [PATCH 4/5] build(deps): bump @commitlint/cli from 16.0.2 to 16.1.0 Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 16.0.2 to 16.1.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.1.0/@commitlint/cli) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 62 +++++++++-------------------------------------- package.json | 2 +- 2 files changed, 12 insertions(+), 52 deletions(-) diff --git a/package-lock.json b/package-lock.json index cb61d21..580d0f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@commitlint/cli": "16.0.2", + "@commitlint/cli": "16.1.0", "@commitlint/travis-cli": "16.1.0" }, "bin": { @@ -105,13 +105,13 @@ } }, "node_modules/@commitlint/cli": { - "version": "16.0.2", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.0.2.tgz", - "integrity": "sha512-Jt7iaBjoLGC5Nq4dHPTvTYnqPGkElFPBtTXTvBpTgatZApczyjI2plE0oG4GYWPp1suHIS/VdVDOMpPZjGVusg==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.1.0.tgz", + "integrity": "sha512-x5L1knvA3isRWBRVQx+Q6D45pA9139a2aZQYpxkljMG0dj4UHZkCnsYWpnGalxPxASI7nrI0KedKfS2YeQ55cQ==", "dependencies": { "@commitlint/format": "^16.0.0", "@commitlint/lint": "^16.0.0", - "@commitlint/load": "^16.0.0", + "@commitlint/load": "^16.1.0", "@commitlint/read": "^16.0.0", "@commitlint/types": "^16.0.0", "lodash": "^4.17.19", @@ -306,7 +306,7 @@ "resolved": "https://registry.npmjs.org/@commitlint/travis-cli/-/travis-cli-16.1.0.tgz", "integrity": "sha512-vx1troqL4XigDNEe6hBCqoogyygFx/dhbaGTzuZ45tb95ysZ8g0H9nqA+rnc3ud41YZz7yi1wKquRUaGtO6ByA==", "dependencies": { - "@commitlint/cli": "^16.1.0", + "@commitlint/cli": "16.1.0", "execa": "^5.0.0" }, "bin": { @@ -316,28 +316,6 @@ "node": ">=v12" } }, - "node_modules/@commitlint/travis-cli/node_modules/@commitlint/cli": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.1.0.tgz", - "integrity": "sha512-x5L1knvA3isRWBRVQx+Q6D45pA9139a2aZQYpxkljMG0dj4UHZkCnsYWpnGalxPxASI7nrI0KedKfS2YeQ55cQ==", - "dependencies": { - "@commitlint/format": "^16.0.0", - "@commitlint/lint": "^16.0.0", - "@commitlint/load": "^16.1.0", - "@commitlint/read": "^16.0.0", - "@commitlint/types": "^16.0.0", - "lodash": "^4.17.19", - "resolve-from": "5.0.0", - "resolve-global": "1.0.0", - "yargs": "^17.0.0" - }, - "bin": { - "commitlint": "cli.js" - }, - "engines": { - "node": ">=v12" - } - }, "node_modules/@commitlint/types": { "version": "16.0.0", "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-16.0.0.tgz", @@ -1964,13 +1942,13 @@ } }, "@commitlint/cli": { - "version": "16.0.2", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.0.2.tgz", - "integrity": "sha512-Jt7iaBjoLGC5Nq4dHPTvTYnqPGkElFPBtTXTvBpTgatZApczyjI2plE0oG4GYWPp1suHIS/VdVDOMpPZjGVusg==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.1.0.tgz", + "integrity": "sha512-x5L1knvA3isRWBRVQx+Q6D45pA9139a2aZQYpxkljMG0dj4UHZkCnsYWpnGalxPxASI7nrI0KedKfS2YeQ55cQ==", "requires": { "@commitlint/format": "^16.0.0", "@commitlint/lint": "^16.0.0", - "@commitlint/load": "^16.0.0", + "@commitlint/load": "^16.1.0", "@commitlint/read": "^16.0.0", "@commitlint/types": "^16.0.0", "lodash": "^4.17.19", @@ -2117,26 +2095,8 @@ "resolved": "https://registry.npmjs.org/@commitlint/travis-cli/-/travis-cli-16.1.0.tgz", "integrity": "sha512-vx1troqL4XigDNEe6hBCqoogyygFx/dhbaGTzuZ45tb95ysZ8g0H9nqA+rnc3ud41YZz7yi1wKquRUaGtO6ByA==", "requires": { - "@commitlint/cli": "^16.1.0", + "@commitlint/cli": "16.1.0", "execa": "^5.0.0" - }, - "dependencies": { - "@commitlint/cli": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-16.1.0.tgz", - "integrity": "sha512-x5L1knvA3isRWBRVQx+Q6D45pA9139a2aZQYpxkljMG0dj4UHZkCnsYWpnGalxPxASI7nrI0KedKfS2YeQ55cQ==", - "requires": { - "@commitlint/format": "^16.0.0", - "@commitlint/lint": "^16.0.0", - "@commitlint/load": "^16.1.0", - "@commitlint/read": "^16.0.0", - "@commitlint/types": "^16.0.0", - "lodash": "^4.17.19", - "resolve-from": "5.0.0", - "resolve-global": "1.0.0", - "yargs": "^17.0.0" - } - } } }, "@commitlint/types": { diff --git a/package.json b/package.json index be75816..b276eba 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "commitlint-travis": "./node_modules/@commitlint/travis-cli/cli.js" }, "dependencies": { - "@commitlint/cli": "16.0.2", + "@commitlint/cli": "16.1.0", "@commitlint/travis-cli": "16.1.0" } } From 529a45e4f8f334197a2dd2f4c67a7a49028f760c Mon Sep 17 00:00:00 2001 From: Alessandro Cuppari Date: Thu, 3 Feb 2022 14:41:27 +0000 Subject: [PATCH 5/5] chore: changed readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9bbd58d..346efc9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ * Add the following to your `.pre-commit-config.yaml`: ``` - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v7.0.1 + rev: hooks: - id: commitlint stages: [commit-msg] @@ -15,7 +15,7 @@ add it to the `additional_dependencies` parameter of the hooks, i.e: ``` - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v7.0.1 + rev: hooks: - id: commitlint stages: [commit-msg]