Skip to content

Commit 079c455

Browse files
committed
chore: husky & deps cleaning
* husky: added commit-msg hook with commitlint run * husky: removed pre-commit with tests run * removed standard-version from dependendencies and related scripts
1 parent 16d2f1b commit 079c455

File tree

4 files changed

+17
-560
lines changed

4 files changed

+17
-560
lines changed

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848
"build": "vite build",
4949
"lint": "eslint src tests types",
5050
"prepare": "husky",
51-
"release": "standard-version",
52-
"release:minor": "standard-version --release-as minor",
53-
"release:patch": "standard-version --release-as patch",
54-
"release:major": "standard-version --release-as major",
5551
"stats": "gzip -c ./dist/index.mjs | wc -c",
5652
"test": "vitest run",
5753
"test:coverage": "vitest run --coverage",
@@ -67,7 +63,6 @@
6763
"eslint": "^9.17.0",
6864
"globals": "^15.14.0",
6965
"husky": "^9.1.7",
70-
"standard-version": "^9.5.0",
7166
"ts-node": "^10.9.2",
7267
"tslib": "^2.8.1",
7368
"typescript": "^5.5.4",
@@ -91,10 +86,5 @@
9186
"repository": {
9287
"type": "git",
9388
"url": "https://github.com/modulify/validator.git"
94-
},
95-
"husky": {
96-
"hooks": {
97-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
98-
}
9989
}
10090
}

0 commit comments

Comments
 (0)