From e73a87769d235f9c61e5f69d9e0ec73bb4f3eaad Mon Sep 17 00:00:00 2001 From: rajdip-b Date: Fri, 29 Dec 2023 19:07:33 +0530 Subject: [PATCH] fix: update pnpm scripts --- apps/web/project.json | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/project.json b/apps/web/project.json index 3bf07d7e..1319f712 100644 --- a/apps/web/project.json +++ b/apps/web/project.json @@ -14,7 +14,7 @@ }, "serve": { "executor": "@nx/next:server", - "defaultConfiguration": "production", + "defaultConfiguration": "development", "options": { "buildTarget": "web:build", "dev": true, diff --git a/package.json b/package.json index cb00167d..25dbb348 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "prettier:fix": "nx run-many -t prettier:lint --parallel", "prettier:fix:api": "nx run api:prettier:fix", "build": "nx run-many -t build -p api web workspace --parallel --maxParallel 3", - "build:api": "nx run api:build", - "build:web": "nx run web:build", + "build:api": "nx run api:build --configuration=production", + "build:web": "nx run web:build --configuration=production", "build:workspace": "nx run workspace:build", "build:cli": "nx run cli:build", "build:sdk-node": "nx run sdk-js:build", @@ -28,7 +28,7 @@ "test:workspace": "nx run workspace:test", "test:cli": "nx run cli:test", "test:sdk-node": "nx run sdk-js:test", - "start:web": "nx run web:serve", + "start:web": "nx run web:serve --configuration=production", "db:seed": "cd apps/api/src/prisma && pnpx ts-node seed.ts", "db:generate-types": "nx run api:prisma:generate", "db:generate-migrations": "cd apps/api/src/prisma && pnpx prisma migrate dev --create-only --skip-seed",