chore: increase NODE_OPTIONS memory limit for build scripts

This commit is contained in:
Bereket Engida
2025-02-15 13:28:41 +03:00
parent 8c2327cc02
commit 9f722a9a41
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
"version": "0.0.2-beta.8",
"packageManager": "pnpm@9.15.0",
"scripts": {
"build": "turbo --filter \"./packages/*\" build",
"build": "NODE_OPTIONS=--max-old-space-size=16000 turbo --filter \"./packages/*\" build",
"dev": "turbo --filter \"./packages/*\" dev",
"dev:dts": "turbo --filter \"./packages/*\" dev:dts",
"clean": "turbo --filter \"./packages/*\" clean && rm -rf node_modules",

View File

@@ -9,7 +9,7 @@
"directory": "packages/better-auth"
},
"scripts": {
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8000 tsup --clean --dts",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=16000 tsup --clean --dts",
"dev": "cross-env NODE_OPTIONS='--max-old-space-size=4000' tsup --watch --sourcemap",
"dev:dts": "cross-env NODE_OPTIONS='--max-old-space-size=16192' tsup --watch --dts",
"test": "pnpm prisma:push && vitest",