Skip to content

Commit 76f4e35

Browse files
committed
build: Remove sherif from the prod installation path
1 parent 4862bbc commit 76f4e35

File tree

3 files changed

+73
-2
lines changed

3 files changed

+73
-2
lines changed

.husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pnpm typecheck
22
pnpm format --check
33
pnpm lint
4+
pnpm exec sherif

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"format:fix": "turbo --no-daemon format --continue -- --write --cache-location node_modules/.cache/.prettiercache",
1818
"lint": "turbo --no-daemon lint --continue -- --cache-location node_modules/.cache/.eslintcache",
1919
"lint:fix": "turbo --no-daemon lint --continue -- --fix --cache-location node_modules/.cache/.eslintcache",
20-
"lint:ws": "pnpm dlx sherif@latest",
21-
"postinstall": "pnpm lint:ws",
2220
"typecheck": "turbo --no-daemon typecheck"
2321
},
2422
"devDependencies": {
@@ -30,6 +28,7 @@
3028
"husky": "^9.0.11",
3129
"install": "^0.13.0",
3230
"prettier": "^3.4.2",
31+
"sherif": "^1.2.0",
3332
"turbo": "^2.1.2"
3433
},
3534
"prettier": "@hoarder/prettier-config",

pnpm-lock.yaml

+71
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)