mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Add nixpacks configuration for PNPM setup and build process
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
[variables]
|
||||||
|
NODE_VERSION = "22.17.0"
|
||||||
|
PNPM_VERSION = "10.13.1"
|
||||||
|
|
||||||
|
[providers.node]
|
||||||
|
version = "22.17.0"
|
||||||
|
|
||||||
|
[phases.setup]
|
||||||
|
cmds = ["npm install -g pnpm@10.13.1"]
|
||||||
|
|
||||||
|
[phases.install]
|
||||||
|
cmds = ["pnpm install --frozen-lockfile"]
|
||||||
|
|
||||||
|
[phases.build]
|
||||||
|
# Build command using PNPM
|
||||||
|
cmds = ["pnpm run build"]
|
||||||
|
|
||||||
|
[start]
|
||||||
|
# Start command using PNPM
|
||||||
|
cmd = "node build"
|
||||||
Reference in New Issue
Block a user