angular/adev/shared-docs
Paul Gschwendtner 7fc14d7f26 build: fix adev first party linking and re-enable tests (#60825)
This commit attempts to finally fix the long-standing first-party
package linking issue with the rather tricky `rules_nodejs` toolchain.

I've verified that no version of e.g. `@angular/core` ends up in the
Bazel sandbox. This is achieved by also filtering transitive Angular
deps for first-party linked packages. e.g. `@angular/docs`.

In addition, `@angular/docs` accidentally ended up bundling parts of
Angular core because it relied on an entry-point that was not part of
the "well known externals". As part of the ongoing `ng_package`
update/rewrite, we should look into disabling bundling of ANY external
dependency/module. This is possible because we use relative imports
inside APF packages as of recently!

This commit should allow us to develop and continue new compiler
features, without having to temporarily (or longer) disable all
`angular.dev` unit tests!

Fixes #54858.

PR Close #60825
2025-04-10 14:19:52 +00:00
..
components refactor(router): remove dependency on @types/dom-view-transitions (#60731) 2025-04-08 09:01:41 -07:00
directives docs(docs-infra): Search results as HTML (#60394) 2025-04-02 11:32:57 +00:00
icons refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
interfaces feat(docs-infra): Add Navigation API adapter to adev (#60722) 2025-04-04 11:46:00 -07:00
pipeline build: fix adev first party linking and re-enable tests (#60825) 2025-04-10 14:19:52 +00:00
pipes docs(docs-infra): enable tslint (#58961) 2024-12-05 16:03:35 -08:00
providers refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
services docs(docs-infra): Search results as HTML (#60394) 2025-04-02 11:32:57 +00:00
styles docs(docs-infra): fix home animation text width on small devices; fix snackbar colors (#60745) 2025-04-04 09:44:44 -07:00
testing refactor(docs-infra): minor clean up in testing helpers (#60581) 2025-03-27 18:12:31 +00:00
utils feat(bazel): support bundling .d.ts with code splitting (#60321) 2025-03-11 13:03:08 -07:00
BUILD.bazel docs(docs-infra): Use intersectionObserver for TOC (#60166) 2025-03-05 12:09:45 -08:00
index.bzl docs(docs-infra): generate errors and extended-diagnostics route NavigationItem-s (#59355) 2025-01-14 11:00:06 -05:00
index.ts docs(docs-infra): Use intersectionObserver for TOC (#60166) 2025-03-05 12:09:45 -08:00
package.json build: update all non-major dependencies (#60659) 2025-04-01 12:23:08 +00:00