diff --git a/README.md b/README.md index be6f0d23..1be95ad1 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ This is a [`Docker` action](https://github.com/actions/toolkit/blob/e2adf403d6d1 - [@commitlint/config-patternplate](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-patternplate) - [conventional-changelog-lint-config-canonical](https://github.com/gajus/conventional-changelog-lint-config-canonical) - [commitlint-config-jira](https://github.com/Gherciu/commitlint-jira) +- [commitlint-config-function-rules](https://github.com/vidavidorra/commitlint-plugin-function-rules#readme) Apart from the shared configurations that are included by default, you can also include extra dependencies for other configs and plugins that you want to use. diff --git a/package-lock.json b/package-lock.json index 8f75eb8a..536f34c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "@commitlint/lint": "^12.1.4", "@commitlint/load": "^12.1.4", "commitlint-config-jira": "^1.5.1", + "commitlint-plugin-function-rules": "^1.3.2", "commitlint-plugin-jira-rules": "^1.5.1", "conventional-changelog-lint-config-canonical": "^1.0.0", "dargs": "^8.1.0", @@ -37,7 +38,6 @@ "@rollup/plugin-commonjs": "^19.0.1", "@rollup/plugin-node-resolve": "^13.0.1", "babel-jest": "^27.0.6", - "commitlint-plugin-function-rules": "^1.3.2", "conventional-changelog-cli": "^2.1.1", "eslint": "^7.29.0", "eslint-config-airbnb-base": "^14.2.1", @@ -51,7 +51,6 @@ "lint-staged": "^11.0.1", "prettier": "^2.3.2", "rollup": "^2.53.2", - "rollup-plugin-auto-external": "^2.0.0", "standard-version": "^9.3.1", "testdouble": "^3.16.1", "yaml": "^1.10.2" @@ -5124,7 +5123,6 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/commitlint-plugin-function-rules/-/commitlint-plugin-function-rules-1.3.2.tgz", "integrity": "sha512-Gwch0ZFWBcWwrYA/44or+y2Re7woSe8c8ItqZKCWoLCTTlN6eyG3chWY2fRN6c3NMsjsXmyoZ27JTTfWt95axQ==", - "dev": true, "engines": { "node": ">=10.22.1" }, @@ -12880,51 +12878,6 @@ "fsevents": "~2.3.2" } }, - "node_modules/rollup-plugin-auto-external": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-auto-external/-/rollup-plugin-auto-external-2.0.0.tgz", - "integrity": "sha512-HQM3ZkZYfSam1uoZtAB9sK26EiAsfs1phrkf91c/YX+S07wugyRXSigBxrIwiLr5EPPilKYmoMxsrnlGBsXnuQ==", - "dev": true, - "dependencies": { - "builtins": "^2.0.0", - "read-pkg": "^3.0.0", - "safe-resolve": "^1.0.0", - "semver": "^5.5.0" - }, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "rollup": ">=0.45.2" - } - }, - "node_modules/rollup-plugin-auto-external/node_modules/builtins": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-2.0.1.tgz", - "integrity": "sha512-XkkVe5QAb6guWPXTzpSrYpSlN3nqEmrrE2TkAr/tp7idSF6+MONh9WvKrAuR3HiKLvoSgmbs8l1U9IPmMrIoLw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - } - }, - "node_modules/rollup-plugin-auto-external/node_modules/builtins/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/rollup-plugin-auto-external/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -12971,12 +12924,6 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, - "node_modules/safe-resolve": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-resolve/-/safe-resolve-1.0.0.tgz", - "integrity": "sha1-/jT40p16O+z9JJ0KqKeZtcPPZVk=", - "dev": true - }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -18577,7 +18524,6 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/commitlint-plugin-function-rules/-/commitlint-plugin-function-rules-1.3.2.tgz", "integrity": "sha512-Gwch0ZFWBcWwrYA/44or+y2Re7woSe8c8ItqZKCWoLCTTlN6eyG3chWY2fRN6c3NMsjsXmyoZ27JTTfWt95axQ==", - "dev": true, "requires": {} }, "commitlint-plugin-jira-rules": { @@ -24507,43 +24453,6 @@ "fsevents": "~2.3.2" } }, - "rollup-plugin-auto-external": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-auto-external/-/rollup-plugin-auto-external-2.0.0.tgz", - "integrity": "sha512-HQM3ZkZYfSam1uoZtAB9sK26EiAsfs1phrkf91c/YX+S07wugyRXSigBxrIwiLr5EPPilKYmoMxsrnlGBsXnuQ==", - "dev": true, - "requires": { - "builtins": "^2.0.0", - "read-pkg": "^3.0.0", - "safe-resolve": "^1.0.0", - "semver": "^5.5.0" - }, - "dependencies": { - "builtins": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-2.0.1.tgz", - "integrity": "sha512-XkkVe5QAb6guWPXTzpSrYpSlN3nqEmrrE2TkAr/tp7idSF6+MONh9WvKrAuR3HiKLvoSgmbs8l1U9IPmMrIoLw==", - "dev": true, - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, "run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -24570,12 +24479,6 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, - "safe-resolve": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-resolve/-/safe-resolve-1.0.0.tgz", - "integrity": "sha1-/jT40p16O+z9JJ0KqKeZtcPPZVk=", - "dev": true - }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", diff --git a/package.json b/package.json index 8e1805dd..bd70d296 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@commitlint/lint": "^12.1.4", "@commitlint/load": "^12.1.4", "commitlint-config-jira": "^1.5.1", + "commitlint-plugin-function-rules": "^1.3.2", "commitlint-plugin-jira-rules": "^1.5.1", "conventional-changelog-lint-config-canonical": "^1.0.0", "dargs": "^8.1.0", @@ -50,7 +51,6 @@ "@rollup/plugin-commonjs": "^19.0.1", "@rollup/plugin-node-resolve": "^13.0.1", "babel-jest": "^27.0.6", - "commitlint-plugin-function-rules": "^1.3.2", "conventional-changelog-cli": "^2.1.1", "eslint": "^7.29.0", "eslint-config-airbnb-base": "^14.2.1",