angular/packages/core/schematics/utils
Paul Gschwendtner c1aa411cf1 fix(migrations): properly resolve tsconfig paths on windows (#58137)
The Angular CLI devkit and Tsurge, as well as TypeScript only deal with
Posix paths. We also normalize paths into posix paths, and try to
implement a devkit compatible virtual file system for the compiler-cli.

This commit fixes an issue where we accidentally resolved `/` to the
system root on Windows. e.g. `C:/`. This broke the posix and devkit
paths throughout tsconfig parsing.

This commit fixes this.

Fixes #58132.

PR Close #58137
2024-10-09 15:23:33 +00:00
..
tslint refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsurge fix(migrations): properly resolve tsconfig paths on windows (#58137) 2024-10-09 15:23:33 +00:00
typescript refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel build: make devmode a noop and ensure it never runs (#48521) 2022-12-19 19:50:45 +00:00
change_tracker.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
extract_metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
line_mappings.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
load_esm.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_component_template.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_decorators.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
parse_html.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
project_tsconfig_paths.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
template_ast_visitor.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00