Skip to content

Commit 1459689

Browse files
author
Marvin Zhang
committed
refactor: simplify build commands in package.json and instructions for consistency
1 parent 0d6f27a commit 1459689

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/instructions/all.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pnpm --filter @codervisor/devlog-web build
276276
docker compose -f docker-compose.dev.yml up web-dev -d --wait
277277

278278
# Test build without breaking dev server
279-
pnpm build:test # Uses .next-build/ instead of .next/
279+
pnpm build
280280

281281
# Run tests with proper isolation
282282
pnpm test

GEMINI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ pnpm --filter @codervisor/devlog-web build
300300
docker compose -f docker-compose.dev.yml up web-dev -d --wait
301301

302302
# Test build without breaking dev server
303-
pnpm build:test # Uses .next-build/ instead of .next/
303+
pnpm build
304304
```
305305

306306
### Testing Workflow

packages/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"scripts": {
66
"dev": "next dev --port 3000",
77
"dev:full": "concurrently --names \"CORE,WEB\" --prefix-colors \"green,blue\" \"pnpm --filter @codervisor/devlog-core dev\" \"pnpm dev\"",
8-
"build": "NEXT_BUILD_MODE=standalone next build",
9-
"build:test": "NEXT_BUILD_MODE=standalone next build --no-lint",
8+
"build": "next build",
9+
"build:vercel": "cd ../.. && pnpm --filter @codervisor/devlog-core build && cd web && next build",
1010
"start": "pnpm run build && next start --port 3010",
1111
"preview": "next start --port 3010",
1212
"clean": "rimraf .next .next-build out *.tsbuildinfo",

0 commit comments

Comments
 (0)