aboutsummaryrefslogtreecommitdiffhomepage
path: root/justfile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-14 21:02:15 +0900
committernsfisis <nsfisis@gmail.com>2026-02-14 21:02:15 +0900
commit2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a (patch)
tree4ef25f1332de445ad756f7f40df627f288f1438f /justfile
parent516cc00ba4c9d4a54ad2b261a5a4ff4164b06268 (diff)
downloadphperkaigi-2026-albatross-2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a.tar.gz
phperkaigi-2026-albatross-2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a.tar.zst
phperkaigi-2026-albatross-2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'justfile')
-rw-r--r--justfile11
1 files changed, 5 insertions, 6 deletions
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