发布

  • fix(core): update our caching for ts-node service from plugins (#31917)

    frostbyte_neo 发布于 2025-07-14 20:04:17 +00:00

    Current Behaviour

    We are having a lot of cache misses due to using compilerOptions the
    key for registering the ts-node service.
    This can cause out-of-memory errors due to several registrations of the
    ts-node service consecutively.

    https://github.com/nrwl/nx/actions/runs/16233768215/job/45840886378

    Expected Behaviour

    The ts-node service 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_NODE env variable we should not show the
    warning fallback message.

    下载附件