From 688d9ca521adceca384e1cbf6335280d63be8a73 Mon Sep 17 00:00:00 2001 From: mikebender Date: Mon, 13 Jan 2025 14:18:12 -0500 Subject: [PATCH] build: Update the changelogPreset to use conventionalcommits - Update the changelogPreset to use conventionalcommits (was done in web-client-ui with https://github.com/deephaven/web-client-ui/pull/2054) --- lerna.json | 7 ++++++- package-lock.json | 22 ++++++++++++++++++++++ package.json | 1 + 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 00e1ac584..50caeec0c 100644 --- a/lerna.json +++ b/lerna.json @@ -3,5 +3,10 @@ "useWorkspaces": true, "useNx": false, "version": "independent", - "packages": ["plugins/*/src/js/"] + "packages": ["plugins/*/src/js/"], + "command": { + "version": { + "changelogPreset": "conventionalcommits" + } + } } diff --git a/package-lock.json b/package-lock.json index d2252d2cd..8a8e36991 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,6 +24,7 @@ "@types/node": "^20.11.17", "@types/prop-types": "^15.7.10", "@vitejs/plugin-react-swc": "^3.7.0", + "conventional-changelog-conventionalcommits": "^7.0.0", "eslint": "^8.37.0", "identity-obj-proxy": "^3.0.0", "jest": "^29.6.2", @@ -13483,6 +13484,18 @@ "node": ">=10" } }, + "node_modules/conventional-changelog-conventionalcommits": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", + "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/conventional-changelog-core": { "version": "4.2.4", "dev": true, @@ -163184,6 +163197,15 @@ "q": "^1.5.1" } }, + "conventional-changelog-conventionalcommits": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", + "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", + "dev": true, + "requires": { + "compare-func": "^2.0.0" + } + }, "conventional-changelog-core": { "version": "4.2.4", "dev": true, diff --git a/package.json b/package.json index 68cbeb778..df3c2a606 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "@types/node": "^20.11.17", "@types/prop-types": "^15.7.10", "@vitejs/plugin-react-swc": "^3.7.0", + "conventional-changelog-conventionalcommits": "^7.0.0", "eslint": "^8.37.0", "identity-obj-proxy": "^3.0.0", "jest": "^29.6.2",