angular/packages/compiler-cli
Paul Gschwendtner bde1b37e0b build: properly compile tests in core with Angular compiler (#60268)
Previously we never could use relative imports to import e.g. `Component`
in e.g. the `core/tests/bundling` folder. This was necessary because otherwise the
Angular compiler wouldn't process those files as it wouldn't recognize
the Angular decorator as the one from `@angular/core`.

Notably this still isn't a large issue because relative imports still
work for most core tests, that are JIT compiled!

For bundling tests though, or some smaller targets, our new upcoming
guidelines for using relative imports inside the full package; fall
apart. This commit unblocks this effort and allows us to use relative
imports in all tests of `packages/core`. This is achieved by leveraging
the existing `isCore` functionality of the compiler, and fixing a few
instances that were missing before.

PR Close #60268
2025-03-07 11:00:48 -08:00
..
integrationtest Revert "refactor(core): remove unused injection props (#59209)" (#59386) 2025-01-06 21:35:58 +00:00
linker refactor(compiler-cli): handle template literals in ngtsc (#59230) 2025-01-21 12:04:53 -08:00
ngcc refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
private build: properly compile tests in core with Angular compiler (#60268) 2025-03-07 11:00:48 -08:00
src build: properly compile tests in core with Angular compiler (#60268) 2025-03-07 11:00:48 -08:00
test refactor(compiler): remove input transforms feature (#59980) 2025-02-18 19:27:59 +00:00
BUILD.bazel refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
esbuild.config.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
index.ts refactor(compiler-cli): expose diagnostic error code (#59353) 2025-01-06 16:21:26 +00:00
package.json build: update babel dependencies to v7.26.9 (#59743) 2025-02-14 19:15:15 +00:00
tsconfig-build.json refactor(compiler-cli): dismantle View Engine implementation of ngc (#44269) 2021-12-01 10:36:30 -08:00
tsconfig.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00