Skip to content

Commit

Permalink
ci: upgraded husky (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
CptSchnitz authored Dec 25, 2024
1 parent 831dc93 commit 52d1f75
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 114 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pretty-quick --staged
117 changes: 11 additions & 106 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"validate:attributes": "node --import=tsimp/import scripts/validate-semantic-conventions.mts",
"generate:attributes": "node --import=tsimp/import scripts/build-semantic-conventions.mts",
"generate:types": "json2ts schemas/attribute.schema.json > scripts/autogen.mts",
"prepack": "npm run build"
"prepack": "npm run build",
"prepare": "husky"
},
"repository": {
"type": "git",
Expand All @@ -43,12 +44,6 @@
"bugs": {
"url": "https://github.com/MapColonies/telemetry/issues"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"files": [
"dist/**/*"
],
Expand Down Expand Up @@ -89,7 +84,7 @@
"commitlint": "^11.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.56.0",
"husky": "^4.3.5",
"husky": "^9.1.7",
"json-schema-to-typescript": "^13.1.2",
"just-safe-set": "^4.2.1",
"pino": "^8.14.1",
Expand Down

0 comments on commit 52d1f75

Please sign in to comment.