Skip to content

Commit

Permalink
fix: release-it and commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
mahabubx7 committed Oct 15, 2024
1 parent 322c293 commit fe71c1d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akar",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.6",
"description": "Akar.js is a simple and lightweight schema based data-validation library.",
"type": "module",
"main": "dist/index.cjs",
Expand Down Expand Up @@ -96,6 +96,16 @@
"index.ts"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.(ts,js)": [
"eslint --fix",
Expand Down
8 changes: 6 additions & 2 deletions release-it.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ module.exports = {
},
github: {
release: true,
web: true
web: true,
releaseName: "v${version}",
releaseNotes: "CHANGELOG.md"
},
npm: {
publish: true,
publishPath: "./",
skipChecks: false
skipChecks: false,
access: "public",
tag: "latest"
},
plugins: {
"@release-it/conventional-changelog": {
Expand Down

0 comments on commit fe71c1d

Please sign in to comment.