From 28d96ef98d702dc48c7a19d44dce710ab80911ba Mon Sep 17 00:00:00 2001 From: Tal Rofe <100444463+tal-rofe@users.noreply.github.com> Date: Mon, 18 Dec 2023 00:40:53 +0700 Subject: [PATCH 1/2] docs(readme): add adapter (#972) Co-authored-by: tal-rofe --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e0c0a41e..bb39e2e7 100644 --- a/README.md +++ b/README.md @@ -279,6 +279,7 @@ We know that every project and build process has different requirements, so we'v - [cz-format-extension](https://github.com/tyankatsu0105/cz-format-extension) - [cz-emoji-conventional](https://www.npmjs.com/package/cz-emoji-conventional) - [cz-git](https://github.com/Zhengqbbb/cz-git) +- [cz-vinyl](https://github.com/Exlint/cz-vinyl) To create an adapter, just fork one of these great adapters and modify it to suit your needs. We pass you an instance of [Inquirer.js](https://github.com/SBoudrias/Inquirer.js/), but you can capture input using whatever means necessary. Just call the `commit` callback with a string and we'll be happy. Publish it to npm, and you'll be all set! From 17f2be94f62afcc2598c202c18a6aaf5faf2c9ad Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 17 Dec 2023 17:42:07 +0000 Subject: [PATCH 2/2] chore(deps) Update dependency strip-json-comments to v4 --- package-lock.json | 38 ++++++++++++++++++++++++++++---------- package.json | 4 ++-- 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index df11f2d1..a9fc35e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "commitizen", - "version": "0.0.0", + "version": "0.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "commitizen", - "version": "0.0.0", + "version": "0.0.1", "license": "MIT", "dependencies": { "cachedir": "2.3.0", @@ -22,7 +22,7 @@ "lodash": "4.17.21", "minimist": "1.2.7", "strip-bom": "4.0.0", - "strip-json-comments": "3.1.1" + "strip-json-comments": "4.0.0" }, "bin": { "commitizen": "bin/commitizen", @@ -7159,6 +7159,18 @@ "node": ">=8" } }, + "node_modules/mocha/node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -12048,11 +12060,11 @@ } }, "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-4.0.0.tgz", + "integrity": "sha512-LzWcbfMbAsEDTRmhjWIioe8GcDRl0fa35YMXFoJKDdiD/quGFmjJjdgPjFJJNwCMaLyQqFIDqCdHD2V4HfLgYA==", "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18088,6 +18100,12 @@ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -21702,9 +21720,9 @@ } }, "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-4.0.0.tgz", + "integrity": "sha512-LzWcbfMbAsEDTRmhjWIioe8GcDRl0fa35YMXFoJKDdiD/quGFmjJjdgPjFJJNwCMaLyQqFIDqCdHD2V4HfLgYA==" }, "stubs": { "version": "3.0.0", diff --git a/package.json b/package.json index ee1778fb..d47251b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "commitizen", - "version": "0.0.0", + "version": "0.0.1", "description": "Git commit, but play nice with conventions.", "main": "dist/index.js", "scripts": { @@ -86,7 +86,7 @@ "lodash": "4.17.21", "minimist": "1.2.7", "strip-bom": "4.0.0", - "strip-json-comments": "3.1.1" + "strip-json-comments": "4.0.0" }, "nyc": { "extends": "@istanbuljs/nyc-config-babel",