From 2bbb38442b0a1eafd37f04d4ec35cd3960259bd1 Mon Sep 17 00:00:00 2001 From: Tommaso Morganti Date: Tue, 17 Mar 2026 22:02:51 +0100 Subject: [PATCH] chore: only allow pnpm --- .gitignore | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index c24a835..72986d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,9 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. +# other lockfiles +package-lock.json +yarn.lock + # dependencies /node_modules /.pnp diff --git a/package.json b/package.json index a42c193..335d57d 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "private": true, "type": "module", "scripts": { + "preinstall": "npx -y only-allow pnpm", "build": "next build", "dev": "PORT=3002 next dev --turbo", "preview": "next build && next start",