Skip to content

Commit 36f1848

Browse files
authored
Fix/husky/install (equinor#2041)
* fix(husky): pre-commit script * fix(husky): removing prepare script for husky * fix(husky): pre-commit empty file
1 parent 1ebca83 commit 36f1848

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

.husky/commit-msg

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx commitlint --edit $1
2+
npx commitlint --edit $1

.husky/pre-commit

-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"storybook:build": "pnpm run --dir ./storybook build",
3030
"lerna:update": "lernaupdate",
3131
"lerna:dedupe": "lernaupdate --dedupe",
32-
"prepare": "husky install",
3332
"changeset:version": "changeset version && pnpm install --lockfile-only",
3433
"changeset:publish": "pnpm changeset tag && pnpm publish -r"
3534
},

0 commit comments

Comments
 (0)