angular/packages/compiler-cli/ngcc/test
George Kalpakas 8077695167 test(ngcc): use main property in test package.json files for UMD tests (#44245)
Previously, the mock packages created for `UmdDependencyHost`'s tests,
specified the entry-point as `esm2015`. This does not matter in tests,
since the packages are explicitly passed to the `UmdDependencyHost`
(while in reality the appropriate host would be determined based on the
name of the entry-point property - in this case, detecting the
entry-point as ES2015 and not UMD).

However, in order to avoid confusion, this commit updates the test
packages to use `main` (the default property used for the UMD format in
`package.json` files).

PR Close #44245
2021-11-29 12:38:06 -05:00
..
analysis refactor(ngcc): remove Ivy switch marker transform (#43891) 2021-11-24 19:26:25 +00:00
dependencies test(ngcc): use main property in test package.json files for UMD tests (#44245) 2021-11-29 12:38:06 -05:00
entry_point_finder fix(compiler-cli): ensure ngcc can handle wildcard base-paths (#41033) 2021-03-01 15:25:44 -08:00
execution refactor(compiler-cli): fix ngcc cluster workers incorrectly being marked as busy with ESM (#43431) 2021-10-01 18:28:46 +00:00
helpers test(ngcc): run more tests against more supported UMD formats (#44245) 2021-11-29 12:38:05 -05:00
host test(ngcc): run more tests against more supported UMD formats (#44245) 2021-11-29 12:38:05 -05:00
integration 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
locking 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
migrations refactor: make all imports compatible with ESM/CJS output. (#43431) 2021-10-01 18:28:45 +00:00
packages refactor(ngcc): make it easy to support more UMD wrapper function formats (#44245) 2021-11-29 12:38:05 -05:00
rendering test(ngcc): run more tests against more supported UMD formats (#44245) 2021-11-29 12:38:05 -05:00
writing refactor(ngcc): support processing only the typings files of packages (#40976) 2021-02-24 14:23:14 -08:00
BUILD.bazel build: remove "ivy-only" bazel tag (#43862) 2021-10-19 10:06:55 -07:00
ngcc_options_spec.ts refactor(compiler-cli): do not use __filename or __dirname global for ESM compatibility (#43431) 2021-10-01 18:28:45 +00:00
utils_spec.ts refactor: make all imports compatible with ESM/CJS output. (#43431) 2021-10-01 18:28:45 +00:00