From 9747ebc92dc3c7506c81b064e35944f6d4d481bc Mon Sep 17 00:00:00 2001 From: Dima Denisenko <1253839+dimdnk@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:39:54 +0300 Subject: [PATCH] chore: enable commitlint, conventional config, semantic-release --- .commitlintrc.json | 6 ++++++ package.json | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .commitlintrc.json diff --git a/.commitlintrc.json b/.commitlintrc.json new file mode 100644 index 0000000..37447ad --- /dev/null +++ b/.commitlintrc.json @@ -0,0 +1,6 @@ +{ + "extends": ["@commitlint/config-conventional"], + "rules": { + "footer-max-line-length": [1, "always", 180] + } +} diff --git a/package.json b/package.json index d1512ab..ecac2b7 100644 --- a/package.json +++ b/package.json @@ -19,13 +19,25 @@ ] }, "devDependencies": { + "@commitlint/cli": "^19.5.0", + "@commitlint/config-conventional": "^19.5.0", + "@semantic-release/git": "^10.0.1", + "cz-conventional-changelog": "^3.3.0", + "glob": "^11.0.0", "husky": "9.1.6", + "lint-staged": "^15.2.5", "prettier": "3.3.3", "prettier-plugin-java": "2.6.4", "prettier-plugin-packagejson": "2.5.2", + "semantic-release": "^24.1.2", "stylelint": "^16.2.1", "stylelint-config-standard-scss": "^13.0.0" }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } + }, "engines": { "node": ">=18.20.4" }