Skip to content

Commit 0d373e1

Browse files
committed
ci: Removed husky
1 parent 6d44295 commit 0d373e1

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

Taskfile

+1-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build() {
1212
rm -rfv dist
1313
mkdir dist
1414
cp -rfv src/*.ts dist
15-
cat tsconfig.json | jq 'del(.include, .compilerOptions.outDir)' > dist/tsconfig.json
15+
cat tsconfig.json | jq 'del(.include, .compilerOptions.outDir)' >dist/tsconfig.json
1616
cp -fv README.md LICENSE package.json dist
1717
cd dist
1818
/usr/bin/find . -name '*.spec.ts' | xargs rm -rvf
@@ -22,14 +22,6 @@ build() {
2222
set +x
2323
}
2424

25-
commit_msg() {
26-
if git-branch-is -q -r "^(master)"; then
27-
commitlint -E HUSKY_GIT_PARAMS
28-
else
29-
true
30-
fi
31-
}
32-
3325
commit_lint() {
3426
set -x
3527
from=$(git_last_release_tag)

package.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@
4141
"url": "https://github.com/unlight/tailwind-float-label/issues"
4242
},
4343
"homepage": "https://github.com/unlight/tailwind-float-label#readme",
44-
"husky": {
45-
"hooks": {
46-
"pre-commit": "precise-commits",
47-
"pre-push": "npm run test",
48-
"commit-msg": "sh Taskfile commit_msg"
49-
}
50-
},
5144
"devDependencies": {
5245
"@commitlint/cli": "^11.0.0",
5346
"@commitlint/config-conventional": "^11.0.0",
@@ -77,7 +70,6 @@
7770
"eslint-plugin-unicorn": "^22.0.0",
7871
"eslint-plugin-wix-editor": "^3.2.0",
7972
"git-branch-is": "^4.0.0",
80-
"husky": "^4.3.0",
8173
"lite-server": "^2.5.4",
8274
"mocha": "^8.1.3",
8375
"npm-run-all": "^4.1.5",
@@ -89,6 +81,7 @@
8981
"simplytyped": "^3.3.0",
9082
"tailwindcss": "^1.8.13",
9183
"ts-node": "^9.0.0",
84+
"tslib": "^2.2.0",
9285
"typescript": "^4.0.3",
9386
"watchexec-bin": "^1.0.0"
9487
}

0 commit comments

Comments
 (0)