2026-04-05 21:09:33 -05:00
|
|
|
{
|
|
|
|
|
"name": "@trustgraph/base",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"main": "dist/index.js",
|
|
|
|
|
"types": "dist/index.d.ts",
|
2026-05-12 08:06:58 -05:00
|
|
|
"exports": {
|
|
|
|
|
".": "./src/index.ts",
|
|
|
|
|
"./backend": "./src/backend/index.ts",
|
|
|
|
|
"./messaging": "./src/messaging/index.ts",
|
|
|
|
|
"./processor": "./src/processor/index.ts",
|
|
|
|
|
"./runtime": "./src/runtime/index.ts",
|
|
|
|
|
"./schema": "./src/schema/index.ts",
|
|
|
|
|
"./package.json": "./package.json"
|
|
|
|
|
},
|
2026-04-05 21:09:33 -05:00
|
|
|
"scripts": {
|
2026-05-12 08:06:58 -05:00
|
|
|
"build": "bunx --bun tsc",
|
2026-04-05 21:09:33 -05:00
|
|
|
"dev": "tsc --watch",
|
|
|
|
|
"clean": "rm -rf dist",
|
feat(ts): add real quality gates — Biome lint + effect-law ratchet + class inventory
- biome.json (2.4.16, linter-only) wired as "lint" in all six packages
- scripts/check-effect-laws.ts: Effect-native law enforcement encoding the
adapted beep-effect effect-first/schema-first laws (no native JSON/switch/
sort/fetch/timers, no process.env, no throw new, no Effect.run* outside
boundaries, no Schema-suffixed constants, no node:fs/path, AST-based
pure-data interface detection per law 38/39)
- ratcheting baseline allowlist (95 entries / 290 findings) that must shrink
to documented exemptions only; stale counts fail the gate
- root lint chains turbo lint + law check + native-class inventory
- fix all 163 initial Biome findings: import-type style, templates, two `any`s,
ten non-null assertions (librarian getService gate, A.matchRight in atoms,
ensureNode returning nodes, main.tsx mount guard)
Gates: lint, check:tsgo, build, test (force, 11 tasks) all green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 06:40:01 -05:00
|
|
|
"test": "bunx --bun vitest run",
|
|
|
|
|
"lint": "bunx --bun biome check src"
|
2026-04-05 21:09:33 -05:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2026-06-06 10:33:10 -05:00
|
|
|
"effect": "4.0.0-beta.78",
|
2026-06-02 08:52:29 -05:00
|
|
|
"nats": "^2.29.0"
|
2026-04-05 21:09:33 -05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-06-06 10:33:10 -05:00
|
|
|
"@effect/vitest": "4.0.0-beta.78",
|
2026-04-05 22:44:45 -05:00
|
|
|
"@types/node": "^22.0.0",
|
2026-04-05 21:09:33 -05:00
|
|
|
"typescript": "^5.8.0",
|
2026-05-12 08:06:58 -05:00
|
|
|
"vitest": "^4.1.6"
|
2026-04-05 21:09:33 -05:00
|
|
|
}
|
|
|
|
|
}
|