From cf1a155bace7f3d9028700930d386e74afeeab81 Mon Sep 17 00:00:00 2001 From: Bernie Nicasio Date: Wed, 3 Jul 2024 09:15:25 -0400 Subject: [PATCH] ci: (DSO-2101) update docker image (#28) --- .release-it.json | 30 ---------------------- commitlint.config.js | 1 - package-lock.json | 4 +-- package.json | 59 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+), 33 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 d0a8559..0000000 --- a/.release-it.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "github": { - "release": true, - "releaseName": "v${version}" - }, - "git": { - "commitMessage": "chore: release v${version}", - "requireBranch": "main", - "tagMatch": "v[0-9]*\\.[0-9]*\\.[0-9]*", - "tagName": "v${version}", - "getLatestTagFromAllRefs": true, - "tagExclude": "*[-]*", - "push": true, - "requireCommits": true, - "release": true, - "pushArgs": ["--no-verify", "--follow-tags"], - "commitArgs": ["--no-verify"] - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": { - "name": "conventionalcommits", - "preset": { - "name": "conventionalcommits" - } - }, - "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-lock.json b/package-lock.json index 68668ec..5a77efd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lep-docker", - "version": "2.0.2", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lep-docker", - "version": "2.0.2", + "version": "1.0.0", "devDependencies": { "@commitlint/config-conventional": "^19.2.2", "@release-it/conventional-changelog": "^8.0.1", diff --git a/package.json b/package.json index fa7184b..302c6ed 100644 --- a/package.json +++ b/package.json @@ -11,5 +11,64 @@ "commitlint": "^19.3.0", "husky": "^9.0.11", "release-it": "^17.2.0" + }, + "npm": { + "publish": false + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ], + "defaultIgnores": true, + "rules": { + "body-max-line-length": [ + 1, + "always" + ] + } + }, + "release-it": { + "github": { + "release": true, + "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" + } + } } }