The Rust workspace and python/lawsynth were covered by CI, but the entire pnpm TypeScript workspace — world-schema, api-client, chart-core, design-system, layout-engine, state-store, world-viewer, and apps studio/playground/docs-site (including all the SDK parsers, Studio analysis module, docs-site, and playground wasm loader added this cycle) — had NO CI coverage. - .github/workflows/pr.yml: new `typescript` job — pnpm/action-setup + setup-node 22 (pnpm cache), `pnpm install --frozen-lockfile`, then `pnpm run build` / `pnpm run typecheck` / `pnpm run test` (the root recursive scripts). Verified locally: build + typecheck + test are green across all 10 packages/apps (api-client 30, docs-site 11, playground 12, chart-core/ state-store/design-system 10 each, others Done; 0 failures). - justfile + Makefile: new `ts` target (install/build/typecheck/test) folded into `verify`, so `just verify` / `make verify` now match CI (Rust + Python + TypeScript) instead of skipping the web workspace.
29 lines
555 B
Makefile
29 lines
555 B
Makefile
set shell := ["sh", "-eu", "-c"]
|
|
|
|
default:
|
|
@just --list
|
|
|
|
fmt:
|
|
cargo fmt --all
|
|
|
|
check:
|
|
cargo check --workspace --all-targets
|
|
|
|
test:
|
|
cargo test --workspace
|
|
|
|
lint:
|
|
cargo clippy --workspace --all-targets -- -D warnings
|
|
|
|
python-test:
|
|
PYTHONPATH=python/lawsynth/src python3 -m pytest -q python/lawsynth/tests
|
|
|
|
# Build, typecheck, and test the whole pnpm TypeScript workspace (packages + apps).
|
|
ts:
|
|
pnpm install --frozen-lockfile
|
|
pnpm run build
|
|
pnpm run typecheck
|
|
pnpm run test
|
|
|
|
verify: fmt check test lint python-test ts
|