From ac27878c945d7eb7ef276e193d0e15b9d1b9aece Mon Sep 17 00:00:00 2001 From: Ant Somers Date: Mon, 11 May 2026 18:07:13 +0300 Subject: [PATCH] chore: pin Node 24 via .nvmrc and enforce engines via .npmrc Adds two top-level config files split out of #51: - .nvmrc -> 24, matches the version CI runs in .github/workflows/website.yml and docs.yml. Picked up automatically by nvm/fnm/Volta so local Node tracks CI. - .npmrc -> engine-strict=true, makes pnpm install hard-fail on engines.node mismatch instead of just warning. Turns the >=20.9.0 floor declared in package.json (from #51) into an enforced contract. Closes #52. --- .npmrc | 1 + .nvmrc | 1 + 2 files changed, 2 insertions(+) create mode 100644 .npmrc create mode 100644 .nvmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..a45fd52 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24