Skip to content

Commit

Permalink
main: feat: ✨ add husky and fix the package.json settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikRestrepoPCO committed Feb 26, 2024
1 parent cef23bd commit a4040ff
Show file tree
Hide file tree
Showing 8 changed files with 7,566 additions and 2,253 deletions.
8 changes: 8 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
branch="$(git rev-parse --abbrev-ref HEAD | sed 's/^origin\///')"
commitMsgFile=$1
msg=$(cat "$commitMsgFile")
echo "$branch: $msg" > "$commitMsgFile"
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
1 change: 1 addition & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}
Loading

0 comments on commit a4040ff

Please sign in to comment.