From 2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 14 Feb 2026 21:02:15 +0900 Subject: build: introduce npm workspaces for unified dependency management Consolidate frontend, typespec, and worker/php into a single npm workspaces setup with one root lockfile. Update Dockerfiles to use repository root as build context, and adjust justfile, CI workflow, and compose files accordingly. Co-Authored-By: Claude Opus 4.6 --- justfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 4c621f6..73f0219 100644 --- a/justfile +++ b/justfile @@ -4,12 +4,11 @@ default: down build up build: {{ docker_compose }} build - cd typespec; npm install - cd frontend; npm install + npm install up: {{ docker_compose }} up -d - cd frontend; npm run dev + npm -w frontend run dev down: {{ docker_compose }} down --remove-orphans @@ -49,11 +48,11 @@ initdb: just psql-query < ./backend/fixtures/dev.sql gen: - cd typespec; npm run build + npm -w typespec run build cd backend; just gen - cd frontend; npm run openapi-typescript + npm -w frontend run openapi-typescript check: cd backend; just check cd worker/swift; just check - cd frontend; npm run check + npm -w frontend run check -- cgit v1.3.1