chore: bun as primary JS runtime (Makefile, docs); e2e+coverage verified under bun
This commit is contained in:
@@ -9,7 +9,7 @@ help:
|
||||
@echo "verify vet + staticcheck + tests + web build"
|
||||
@echo "worker-image build lvmh-worker:latest (requires plugin/)"
|
||||
@echo "deploy rsync to alarm:$(REMOTE_DIR) and docker compose up -d"
|
||||
@echo "integration cross-component e2e harness (e2e/, requires go + node >= 22)"
|
||||
@echo "integration cross-component e2e harness (e2e/, requires go + bun)"
|
||||
|
||||
build: daemon web
|
||||
|
||||
@@ -17,7 +17,7 @@ daemon:
|
||||
cd daemon && go build ./...
|
||||
|
||||
web:
|
||||
cd web && npm install --no-fund --no-audit && npm run build
|
||||
cd web && bun install && bun run build
|
||||
|
||||
worker-image:
|
||||
docker build -f docker/worker.Dockerfile \
|
||||
@@ -29,8 +29,8 @@ verify: daemon
|
||||
cd daemon && go vet ./...
|
||||
cd daemon && staticcheck ./... || true
|
||||
cd daemon && go test ./... -count=1
|
||||
cd web && npm run build
|
||||
cd plugin && npx tsc --noEmit -p tsconfig.json
|
||||
cd web && bun run build
|
||||
cd plugin && bunx tsc --noEmit -p tsconfig.json
|
||||
|
||||
test:
|
||||
cd daemon && go test ./... -count=1
|
||||
@@ -42,7 +42,7 @@ e2e:
|
||||
bash deploy/e2e.sh
|
||||
|
||||
integration:
|
||||
node e2e/driver.mjs
|
||||
bun e2e/driver.mjs
|
||||
|
||||
e2e-integration: integration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user