From b614c76f7d37e354baa8c68477593517d602fc8b Mon Sep 17 00:00:00 2001 From: Javier Carrillo Date: Mon, 15 Jul 2024 11:36:46 -0400 Subject: [PATCH] chore: (DSO-2004) Move js config to package.json --- .release-it.json | 71 ---------------------------------------- commitlint.config.js | 1 - package.json | 77 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 72 deletions(-) delete mode 100644 .release-it.json delete mode 100644 commitlint.config.js diff --git a/.release-it.json b/.release-it.json deleted file mode 100644 index f0b70bb..0000000 --- a/.release-it.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "github": { - "release": false, - "releaseName": "v${version}" - }, - "git": { - "commitMessage": "chore: release v${version}", - "tagMatch": "v[0-9]*\\.[0-9]*\\.[0-9]*", - "tagName": "v${version}", - "getLatestTagFromAllRefs": true, - "tagExclude": "*[-]*", - "push": true, - "release": true, - "pushArgs": ["--no-verify", "--follow-tags", "--force"], - "commitArgs": ["--no-verify"] - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": { - "name": "conventionalcommits", - "types": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "chore", - "section": "Miscellaneous" - }, - { - "type": "docs", - "section": "Miscellaneous" - }, - { - "type": "style", - "section": "Miscellaneous" - }, - { - "type": "refactor", - "section": "Miscellaneous" - }, - { - "type": "perf", - "section": "Miscellaneous" - }, - { - "type": "test", - "section": "Miscellaneous" - }, - { - "type": "build", - "section": "Miscellaneous" - }, - { - "type": "revert", - "section": "Miscellaneous" - }, - { - "type": "ci", - "section": "Miscellaneous" - } - ] - }, - "infile": "CHANGELOG.md" - } - } -} diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 422b194..0000000 --- a/commitlint.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = { extends: ['@commitlint/config-conventional'] }; diff --git a/package.json b/package.json index 8f833b2..303ada6 100644 --- a/package.json +++ b/package.json @@ -12,5 +12,82 @@ "commitlint": "^19.2.1", "husky": "^9.0.11", "release-it": "^17.3.0" + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ], + "defaultIgnores": true + }, + "release-it": { + "github": { + "release": false, + "releaseName": "v${version}" + }, + "git": { + "commitMessage": "chore: release v${version}", + "tagMatch": "v[0-9]*\\.[0-9]*\\.[0-9]*", + "tagName": "v${version}", + "getLatestTagFromAllRefs": true, + "tagExclude": "*[-]*", + "push": true, + "release": true, + "pushArgs": ["--no-verify", "--follow-tags", "--force"], + "commitArgs": ["--no-verify"] + }, + "plugins": { + "@release-it/conventional-changelog": { + "preset": { + "name": "conventionalcommits", + "types": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "chore", + "section": "Miscellaneous" + }, + { + "type": "docs", + "section": "Miscellaneous" + }, + { + "type": "style", + "section": "Miscellaneous" + }, + { + "type": "refactor", + "section": "Miscellaneous" + }, + { + "type": "perf", + "section": "Miscellaneous" + }, + { + "type": "test", + "section": "Miscellaneous" + }, + { + "type": "build", + "section": "Miscellaneous" + }, + { + "type": "revert", + "section": "Miscellaneous" + }, + { + "type": "ci", + "section": "Miscellaneous" + } + ] + }, + "infile": "CHANGELOG.md" + } + } } }