From 13cd3e0682159e2791d4868254d209a1f9f4a101 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 2 Jan 2026 21:58:38 +0000 Subject: [PATCH] tpl: add arg for netlify's implicit npm install --- templates/academic-cv/netlify.toml | 2 ++ templates/blog/netlify.toml | 2 ++ templates/documentation/netlify.toml | 2 ++ templates/landing-page/netlify.toml | 2 ++ templates/link-in-bio/netlify.toml | 2 ++ templates/resume/netlify.toml | 2 ++ 6 files changed, 12 insertions(+) diff --git a/templates/academic-cv/netlify.toml b/templates/academic-cv/netlify.toml index 7a53f1c0..1d11f881 100644 --- a/templates/academic-cv/netlify.toml +++ b/templates/academic-cv/netlify.toml @@ -24,6 +24,8 @@ HUGO_VERSION = "0.154.2" GO_VERSION = "1.21.5" NODE_VERSION = "22" + # Netlify runs an implicit install step; ensure it never enforces frozen lockfiles + PNPM_FLAGS = "--no-frozen-lockfile" HUGO_ENABLEGITINFO = "true" HUGO_LOG_I18N_WARNINGS = "true" HUGO_LOG_WARNINGS = "true" diff --git a/templates/blog/netlify.toml b/templates/blog/netlify.toml index 7a53f1c0..d74baa66 100644 --- a/templates/blog/netlify.toml +++ b/templates/blog/netlify.toml @@ -24,6 +24,8 @@ HUGO_VERSION = "0.154.2" GO_VERSION = "1.21.5" NODE_VERSION = "22" + # Ensure Netlify's implicit install does not force a frozen lockfile + PNPM_FLAGS = "--no-frozen-lockfile" HUGO_ENABLEGITINFO = "true" HUGO_LOG_I18N_WARNINGS = "true" HUGO_LOG_WARNINGS = "true" diff --git a/templates/documentation/netlify.toml b/templates/documentation/netlify.toml index 7a53f1c0..c3dc06d5 100644 --- a/templates/documentation/netlify.toml +++ b/templates/documentation/netlify.toml @@ -24,6 +24,8 @@ HUGO_VERSION = "0.154.2" GO_VERSION = "1.21.5" NODE_VERSION = "22" + # Ensure Netlify's implicit install does not enforce frozen lockfiles + PNPM_FLAGS = "--no-frozen-lockfile" HUGO_ENABLEGITINFO = "true" HUGO_LOG_I18N_WARNINGS = "true" HUGO_LOG_WARNINGS = "true" diff --git a/templates/landing-page/netlify.toml b/templates/landing-page/netlify.toml index 7a53f1c0..22ca5dd6 100644 --- a/templates/landing-page/netlify.toml +++ b/templates/landing-page/netlify.toml @@ -24,6 +24,8 @@ HUGO_VERSION = "0.154.2" GO_VERSION = "1.21.5" NODE_VERSION = "22" + # Ensure Netlify's implicit install step does not enforce frozen lockfiles + PNPM_FLAGS = "--no-frozen-lockfile" HUGO_ENABLEGITINFO = "true" HUGO_LOG_I18N_WARNINGS = "true" HUGO_LOG_WARNINGS = "true" diff --git a/templates/link-in-bio/netlify.toml b/templates/link-in-bio/netlify.toml index 7a53f1c0..bbd4285c 100644 --- a/templates/link-in-bio/netlify.toml +++ b/templates/link-in-bio/netlify.toml @@ -24,6 +24,8 @@ HUGO_VERSION = "0.154.2" GO_VERSION = "1.21.5" NODE_VERSION = "22" + # Ensure Netlify's implicit install step never enforces frozen lockfiles + PNPM_FLAGS = "--no-frozen-lockfile" HUGO_ENABLEGITINFO = "true" HUGO_LOG_I18N_WARNINGS = "true" HUGO_LOG_WARNINGS = "true" diff --git a/templates/resume/netlify.toml b/templates/resume/netlify.toml index 7a53f1c0..22ca5dd6 100644 --- a/templates/resume/netlify.toml +++ b/templates/resume/netlify.toml @@ -24,6 +24,8 @@ HUGO_VERSION = "0.154.2" GO_VERSION = "1.21.5" NODE_VERSION = "22" + # Ensure Netlify's implicit install step does not enforce frozen lockfiles + PNPM_FLAGS = "--no-frozen-lockfile" HUGO_ENABLEGITINFO = "true" HUGO_LOG_I18N_WARNINGS = "true" HUGO_LOG_WARNINGS = "true"