fix: use bun run build to resolve ng via package scripts
continuous-integration/drone/push Build is failing

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Rafał Miczek
2026-02-13 20:36:30 +01:00
co-authored by Cursor
parent 78e2caf16f
commit 0ea7dc77de
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
"watch": "ng build --watch --configuration development", "watch": "ng build --watch --configuration development",
"test": "jest", "test": "jest",
"serve:ssr": "node scripts/serve-ssr.js", "serve:ssr": "node scripts/serve-ssr.js",
"build:ssr": "bun run build:prod && bunx ng run goals-tracker:server:production", "server:build": "ng run goals-tracker:server:production",
"build:ssr": "bun run build:prod && bun run server:build",
"prerender": "ng run goals-tracker:prerender" "prerender": "ng run goals-tracker:prerender"
}, },
"private": true, "private": true,
+1 -1
View File
@@ -5,4 +5,4 @@
*/ */
require('dotenv').config(); require('dotenv').config();
const { execSync } = require('child_process'); const { execSync } = require('child_process');
execSync('bunx ng build', { stdio: 'inherit' }); execSync('bun run build', { stdio: 'inherit', cwd: process.cwd(), shell: true });