mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
- doctor --component help lists 'mods' before 'metaharness': the ruflo-metaharness smoke step 17h greps 'metaharness)' (smoke-all, smoke-without-metaharness). - audit-env-var-precedence: RUFLO_MODS_OWNS is the ADR-404 handshake set by the running mod, read by hook scripts with no CLI-flag surface (Plugin package install-safety job). - plugins/ruflo-mods and the mod template tsconfigs no longer extend the gitignored .claude-plugin/types/tsconfig.json: vite/esbuild loads the nearest tsconfig for every transformed module, so in CI (types absent) root vitest failed to transform the six mods suites that import plugin code (TSCONFIG_ERROR: Tsconfig not found). typeRoots points at the generated folder instead; tsc still checks against it where present. Verified: ruflo-metaharness smoke 125/125; env-var audit clean; root vitest on the mods suites 99/99 with the generated types moved aside (as in CI); tsc clean for mod and template; kit 16/16 + 1/1; validate passes. Co-Authored-By: RuFlo <ruv@ruv.net>
20 lines
849 B
JSON
20 lines
849 B
JSON
{
|
|
"//": "Self-contained on purpose: bundlers (vite/esbuild in the root CI vitest) load this file for every module they transform, so it must not extend a file that only exists after Claude Code (>= 2.1.287) has loaded the plugin. Claude Code writes its declarations to .claude-plugin/types/ (gitignored) on load or validate; tsc -p . then reads them through typeRoots.",
|
|
"compilerOptions": {
|
|
"target": "es2023",
|
|
"lib": ["es2023"],
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "react",
|
|
"jsxFactory": "h",
|
|
"jsxFragmentFactory": "Fragment",
|
|
"typeRoots": ["./.claude-plugin/types"],
|
|
"types": ["claude-code", "claude-code-tools", "claude-code-mcp"]
|
|
},
|
|
"include": ["hooks", "types", "tests"]
|
|
}
|