angular/tools
Paul Gschwendtner a02e270fcb 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:47 -08:00
..
circular_dependency_test docs: capitalize webpack with a lowercase W (#56812) 2024-11-26 22:24:11 +00:00
contributing-stats refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
esm-interop refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
gulp-tasks refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
legacy-saucelabs refactor: replace fast-glob usage with tinyglobby (#60264) 2025-03-07 10:57:23 -08:00
manual_api_docs docs: clarify that @for doesn't support break/continue (#59533) 2025-01-15 12:00:21 -05:00
npm-patches build: temporarily patch @angular/build (#60024) 2025-02-24 17:10:04 -05:00
saucelabs ci: remove circleci as we no longer rely on it (#58615) 2024-11-12 18:39:25 +00:00
saucelabs-daemon ci: remove circleci as we no longer rely on it (#58615) 2024-11-12 18:39:25 +00:00
symbol-extractor refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
testing refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tslint refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel build: remove unused inline-package-json-deps.js script (#46798) 2022-07-12 15:54:51 +00:00
defaults.bzl build: properly compile tests in core with Angular compiler (#60268) 2025-03-07 11:00:47 -08:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
ng_benchmark.bzl refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
postinstall-patches.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-test.json build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
tsconfig.json build: add rules for generating block/element API data (#52480) 2023-11-02 11:02:08 -07:00
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00