fix(tsconfig): route .tsbuildinfo into dist/ for protocol, sdk, back

By default tsc writes the incremental build info to
<package>/tsconfig.tsbuildinfo (next to the tsconfig). In restricted
dev mode /cial/core is RO, so this fails with EROFS — and only the
dist/ subdir is shadow-mounted as writable.

Setting tsBuildInfoFile to "dist/.tsbuildinfo" puts it inside the
writable shadow, matching the convention edge/tsconfig.json already
follows. No behavior change in unrestricted mode or prod (rw paths).
This commit is contained in:
Eliot M 2026-04-29 13:57:11 +00:00
parent 6f43c6a52d
commit e61f1f1330
3 changed files with 5 additions and 2 deletions

View file

@ -3,6 +3,7 @@
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"tsBuildInfoFile": "dist/.tsbuildinfo",
"types": ["node"]
},
"references": [{ "path": "../protocol" }],

View file

@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"composite": true
"composite": true,
"tsBuildInfoFile": "dist/.tsbuildinfo"
},
"include": ["src/**/*"]
}

View file

@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"composite": true
"composite": true,
"tsBuildInfoFile": "dist/.tsbuildinfo"
},
"references": [{ "path": "../protocol" }],
"include": ["src/**/*"]