[pull] main from angular:main
Merged
PU
3mo ago+1164+1164+0123456789012345678901234567890123456789-847-847-012345678901234567890123456789
See Commits and Changes for more details.
Created by pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by cubic
Pulls upstream angular-cli changes into main, including bug fixes, build refactors, and dependency updates.
Bug Fixes
- Temporary package installs during
ng updatenow write an emptyyarn.lock(and a defaultnodeLinker: node-modules.yarnrc.ymlif none exists) so Yarn modern doesn't traverse up to the parent workspace. Fixes #33972. - The dev-server Vite cache now uses the workspace-local cache path, so SSR prebundles in Git worktrees resolve bare imports from the worktree's
node_modulesinstead of the main repository's. Fixes #33968. - Cache purging and watcher ignore lists now handle both shared and local cache paths.
Refactors
- Replaces
NoopCompilationwith primary and secondary compilation contexts; secondary builds now wait on the primary compilation instead of creating a no-op compilation. - The i18n inliner now takes output files in
inlineAllinstead of at construction, allowing worker reuse across watch rebuilds. @babel/coreis loaded dynamically in the transformer worker only when the Babel linker is enabled.- Sourcemap generation in the OXC transform now uses
hires: 'boundary'to reduce memory and remapping time.