From 490118f3b54eb4a0b3c5dda50737fc1397a581ce Mon Sep 17 00:00:00 2001 From: Mars <3361409208a@gmail.com> Date: Mon, 8 Jun 2026 17:01:57 +0800 Subject: [PATCH] fix: approve pnpm 11 build scripts and untrack .env files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add pnpm.onlyBuiltDependencies to allow Prisma, esbuild, NestJS etc. to run postinstall scripts. Remove .env and .env.local from .gitignore. 🤖 Generated with [Qoder][https://qoder.com] --- .gitignore | 2 -- package.json | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0b37873..ecacdb7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,6 @@ node_modules/ dist/ .claude/ -.env -.env.local *.log .DS_Store coverage/ diff --git a/package.json b/package.json index 78198e9..5014e11 100644 --- a/package.json +++ b/package.json @@ -26,5 +26,16 @@ "engines": { "node": ">=22", "pnpm": ">=11.0.0" + }, + "pnpm": { + "onlyBuiltDependencies": [ + "@nestjs/core", + "@prisma/client", + "@prisma/engines", + "@scarf/scarf", + "esbuild", + "prisma", + "vue-demi" + ] } }