Install dependencies before launching app
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-23 15:20:52 +02:00
parent 4a8e3d02e0
commit fd7a8024a9
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start:withInstall": "pnpm install && pnpm run start",
"start": "run-script-os",
"start:win32": "ng serve --port %PORT% --configuration development",
"start:default": "ng serve --port $PORT --configuration development",

View File

@@ -13,7 +13,7 @@ IResourceBuilder<ProjectResource> api = builder
.WaitFor(postgres);
builder
.AddNpmApp("Vegasco-Web", "../Vegasco-Web")
.AddNpmApp("Vegasco-Web", "../Vegasco-Web", scriptName: "start:withInstall")
.WithReference(api)
.WaitFor(api)
.WithHttpEndpoint(port: 44200, env: "PORT", isProxied: false)