Skip to content

Commit

Permalink
docs: automatic changelog using release-it and conventional commits
Browse files Browse the repository at this point in the history
From now on a changelog can be found in the CHANGELOG.md at some point it will maybe also be shown on the website.
  • Loading branch information
jkrumm committed Jan 19, 2024
1 parent 4f2c941 commit 417e12a
Show file tree
Hide file tree
Showing 5 changed files with 9,054 additions and 3,620 deletions.
2 changes: 1 addition & 1 deletion .github/pr-commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ comment:
- '**/schema.ts'
body: |
<h3> :warning: Drizzle schema file has been modified :warning: </h3>
Please make sure to review and deploy it using Turso CLI before merging the PR.
Please make sure to review and deploy it using Planetscale UI before merging the PR.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run format && npx --no-install commitlint --edit "$1"
20 changes: 20 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'header-max-length': [2, 'always', 80],
'body-max-line-length': [2, 'always', 300],
'body-leading-blank': [2, 'always'],
'footer-max-line-length': [2, 'always', 100],
'footer-leading-blank': [2, 'always'],
'type-case': [2, 'always', 'lower-case'],
'type-empty': [2, 'never'],
'scope-case': [2, 'always', 'lower-case'],
'subject-empty': [2, 'never'],
'subject-case': [
2,
'never',
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
],
'subject-full-stop': [2, 'never', '.'],
},
};
Loading

0 comments on commit 417e12a

Please sign in to comment.