Merge pull request #519 from thecodacus/package-lock-removed
Browse files- .husky/pre-commit +3 -0
- package-lock.json +0 -0
.husky/pre-commit
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
|
3 |
echo "π Running pre-commit hook to check the code looks good... π"
|
4 |
|
|
|
|
|
|
|
5 |
if ! pnpm typecheck; then
|
6 |
echo "β Type checking failed! Please review TypeScript types."
|
7 |
echo "Once you're done, don't forget to add your changes to the commit! π"
|
|
|
2 |
|
3 |
echo "π Running pre-commit hook to check the code looks good... π"
|
4 |
|
5 |
+
export NVM_DIR="$HOME/.nvm"
|
6 |
+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # Load nvm if you're using i
|
7 |
+
|
8 |
if ! pnpm typecheck; then
|
9 |
echo "β Type checking failed! Please review TypeScript types."
|
10 |
echo "Once you're done, don't forget to add your changes to the commit! π"
|
package-lock.json
DELETED
The diff for this file is too large to render.
See raw diff
|
|