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 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",