Repository navigation
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: dev-infraIssues related to Angular's own dev infra (build, test, CI, releasing)area: docs-infraAngular.dev application and infrastructure
Milestone
Description
Unlike with aio, adev only links top-level @angular/ packages to their npm archives from HEAD. Transitive dependencies are not properly updated, like we do for AIO— this means that adev may run with older versions of the Angular compiler because e.g. the CLI devkit would have their own transitive dependency.
This can cause subtle build issues when making changes in the compiler. We should investigate if this is still needed, but not throw away the effort put into AIO:
angular/aio/local_packages_util.bzl
Lines 15 to 25 in 700c052
| def link_local_packages(all_aio_deps): | |
| """Create targets needed for building AIO against local angular packages. | |
| Creates targets that link Angular packages, as well as targets to be used | |
| in place of any deps required to build and test AIO. These targets filter | |
| out any transitive deps on the npm packages and must be used in place of | |
| any original list of deps. | |
| Use the helper `substitute_local_package_deps()` to translate a list of deps | |
| to the equivalent "filtered" target that this rule creates. | |
Additional context: 6cc3256
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: dev-infraIssues related to Angular's own dev infra (build, test, CI, releasing)area: docs-infraAngular.dev application and infrastructure
Activity
JeanMeche commentedon Apr 7, 2024
This is probably related, I've noticed that the ADEV app is not build against the local packages. See #55161 where I had to rely on a temporary patch-package to fix an issue which was already fixed locally.
devversion commentedon Apr 10, 2024
Yeah, the packages are not picked up and this makes it difficult to also use new compiler features in
adevthat aren't released yetdevversion commentedon Apr 10, 2024
I believe this would also fix issues like:
where the angular-devkit accidentally sees
@angular/corefrom the@angular/docspackage installed in then workspace-level dependencies.16 remaining items
ci: disable adev tests (#59876)
ci: disable adev tests. (#60043)
docs(docs-infra): temporary removal of `core/rxjs-interop` dependency (…
build: fix adev first party linking and re-enable tests (angular#60825)
angular-automatic-lock-bot commentedon May 11, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.