-
fix(core): update our caching for ts-node service from plugins (#31917)
发布于
2025-07-14 20:04:17 +00:00 Current Behaviour
We are having a lot of cache misses due to using
compilerOptionsthe
key for registering thets-nodeservice.
This can cause out-of-memory errors due to several registrations of the
ts-nodeservice consecutively.https://github.com/nrwl/nx/actions/runs/16233768215/job/45840886378
Expected Behaviour
The
ts-nodeservice should have cache hits so that the knock-on
effect of multiple registration (out-of-memory) does not happen via
plugins.MISC
If we set
NX_PREFER_TS_NODEenv variable we should not show the
warning fallback message.下载附件