Skip to content

Commit

Permalink
chore: don't clear ts output in watch move and use pnpm instead of …
Browse files Browse the repository at this point in the history
…`pnpmx` for pre-commit hook
  • Loading branch information
nerdyman committed Aug 28, 2023
1 parent 906f534 commit c69e950
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpx lint-staged
pnpm lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"scripts": {
"bootstrap": "corepack disable && corepack enable && pnpm install --frozen-lockfile",
"clean": "rm -rvf ./node_modules ./docs/*/node_modules",
"dev": "tsup --watch",
"dev": "concurrently -k -s first -n \"tsup,ts\" -c \"blue,cyan\" \"tsup --watch\" \"pnpm run check:types --watch --preserveWatchOutput\"",
"dx": "npm run bootstrap",
"start": "concurrently -k -s first -n \"tsup,ts\" -c \"blue,cyan\" \"pnpm run dev\" \"pnpm run check:types --watch\"",
"start": "pnpm run dev",
"build": "pnpm run check:types && NODE_ENV=production tsup",
"release": "pnpm run build && np --no-2fa",
"test": "rm -rf coverage && concurrently -n \"ssr,sb\" -c \"magenta,blue\" \"pnpm run test:ssr\" \"pnpm run test:storybook\"",
Expand Down

0 comments on commit c69e950

Please sign in to comment.