## Current Behavior The `@nx/js/typescript` plugin writes cache files in a non-atomic fashion, which can result in corrupted or empty files being written. ## Expected Behavior The `@nx/js/typescript` plugin should write cache files atomically, and they should not be corrupt. It should also retry a limited amount attempts to account for temporary file locks. ## Related Issue(s) Fixes #30239 Fixes #31187
{{links}}
Nx: Smart Repos · Fast Builds
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a JavaScript/TypeScript plugin for Nx.
{{content}}