From 35be603db1b12c6353a426f8364a7541d7178e94 Mon Sep 17 00:00:00 2001 From: "Bitdori (Admin)" Date: Tue, 28 Jul 2026 17:10:56 +0900 Subject: [PATCH] chore: build script --- build.sh | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..7b520af --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +pnpm run check +pnpm run build +sudo systemctl restart bitdori-www diff --git a/package.json b/package.json index 2c57692..526cff6 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "pnpm i && pnpx next telemetry disable && pnpm i baseline-browser-mapping@latest -D && pnpx browserslist && git remote -v && git branch && node --version && pnpx npm-check-updates", "dev": "pnpm run check && next dev", "build": "next build", - "start": "pnpm run check && next build && next start --port 7007", + "start": "next start --port 7007", "lint": "eslint" }, "dependencies": {