angular-docs-cn/packages/compiler-cli/ngcc/test
George Kalpakas 45c09416ed refactor(ngcc): move `PathMappings` to separate file to avoid circular dependency (#36626)
Now that `ngcc/src/ngcc_options` imports `FileWriter` type, there is a
circular dependency detected by the `ts-circular-deps:check` lint check:

```
ngcc/src/ngcc_options.ts
  → ngcc/src/writing/file_writer.ts
  → ngcc/src/packages/entry_point_bundle.ts
  → ngcc/src/ngcc_options.ts
```

This commit moves the `PathMappings` type (and related helpers) to a
separate file to avoid the circular dependency.

NOTE:
The circular dependency was only with taking types into account. There
was no circular dependency for the actual (JS) code.

PR Close #36626
2020-04-29 14:28:26 -07:00
..
analysis fix(ngcc): correctly detect external files from nested `node_modules/` (#36559) 2020-04-10 09:10:26 -07:00
dependencies perf(ngcc): read dependencies from entry-point manifest (#36486) 2020-04-09 11:33:28 -07:00
entry_point_finder refactor(ngcc): move `PathMappings` to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
execution fix(ngcc): handle `ENOMEM` errors in worker processes (#36626) 2020-04-29 14:28:26 -07:00
helpers style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
host fix(ngcc): recognize enum declarations emitted in JavaScript (#36550) 2020-04-28 15:59:57 -07:00
integration fix(ngcc): recognize enum declarations emitted in JavaScript (#36550) 2020-04-28 15:59:57 -07:00
locking fix(ngcc): do not use cached file-system (#36687) 2020-04-17 16:33:48 -04:00
logging refactor(ngcc): expose logging level on the logger (#35861) 2020-03-05 18:17:15 -05:00
migrations style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
packages perf(ngcc): reduce the size of the entry-point manifest file (#36486) 2020-04-09 11:33:28 -07:00
rendering style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
sourcemaps fix(ngcc): don't crash on cyclic source-map references (#36452) 2020-04-06 13:19:53 -07:00
writing feat(ngcc): support reverting a file written by `FileWriter` (#36626) 2020-04-29 14:28:26 -07:00
BUILD.bazel refactor(ngcc): create new entry-point for cluster workers (#36637) 2020-04-16 16:05:12 -04:00
utils_spec.ts fix(ngcc): correctly identify relative Windows-style import paths (#36372) 2020-04-07 15:21:27 -07:00