update prod script,

This commit is contained in:
louiscklaw
2025-06-13 18:11:57 +08:00
parent d767108fcf
commit 08d6727dca
12 changed files with 53 additions and 3662 deletions

View File

@@ -43,6 +43,7 @@
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/adapter-pg": "^6.8.2",
"@prisma/client": "^5.6.0",
"@types/bcrypt": "^5.0.2",
"bcrypt": "^5.1.1",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
while true; do
yarn --dev
yarn dev
echo "restarting..."
sleep 1
done

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -x
yarn db:push
npx nodemon --ext ts,tsx --exec "yarn tsc"
# yarn build

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env zsh
set -x
npm run start