Skip to content

Commit

Permalink
fix: Update package.json with git configuration and hooks
Browse files Browse the repository at this point in the history
Add git configuration and hooks to the package.json file. This includes setting the required branch to "main" and specifying the commit message format for releases. Additionally, a hook has been added to automatically pull changes before initializing the project and another hook to generate an auto-changelog after bumping the version. These changes improve the release management process and ensure consistency in commit messages.
  • Loading branch information
antosubash committed Jul 17, 2024
1 parent c979069 commit 560dc13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@
"hooks": {
"before:init": [
"git update-index -q --refresh"
],
"after:bump": "npx auto-changelog -p"
]
}
}
}

0 comments on commit 560dc13

Please sign in to comment.