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",