chore: cross env build script update (#260)

This commit is contained in:
Elton Costa
2024-10-22 11:58:45 +05:30
committed by GitHub
parent 716d6de090
commit 18d05cbaf3
3 changed files with 19 additions and 5 deletions

View File

@@ -20,13 +20,14 @@
},
"dependencies": {
"@biomejs/biome": "1.7.3",
"@types/node": "^20.12.12",
"bumpp": "^9.4.1",
"dotenv-cli": "^7.4.2",
"@types/node": "^20.12.12",
"simple-git-hooks": "^2.11.1",
"tinyglobby": "^0.2.9",
"turbo": "^2.0.4",
"typescript": "5.6.1-rc",
"tinyglobby": "^0.2.9"
"cross-env": "^7.0.3"
},
"pnpm": {
"overrides": {

View File

@@ -9,9 +9,9 @@
"directory": "packages/better-auth"
},
"scripts": {
"build": "NODE_OPTIONS='--max-old-space-size=4000' tsup --clean --dts",
"dev": "NODE_OPTIONS='--max-old-space-size=4000' tsup --watch --sourcemap",
"dev:dts": "NODE_OPTIONS='--max-old-space-size=8192' tsup --watch --dts",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=4000 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=8192' tsup --watch --dts",
"test": "pnpm prisma:push && vitest",
"prisma:push": "prisma db push --schema src/adapters/prisma-adapter/test/schema.prisma",
"test:adapters": "pnpm prisma:push && vitest adapters",

13
pnpm-lock.yaml generated
View File

@@ -38,6 +38,10 @@ importers:
typescript:
specifier: 5.6.1-rc
version: 5.6.1-rc
devDependencies:
cross-env:
specifier: ^7.0.3
version: 7.0.3
demo/nextjs:
dependencies:
@@ -7516,6 +7520,11 @@ packages:
resolution: {integrity: sha512-ULYhWIonJzlScCCQrPUG5uMXzXxSixty4djud9SS37DoNxDdkeRocxzHuAo4ImRBUK+mAuU5X9TSwEDccnnuPg==}
hasBin: true
cross-env@7.0.3:
resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==}
engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'}
hasBin: true
cross-fetch@4.0.0:
resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==}
@@ -22592,6 +22601,10 @@ snapshots:
cronstrue@2.50.0: {}
cross-env@7.0.3:
dependencies:
cross-spawn: 7.0.3
cross-fetch@4.0.0(encoding@0.1.13):
dependencies:
node-fetch: 2.7.0(encoding@0.1.13)