angular-cn/packages/compiler-cli/ngcc/test/entry_point_finder
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
..
directory_walker_entry_point_finder_spec.ts refactor(ngcc): move `PathMappings` to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
targeted_entry_point_finder_spec.ts refactor(ngcc): move `PathMappings` to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
utils_spec.ts fix(ngcc): do not warn if `paths` mapping does not exist (#36525) 2020-04-08 14:29:57 -07:00