From 6fc27fb210c1748f9ad7139d5550d54cd3b78b42 Mon Sep 17 00:00:00 2001 From: Badisi Date: Sat, 22 Jun 2024 02:05:15 +0200 Subject: [PATCH] chore: improvements --- nx.json | 9 ++++++--- package.json | 22 +++++++++++++++++++++- projects/core/CHANGELOG.md | 11 +++++++++++ scripts/sync-peer-deps.mjs | 2 +- 4 files changed, 39 insertions(+), 5 deletions(-) diff --git a/nx.json b/nx.json index c35248dd..4d94c261 100644 --- a/nx.json +++ b/nx.json @@ -38,10 +38,10 @@ "title": "📖 Documentation" } }, - "chore": { + "deps": { "semverBump": "patch", "changelog": { - "title": "🛠️ Chore" + "title": "🌱 Dependencies" } }, "refactor": { @@ -63,7 +63,10 @@ "revert": { "semverBump": "patch", "changelog": false - } + }, + "chore": false, + "build": false, + "ci": false } }, "changelog": { diff --git a/package.json b/package.json index c610f83f..730ee227 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,27 @@ "commitlint": { "extends": [ "@commitlint/config-conventional" - ] + ], + "rules": { + "type-enum": [ + 2, + "always", + [ + "build", + "chore", + "ci", + "docs", + "feat", + "fix", + "perf", + "refactor", + "revert", + "style", + "test", + "deps" + ] + ] + } }, "lint-staged": { "**/*.{js,json,ts,html}": [ diff --git a/projects/core/CHANGELOG.md b/projects/core/CHANGELOG.md index 448ba191..4d5b9da1 100644 --- a/projects/core/CHANGELOG.md +++ b/projects/core/CHANGELOG.md @@ -1,3 +1,14 @@ +## 1.1.4 (2024-06-21) + + +### 🛠️ Chore + +- **release:** include CHANGELOG.md in distribution package ([9897e06](https://github.com/DSI-HUG/ngx-components/commit/9897e06)) + + +### ❤️ Thank You + +- @Badisi ## 1.1.2 (2024-06-17) diff --git a/scripts/sync-peer-deps.mjs b/scripts/sync-peer-deps.mjs index b27413a9..70e30c2b 100644 --- a/scripts/sync-peer-deps.mjs +++ b/scripts/sync-peer-deps.mjs @@ -78,7 +78,7 @@ const getWorkspaces = () => { execCommand('git', ['add', workspace2.packageJsonPath]); console.log(`\n${bgWhite(' > ')} Committing changes with git${dryRun ? yellow(' [dry-run]') : ''}`); - execCommand('git', ['commit', '--message', `chore(deps): upgrade ${workspace.packageJson.name} to v${workspace.packageJson.version}`]); + execCommand('git', ['commit', '--message', `deps(${workspace.packageJson.name}): upgrade to v${workspace.packageJson.version}`]); } } });