From b325408f3774e108fd292035c3110e0e52d693aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Kr=C3=BCger?= Date: Mon, 31 Jul 2023 14:42:27 +0200 Subject: [PATCH 1/2] build: use conventional commits in lerna version Closes #2415 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 564367325c..50b80d0fd3 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "watch-components": "lerna run watch", "setup-npm-links": "node scripts/setup-npm-link.js", "postinstall": "lerna bootstrap --hoist && cross-env NODE_ENV=production npm run build-lib && lerna run --parallel genPackagelock && playwright install --with-deps chromium", - "release": "npm whoami && lerna clean --yes && git clean -dfxq -e .idea -e .vscode && npm ci && cross-env NODE_ENV=production npm run build-dist && lerna version --include-merged-tags --exact && lerna publish from-package && git clean -dfxq -e .idea -e .vscode && npm install && git add -A && git commit -m \"release: update package locks\" && git push", + "release": "npm whoami && lerna clean --yes && git clean -dfxq -e .idea -e .vscode && npm ci && cross-env NODE_ENV=production npm run build-dist && lerna version --conventional-commits --include-merged-tags --exact && lerna publish from-package && git clean -dfxq -e .idea -e .vscode && npm install && git add -A && git commit -m \"release: update package locks\" && git push", "start": "npm run storybook", "storybook": "start-storybook -p 6006 --no-version-updates", "build-storybook": "build-storybook", From fd8e601c0e9d24d95c8bbb9d84e25a03093bb5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Kr=C3=BCger?= Date: Mon, 31 Jul 2023 14:48:52 +0200 Subject: [PATCH 2/2] docs: update readme Closes #2415 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index afee896ba5..fb4bb2e886 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,15 @@ feat(button): add new color blue Closes #ticket-1234 ``` +Example for a Changelog entry +``` +# [16.3.0](https://github.com/axa-ch-webhub-cloud/pattern-library/compare/@axa-ch-webhub-cloud/materials@16.2.2...@axa-ch-webhub-cloud/materials@16.3.0) (2023-07-31) + +### Features + +- **materials:** update color ([b832830](https://github.com/axa-ch-webhub-cloud/pattern-library/commit/b83283048acb5594812d019e2523bb014d3fc509)), closes [#123456](https://github.com/axa-ch-webhub-cloud/pattern-library/issues/123456) +``` + For more examples, especially with BREAKING CHANGES, have a look at the [Conventional Commits Examples](https://www.conventionalcommits.org/en/v1.0.0/#examples). ## Pattern Library via community CDN