angular/packages/language-service/testing
Paul Gschwendtner acf98268f8 refactor: update language-service package and tests to work with ESM (#48521)
The Angular Language Service package is now tested & compiled using ESM.
Previously it was a mismatch of CommonJS and ESM.

Still the language-service ESM output is transformed into a single UMD
bundle to allow for module resolution to be overriden. See
`bundles/BUILD`.

This is kept as is. To fully ship ESM (language-service is an exception
here), we need to:

 * Update all code to no longer reference typescript via import. Instead
   typescript needs to be passed around so that the extension can
   control the version
 * The VSCode extension/ the TS server needs to be able to load ESM. It
   looks like the server supports ESM global plugins, but the extension
   might not yet.

This is out of scope for the dev-infra effort as it requires more
insight into VSCode & the extension system & the TS language server.

PR Close #48521
2022-12-19 19:50:44 +00:00
..
src refactor: update language-service package and tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
BUILD.bazel refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00
index.ts refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00