Skip to content

Commit

Permalink
Merge pull request #2451 from axa-ch-webhub-cloud/feature/conventiona…
Browse files Browse the repository at this point in the history
…l-commits

Feature/conventional commits
  • Loading branch information
thomas-krueger-axa authored Oct 24, 2023
2 parents ac59d1e + fd8e601 commit 0d5253c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]...@axa-ch-webhub-cloud/[email protected]) (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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0d5253c

Please sign in to comment.