mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +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>
45 lines
1 KiB
JSON
45 lines
1 KiB
JSON
{
|
|
"name": "@trustgraph/client",
|
|
"version": "0.1.0",
|
|
"description": "Vendored TrustGraph WebSocket client (forked from trustgraph-client v1.6.0)",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./rpc/contract": {
|
|
"types": "./dist/rpc/contract.d.ts",
|
|
"import": "./dist/rpc/contract.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "bunx --bun tsc",
|
|
"dev": "tsc --watch",
|
|
"clean": "rm -rf dist",
|
|
"test": "bunx --bun vitest run",
|
|
"lint": "bunx --bun biome check src"
|
|
},
|
|
"dependencies": {
|
|
"effect": "4.0.0-beta.78"
|
|
},
|
|
"peerDependencies": {
|
|
"ws": "^8.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"ws": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@effect/vitest": "4.0.0-beta.78",
|
|
"@types/node": "^22.0.0",
|
|
"@types/ws": "^8.5.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^4.1.6",
|
|
"happy-dom": "^20.0.0"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|