Skip to content

Commit

Permalink
ci(commitlint): remove commitlint, separate configs
Browse files Browse the repository at this point in the history
This change removes commitlint because it doesn't nicely
integrate with all IDEs, only VScode as far as I'm aware.
I'd rather let people choose tools for themselves.
  • Loading branch information
rikhall1515 committed Apr 24, 2024
1 parent 2110cc5 commit 4c17a2a
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 294 deletions.
4 changes: 4 additions & 0 deletions .cz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"path": "./node_modules/cz-conventional-changelog",
"disableSubjectLowerCase": true
}
4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

21 changes: 21 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"branches": ["main"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/git",
"@semantic-release/github"
]
}
7 changes: 0 additions & 7 deletions commitlint.config.ts

This file was deleted.

32 changes: 0 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@commitlint/cz-commitlint": "19.2.0",
"@commitlint/types": "19.0.3",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@storybook/addon-controls": "~8.0.8",
Expand Down Expand Up @@ -123,33 +119,5 @@
"stylelint-order": "6.0.4",
"stylelint-selector-bem-pattern": "4.0.0",
"turbo": "1.13.2"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/git",
"@semantic-release/github"
]
}
}
Loading

0 comments on commit 4c17a2a

Please sign in to comment.