From 79a439c6343469deb46505a3a216d45c2478b752 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 23 Nov 2025 03:39:23 -0800 Subject: [PATCH] fix: switch to Railpack with proper pnpm and yarn configuration --- nixpacks.toml | 11 ----------- railpack-plan.json | 7 +++++++ railway.toml | 7 ------- 3 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 nixpacks.toml create mode 100644 railpack-plan.json delete mode 100644 railway.toml diff --git a/nixpacks.toml b/nixpacks.toml deleted file mode 100644 index 6eb1348..0000000 --- a/nixpacks.toml +++ /dev/null @@ -1,11 +0,0 @@ -[phases.setup] -nixPkgs = ["nodejs_20", "yarn"] - -[phases.install] -cmds = ["pnpm i --frozen-lockfile"] - -[phases.build] -cmds = ["./scripts/railway-build.sh"] - -[start] -cmd = "pnpm run start" diff --git a/railpack-plan.json b/railpack-plan.json new file mode 100644 index 0000000..2a789a7 --- /dev/null +++ b/railpack-plan.json @@ -0,0 +1,7 @@ +{ + "packages": { + "node": "20", + "pnpm": "9", + "yarn": "1" + } +} diff --git a/railway.toml b/railway.toml deleted file mode 100644 index d009c1f..0000000 --- a/railway.toml +++ /dev/null @@ -1,7 +0,0 @@ -[build] -builder = "NIXPACKS" - -[deploy] -startCommand = "pnpm run start" -restartPolicyType = "ON_FAILURE" -restartPolicyMaxRetries = 10