Skip to content

Commit 8606311

Browse files
committed
chore: add .node-version and remove husky
1 parent 11105d0 commit 8606311

File tree

6 files changed

+5
-38
lines changed

6 files changed

+5
-38
lines changed

.githooks/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
npm run pre-commit

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ jobs:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3636
CI: true
37-
HUSKY: 0

.husky/_/husky.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"format:check": "nx format:check",
2626
"pre-commit": "lint-staged",
2727
"semantic-release": "semantic-release",
28-
"prepare": "husky install"
28+
"prepare": "git config core.hookspath .githooks"
2929
},
3030
"dependencies": {
3131
"@angular/animations": "13.1.1",
@@ -77,7 +77,6 @@
7777
"eslint-plugin-jest": "~25.3.4",
7878
"eslint-plugin-jest-dom": "~4.0.1",
7979
"eslint-plugin-testing-library": "~5.0.1",
80-
"husky": "^7.0.0",
8180
"jasmine-core": "^3.10.1",
8281
"jasmine-spec-reporter": "^7.0.0",
8382
"jest": "27.4.7",

0 commit comments

Comments
 (0)