Alex Eagle
Alex Eagle
Work on this has begun, thanks to folks from several companies for helping to vet designs! (and of course @mprobst for getting the ball rolling!) Note that TypeScript 5.5 only...
I think you'll just have to disable validation, unless someone has time to contribute/fund this feature. It wasn't trivial to add since our program deserializes the tsconfig.
I think we could close this with "bazel-lib 2.x will be the only version anyone cares about in X months when bazel-lib 1.x is a distant memory"
Yeah I think technically this is a typescript tsc issue, in that it doesn't copy the `.json` inputs to the `--outDir` last time I researched it. I think we could...
Ah, first of all it took me a while to repro within rules_ts because we set `--skipLibCheck` on all our tsc invocations. I see https://github.com/aspect-build/rules_ts/commit/12012a4bbc32237ae002ba4950b8ef5ffad340d9 actually added the explicit .json...
I have spent a few hours digging into this, and I'm still not sure it's possible. https://github.com/microsoft/TypeScript/issues/24744 is the open issue in TypeScript that reflects the underlying constraint. TypeScript handles...
I think the fix we want to argue for (and likely send a PR) is that the "special case" mentioned in https://github.com/microsoft/TypeScript/issues/38015#issuecomment-617433717 should be extended. There are two ways I'd...
Thanks @gzm0 - that workaround has the right shape IMO. Getting the type signature inlined (like --isolatedDeclarations proposal?) does improve incrementality too - if you change values in `data.json` but...
Another fix was needed in SWC since the original repro I handed them had only one symlink hop while Bazel creates two. https://github.com/swc-project/swc/pull/8757 just landed, so the next swc release...
Okay we're declaring that this is unfixable in SWC, because we don't have the time or energy to figure out their symlink handling. HOWEVER there's no benefit to sandboxing SWCCompile...