mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 17:39:39 +02:00
- 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>
71 lines
2.8 KiB
JSON
71 lines
2.8 KiB
JSON
{
|
|
"name": "trustgraph-ts",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "bunx --bun turbo build",
|
|
"dev": "bunx --bun turbo dev",
|
|
"lint": "bunx --bun turbo lint && bun run lint:laws",
|
|
"lint:laws": "bun scripts/check-effect-laws.ts && bun scripts/inventory-native-classes.ts",
|
|
"lint:laws:baseline": "bun scripts/check-effect-laws.ts --write-baseline",
|
|
"test": "bunx --bun turbo test",
|
|
"check": "bun run check:tsgo",
|
|
"check:tsgo": "effect-tsgo patch && tsgo -b tsconfig.json",
|
|
"inventory:classes": "bun scripts/inventory-native-classes.ts",
|
|
"workbench:qa": "bun run --cwd packages/workbench qa:browser",
|
|
"prepare": "effect-tsgo patch",
|
|
"clean": "turbo clean",
|
|
"gateway": "bun scripts/run-gateway.ts",
|
|
"config-svc": "bun scripts/run-config.ts",
|
|
"llm:claude": "bun scripts/run-llm-claude.ts",
|
|
"llm:openai": "bun scripts/run-llm-openai.ts",
|
|
"test:pipeline": "bun scripts/test-pipeline.ts",
|
|
"seed": "bun scripts/seed-config.ts",
|
|
"seed:flows": "bun scripts/seed-flows.ts",
|
|
"prompt": "bun scripts/run-prompt.ts",
|
|
"agent": "bun scripts/run-agent.ts",
|
|
"librarian": "bun scripts/run-librarian.ts",
|
|
"knowledge": "bun scripts/run-knowledge.ts",
|
|
"flow-manager": "bun scripts/run-flow-manager.ts",
|
|
"llm:ollama": "bun scripts/run-ollama.ts",
|
|
"pdf-decoder": "bun scripts/run-pdf-decoder.ts",
|
|
"triples-store": "bun scripts/run-triples-store.ts",
|
|
"graph-embeddings-store": "bun scripts/run-graph-embeddings-store.ts",
|
|
"chunker": "bun scripts/run-chunker.ts",
|
|
"extractor": "bun scripts/run-extractor.ts",
|
|
"embeddings": "bun scripts/run-embeddings.ts",
|
|
"triples-query": "bun scripts/run-triples-query.ts",
|
|
"graph-embeddings-query": "bun scripts/run-graph-embeddings-query.ts",
|
|
"doc-embeddings-query": "bun scripts/run-doc-embeddings-query.ts",
|
|
"graph-rag": "bun scripts/run-graph-rag.ts",
|
|
"document-rag": "bun scripts/run-document-rag.ts",
|
|
"create-test-pdf": "bun scripts/create-test-pdf.ts",
|
|
"seed:demo": "bun scripts/seed-demo.ts",
|
|
"mcp-tool": "bun scripts/run-mcp-tool.ts",
|
|
"llm:azure-openai": "bun scripts/run-llm-azure-openai.ts",
|
|
"llm:openai-compat": "bun scripts/run-llm-openai-compatible.ts",
|
|
"llm:mistral": "bun scripts/run-llm-mistral.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2",
|
|
"@effect/platform-bun": "4.0.0-beta.78",
|
|
"@effect/tsgo": "0.14.0",
|
|
"@effect/vitest": "4.0.0-beta.78",
|
|
"@types/bun": "^1.3.13",
|
|
"@types/node": "^25.7.0",
|
|
"@typescript/native-preview": "7.0.0-dev.20260511.1",
|
|
"falkordb": "^5.0.0",
|
|
"nats": "^2.29.0",
|
|
"pdf-lib": "^1.17.1",
|
|
"tsx": "^4.21.0",
|
|
"turbo": "^2.5.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^4.1.6"
|
|
},
|
|
"dependencies": {
|
|
"effect": "4.0.0-beta.78"
|
|
},
|
|
"packageManager": "bun@1.3.13",
|
|
"workspaces": [
|
|
"packages/*"
|
|
]
|
|
}
|