mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
* build(scripts): type-check the Evidence verification scripts against src Six JavaScript callers kept passing `undefined` as an Evidence subject after `createEvidence` stopped accepting it (#11536); `npm run typecheck` saw only the TypeScript callers. The scripts import built modules by relative `../dist/` paths, which a checker resolves to the built JavaScript (or nothing, before a build) rather than the source types. A package-private `#dist/*` import alias resolves to `./dist/*` at run time, and `tsconfig.scripts.json` maps it to `./src/*` and checks the listed scripts with `checkJs` under the main compiler options. `typecheck`, and so `check:fast`, runs it; turbo's typecheck inputs include the scripts and the new config. First slice: `verify-package-evidence.mjs` (its evidence-bundle import becomes static), `verify/javascript/output.mjs` and `verify/javascript/digests.mjs`, with the JSDoc types the check required. Refs #11545 * build(scripts): type-check the MCP verifier results and Ghidra snapshot lifecycle helpers (#11590) * build(scripts): type-check the managed app manifest verifier (#11592) * build(scripts): type-check the managed oracles and completion report (#11605) oracles.mjs and completion-report.mjs join tsconfig.scripts.json (72 errors). ensureIlspy is an assertion function, the ILSpy import returns the imported Evidence and reads its normalized result through managedReconstructionImportResultSchema, the manifest-rejection controls are named records walked by a checked field lookup, and the completion report names its input.
25 lines
673 B
JSON
25 lines
673 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"noEmit": true,
|
|
"paths": {
|
|
"#dist/*": ["./src/*"]
|
|
}
|
|
},
|
|
"files": [
|
|
"scripts/lib/mcp-verifier-results.mjs",
|
|
"scripts/lib/real-ghidra-snapshot-lifecycle.mjs",
|
|
"scripts/lib/verifier-artifact-scope.mjs",
|
|
"scripts/verify-package-evidence.mjs",
|
|
"scripts/verify/javascript/digests.mjs",
|
|
"scripts/verify/javascript/output.mjs",
|
|
"scripts/verify/managed/completion-report.mjs",
|
|
"scripts/verify/managed/manifest-parser.mjs",
|
|
"scripts/verify/managed/manifest.mjs",
|
|
"scripts/verify/managed/oracles.mjs"
|
|
],
|
|
"include": []
|
|
}
|