Skip to content

Commit 02779d3

Browse files
committed
Update built.sbt to use pnpm
1 parent 39133b7 commit 02779d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,14 @@ lazy val frontend = (project in file("frontend"))
240240
buildFrontend := {
241241
println("Installing frontend dependencies...")
242242
import scala.sys.process._
243-
val npmCiResult = Process("npm ci", file("frontend")).!
243+
val pnpmCiResult = Process("pnpm install --frozen-lockfile", file("frontend")).!
244244

245-
if (npmCiResult != 0) {
246-
sys.error("npm ci failed!")
245+
if (pnpmCiResult != 0) {
246+
sys.error("pnpm install failed!")
247247
}
248248

249249
println("Building frontend...")
250-
val buildResult = Process("npm run build", file("frontend")).!
250+
val buildResult = Process("pnpm run build", file("frontend")).!
251251

252252
if (buildResult == 0) {
253253
println("Copying frontend assets to /hub/public...")

docker-init/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ docker compose -f docker-init/compose.yaml up
3333

3434
The **backend** is served at: http://localhost:9000
3535

36-
The **frontend** is served at: http://localhost:3000. This serves statically built code - no live dev server. `cd frontend; npm run dev` for a live dev server.
36+
The **frontend** is served at: http://localhost:3000. This serves statically built code - no live dev server. `cd frontend; pnpm run dev` for a live dev server.
3737

3838
You can also access the parquet anomaly data table. To do so, from another terminal run:
3939

0 commit comments

Comments
 (0)