From b75f3c3a47ee62e6806181ab6579bacdeec9703b Mon Sep 17 00:00:00 2001 From: Yufan Sheng Date: Thu, 18 Jul 2024 11:37:28 +0800 Subject: [PATCH] chore: fix the node version for better deploying in zeabur. --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 36e3541..7de6e05 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ "astro": "astro", "build": "rimraf dist && astro check && astro build", "dev": "astro dev", + "postinstall": "patch-package", "lint": "biome check --write --use-server . && prettier . --write", "prepare": "npx husky", - "postinstall": "patch-package", "preview": "astro preview", "start": "astro dev" }, @@ -79,5 +79,9 @@ "sharp": "^0.33.4", "typescript": "^5.5.3", "unist-util-select": "^5.1.0" + }, + "packageManager": "npm@10.8.2", + "engines": { + "node": "22.4.1" } }