Merge pull request #5767 from mermaid-js/sidv/huskyUpdate

chore: Fix husky deprecation notice
This commit is contained in:
Sidharth Vinod
2024-08-25 04:08:48 +00:00
committed by GitHub
2 changed files with 2 additions and 4 deletions

View File

@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
NODE_OPTIONS="--max_old_space_size=8192" pnpm run pre-commit

View File

@@ -42,7 +42,7 @@
"test": "pnpm lint && vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"prepare": "husky install && pnpm build",
"prepare": "husky && pnpm build",
"pre-commit": "lint-staged"
},
"repository": {