angular/packages/compiler-cli/ngcc/src/execution
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
..
cluster fix(ngcc): handle ENOMEM errors in worker processes (#36626) 2020-04-29 14:28:26 -07:00
tasks refactor(ngcc): rename TaskQueue#markTaskCompleted() to markAsCompleted() (#36626) 2020-04-29 14:28:26 -07:00
analyze_entry_points.ts refactor(ngcc): move analyze and compile functions into their own files (#36637) 2020-04-16 16:05:12 -04:00
api.ts refactor(ngcc): support running callback before writing transformed files (#36626) 2020-04-29 14:28:26 -07:00
create_compile_function.ts refactor(ngcc): move PathMappings to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
single_process_executor.ts refactor(ngcc): support running callback before writing transformed files (#36626) 2020-04-29 14:28:26 -07:00