Skip to content

Commit

Permalink
chore: Add type check npm script for server and Add concurrently
Browse files Browse the repository at this point in the history
Added concurrently for running client and server simultaneously from root folder
  • Loading branch information
builtbysuraj committed Feb 13, 2024
1 parent 3fbf9bb commit bd3b810
Show file tree
Hide file tree
Showing 4 changed files with 426 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules
dist
13 changes: 11 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ echo '
'

# Check tsconfig standards
npm run check-types ||
npm run check-types-client ||
(
echo '
TypeScript Check Failed. ❌
Make the required changes listed above, add changes and try to commit again.
'
false;
)

npm run check-types-server ||
(
echo '
TypeScript Check Failed. ❌
Expand All @@ -17,7 +26,7 @@ npm run check-types ||


# Check ESLint Standards
npm run check-lint ||
npm run check-lint-client ||
(
echo '
ESLint Check Failed. ❌
Expand Down
Loading

0 comments on commit bd3b810

Please sign in to comment.