angular/packages/compiler-cli/ngcc/test/locking
Pete Bacon Darwin 24b635395f fix(ngcc): ensure that ngcc does not write a lock-file into node_modules package directories (#44228)
When executing, ngcc writes a lock-file that is used to coordinate multiple concurrent instances of ngcc.
Previously, this file was written at `node_modules/@angular/compiler-cli/ngcc`, or similar depending upon the bundling of the package.
But this causes problems for setups where `node_modules` package directories are expected to be read-only.
Now, the lock-file is written as `.ngcc_lock_file` into the top of the `node_modules`, which is an acceptable place to store transient files.

This change should help to unblock use of tools like pnpm and lerna, which can use symlinks to readonly package directories.

PR Close #44228
2021-11-22 17:55:13 +00:00
..
lockfile_with_child_process fix(ngcc): ensure that ngcc does not write a lock-file into node_modules package directories (#44228) 2021-11-22 17:55:13 +00:00
async_locker_spec.ts Revert "perf(ngcc): allow immediately reporting a stale lock file (#37250)" (#39435) 2020-10-27 13:36:27 -07:00
sync_locker_spec.ts fix(compiler-cli): ngcc - remove outdated link (#40285) 2021-01-06 07:10:39 -08:00