aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-02-01 15:34:06 +0000
committerMohamed Bassem <me@mbassem.com>2025-02-01 15:34:06 +0000
commit76f4e352b601713ab109b25128e93bdb90200ac1 (patch)
treeee79f6b8b8d2883f4f866ec22a6f04791ecef38e
parent4862bbcefd23205aa1592ca53d09cee01b730a8b (diff)
downloadkarakeep-76f4e352b601713ab109b25128e93bdb90200ac1.tar.zst
build: Remove sherif from the prod installation path
-rw-r--r--.husky/pre-commit1
-rw-r--r--package.json3
-rw-r--r--pnpm-lock.yaml71
3 files changed, 73 insertions, 2 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 1c6782b0..5a448e3b 100644
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,3 +1,4 @@
pnpm typecheck
pnpm format --check
pnpm lint
+pnpm exec sherif
diff --git a/package.json b/package.json
index 66bfbaee..eb8fc9d7 100644
--- a/package.json
+++ b/package.json
@@ -17,8 +17,6 @@
"format:fix": "turbo --no-daemon format --continue -- --write --cache-location node_modules/.cache/.prettiercache",
"lint": "turbo --no-daemon lint --continue -- --cache-location node_modules/.cache/.eslintcache",
"lint:fix": "turbo --no-daemon lint --continue -- --fix --cache-location node_modules/.cache/.eslintcache",
- "lint:ws": "pnpm dlx sherif@latest",
- "postinstall": "pnpm lint:ws",
"typecheck": "turbo --no-daemon typecheck"
},
"devDependencies": {
@@ -30,6 +28,7 @@
"husky": "^9.0.11",
"install": "^0.13.0",
"prettier": "^3.4.2",
+ "sherif": "^1.2.0",
"turbo": "^2.1.2"
},
"prettier": "@hoarder/prettier-config",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 31fd40ef..f46ea254 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -37,6 +37,9 @@ importers:
prettier:
specifier: ^3.4.2
version: 3.4.2
+ sherif:
+ specifier: ^1.2.0
+ version: 1.2.0
turbo:
specifier: ^2.1.2
version: 2.1.2
@@ -12107,6 +12110,40 @@ packages:
engines: {node: '>=4'}
hasBin: true
+ sherif-darwin-arm64@1.2.0:
+ resolution: {integrity: sha512-v3EcA7qVYz+jQHbYrH1E8dYTXCm6/+UcwIa2dsGhSMxEZcLw/4nDJ3q5MtDBexcutVZNYzoDFurjGZ7AwB0fEQ==}
+ cpu: [arm64]
+ os: [darwin]
+
+ sherif-darwin-x64@1.2.0:
+ resolution: {integrity: sha512-Mj1qNSNS0+uV/X53uCgAb51+mm9652mT+E6ji3uc+Sc5DKotMVKq9MyL5S1ZaaXa7KGRFCyXDUhdJSJR3lJ9tg==}
+ cpu: [x64]
+ os: [darwin]
+
+ sherif-linux-arm64@1.2.0:
+ resolution: {integrity: sha512-aMn1ZVISZiDDiPSwRtwDmTd2uQ9OWNQvhikIqHluTUbhzaWtPtodV8ZhJrmRs+DHKnEDxV4XfXsOYvsCv2bQQw==}
+ cpu: [arm64]
+ os: [linux]
+
+ sherif-linux-x64@1.2.0:
+ resolution: {integrity: sha512-n3rIpf479PyR5tcSOJm9lfD5d+iQTKQYBddzjY1nOWrjvagSkH/1EKhNzponNZWGfqgKlzBhUOBhcGkVXwTTRA==}
+ cpu: [x64]
+ os: [linux]
+
+ sherif-windows-arm64@1.2.0:
+ resolution: {integrity: sha512-bsIFSu3JTaad15gte/BsqMSunivdTXSXgDqSYtTXdEWK90+UrogVLK5D/Iy/CV7v0mgCWfXzs2wxg5jIhbC08Q==}
+ cpu: [arm64]
+ os: [win32]
+
+ sherif-windows-x64@1.2.0:
+ resolution: {integrity: sha512-Pqg1H1XYVHovirtfnC3YY53PhWF1KOMLcSc1k3+qRUzfYXRE66BpuSHLwNPAHqGvw6b8gDsJD4ZMTZvzs6hspw==}
+ cpu: [x64]
+ os: [win32]
+
+ sherif@1.2.0:
+ resolution: {integrity: sha512-lWdfPk9hqTSz78en8XrTnClYO/uP3LTAbxrrjxoIvi0ll4ts1WjXV6SRvBKXBXpcklGxETzQxqLZKqeqq0u+dQ==}
+ hasBin: true
+
side-channel@1.0.6:
resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==}
engines: {node: '>= 0.4'}
@@ -29103,6 +29140,40 @@ snapshots:
rechoir: 0.6.2
dev: false
+ sherif-darwin-arm64@1.2.0:
+ dev: true
+ optional: true
+
+ sherif-darwin-x64@1.2.0:
+ dev: true
+ optional: true
+
+ sherif-linux-arm64@1.2.0:
+ dev: true
+ optional: true
+
+ sherif-linux-x64@1.2.0:
+ dev: true
+ optional: true
+
+ sherif-windows-arm64@1.2.0:
+ dev: true
+ optional: true
+
+ sherif-windows-x64@1.2.0:
+ dev: true
+ optional: true
+
+ sherif@1.2.0:
+ optionalDependencies:
+ sherif-darwin-arm64: 1.2.0
+ sherif-darwin-x64: 1.2.0
+ sherif-linux-arm64: 1.2.0
+ sherif-linux-x64: 1.2.0
+ sherif-windows-arm64: 1.2.0
+ sherif-windows-x64: 1.2.0
+ dev: true
+
side-channel@1.0.6:
dependencies:
call-bind: 1.0.7