Files
IUMBTEMS/package.json
T
John SmithandClaude Opus 5.5 8d6dce56d3 fix(tooling): scope test, lint and typecheck to packages/ (Refs #159)
`bun run check` could not pass in a checkout that holds the gitignored
review/ reference repos. `biome check .` stopped on their nested root
configs, and the bare `packages/web` test filter also matched
review/*/packages/web, so third-party suites ran and the workspace suite
never started. CI and ticket worktrees have no review/, which hid it.

- package.json: the test script passes ./packages/<dir> paths, not filters.
- bunfig.toml: test discovery starts at packages/.
- biome.json: force-ignore review, evals/results and nested checkout roots.
- tsconfig.base.json: exclude review and evals/results.
- core/test/clean-room.test.ts: runs the real root config against a tree
  with planted intruders, one test per layer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 15:18:24 -04:00

33 lines
1.1 KiB
JSON

{
"name": "epistemic-swarm-monorepo",
"private": true,
"type": "module",
"license": "Apache-2.0",
"workspaces": [
"packages/*"
],
"scripts": {
"test": "bun --conditions=browser test $(bun scripts/packages.ts --browser | sed 's|^|./packages/|') && bun test $(bun scripts/packages.ts --no-browser | sed 's|^|./packages/|')",
"typecheck": "for p in $(bun scripts/packages.ts --tsconfig); do tsc -p packages/$p/tsconfig.json --noEmit --composite false || exit 1; done",
"lint": "biome check .",
"deps:check": "bun scripts/deps.ts",
"evals": "bun scripts/evals.ts",
"evals:report": "bun scripts/e2e-report.ts",
"format": "biome format --write .",
"check": "bun run lint && bun run deps:check && bun run typecheck && bun run test",
"docs:gen": "bun scripts/docs.ts",
"docs:check": "bun scripts/docs.ts --check"
},
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@types/bun": "1.4.2",
"@types/node": "26.6.4",
"typescript": "7.0.2",
"zod": "4.6.5"
},
"engines": {
"node": ">=22",
"bun": ">=1.4"
}
}