From f74af780b61987c2bc05430246f83af0577a40fa Mon Sep 17 00:00:00 2001 From: Sil Date: Wed, 30 Sep 2026 21:05:58 +0200 Subject: [PATCH] Use the standard repository setup - packageManager pnpm@11.22.0 -> pnpm@11.28.0 - add format script - netlify.toml standard [build] and [build.environment] Co-Authored-By: Claude Opus 5.5 (1M context) --- netlify.toml | 11 ++++++++--- package.json | 5 +++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/netlify.toml b/netlify.toml index 7104a98..10d99e3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,9 @@ -[build.environment] - pnpm_config_ignore_scripts = "true" - +[build] +command = "pnpm run build" +publish = "dist" +[build.environment] +NODE_VERSION = "24" +PNPM_FLAGS = "--frozen-lockfile --ignore-scripts --ignore-pnpmfile" +pnpm_config_ignore_scripts = "true" +pnpm_config_ignore_pnpmfile = "true" diff --git a/package.json b/package.json index 87e80f5..4a5cf47 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "dev": "astro dev", "build": "astro build", "check": "prettier --check . && astro check", - "preview": "astro preview" + "preview": "astro preview", + "format": "prettier --write ." }, "dependencies": { "@astrojs/react": "^4.4.2", @@ -35,5 +36,5 @@ "prettier-plugin-tailwindcss": "^0.7.4", "tw-animate-css": "^1.4.0" }, - "packageManager": "pnpm@11.22.0" + "packageManager": "pnpm@11.28.0" }