feat: update origin to Angular v22.1 - #192
Open
ricardochl wants to merge 2 commits into
Open
Conversation
ricardochl
force-pushed
the
update-angular-22.1
branch
3 times, most recently
from
August 12, 2026 21:08
c4fbe1c to
4df79b6
Compare
ricardochl
marked this pull request as ready for review
August 12, 2026 21:08
Sync the Spanish translation with Angular v22.1 and fix the accumulated
drift between adev-es and the current origin structure.
Content sync
- Translate/update all guides affected by the v22.1 refactor: signals,
components, templates, directives, DI, routing, forms (including the
new Signal Forms guides), HTTP client, SSR, testing, Angular Aria,
i18n, animations
- Fully rewrite guide/testing/components-basics.md and
components-scenarios.md to match the current inline-code-based
English content (previously referenced a deleted examples/testing app)
- Remove content that no longer exists in English (pipes guides,
route-animations, prerendering, router-tutorial, devtools, migrations)
- Translate events/v22.md and update the aria/*.md Testing and API
reference sections to the current format
- Fix stale example file references (attribute-directives,
router-reference, routing-with-urlmatcher, i18n typos)
Link and anchor consistency
- Standardize internal links to explicit English heading IDs
({#id}) across guide/ so Spanish translations no longer break
anchors, and stabilize the resulting duplicate/misplaced IDs
- Fix broken absolute angular.dev links, stale/renamed page targets,
and Spanish-slugged anchors found via the real build pipeline
(npm run build), not just static link auditing
- Verify 1:1 heading structure and .en.md byte-parity for all 341
translated pages, and folder/file parity between adev-es and origin
Navigation architecture
- Rebuild adev-es/src/app/routing/navigation-entries/index.ts to match
origin's new navigation module (previously stuck on the old
monolithic sub-navigation-data.ts, missing ~20 new pages and several
top-level sections)
- Simplify sub-navigation-data.ts back to a thin re-export, matching
origin
- Translate remaining navigation.component.html/footer.component.html
strings and localize the home page demo components (control-flow,
deferrable-views, signals demo, hydration demo, animation)
Tooling
- Fix tools/update-origin.mjs: sync navigation-entries, home page
components, and links.ts going forward (previously unmatched glob
patterns silently skipped them)
- Bump .node-version to satisfy the pinned pnpm version required by CI
ricardochl
force-pushed
the
update-angular-22.1
branch
from
August 12, 2026 21:15
4df79b6 to
7daab57
Compare
oidacra
previously approved these changes
Aug 14, 2026
ricardochl
force-pushed
the
update-angular-22.1
branch
7 times, most recently
from
August 17, 2026 22:26
c82059c to
866dd0b
Compare
…ring
origin's .bazelrc disables Bazel sandbox network access by default
(--nosandbox_default_allow_network), which makes the adev SSR bundling
step fail (RetryError: Unreachable hosts) because it needs to reach
Algolia during prerendering. This is a known issue also hit by
angular/angular-ja; this mirrors their fix.
- CI: add --sandbox_default_allow_network and CI resource limits to
the Bazel config in ci.yml and adev-staging-deploy.yml
- Local: add a root .bazelrc (general Bazel diagnostics) and an
optional .bazelrc.user.example (macOS network workaround via
--spawn_strategy=local); tools/lib/common.mjs now propagates both
into build/.bazelrc.user on every build, since Bazel only reads
.bazelrc.user from its own workspace root
- Bump actions/checkout, actions/setup-node, pnpm/action-setup, and
bazel-contrib/setup-bazel to their first Node 24 releases, clearing
the Node 20 deprecation warning on every run
- Migrate deprecated --local_ram_resources/--local_cpu_resources to
--local_resources=memory=/cpu=, and drop the _JAVA_OPTIONS env var
since Bazel was silently ignoring it
- Use a per-workflow disk-cache key (disk-cache: ${{ github.workflow }})
instead of one shared across workflows, matching angular-ja
- Verified green in CI at memory=4096 (Bazel) + NODE_OPTIONS=4096
(Node), --jobs=2, all within the free ubuntu-latest runner's 7GB RAM;
the earlier OOM-shaped failures at this same budget were during a
documented GitHub-wide Actions outage, not a resource shortfall
ricardochl
force-pushed
the
update-angular-22.1
branch
from
August 17, 2026 22:34
866dd0b to
806d449
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sincroniza la traducción al español con Angular v22.1 y corrige el
desfase acumulado entre adev-es y la estructura actual de origin.
Sincronización de contenido
v22.1: signals, componentes, plantillas, directivas, DI, enrutamiento,
formularios (incluyendo las nuevas guías de Signal Forms), cliente
HTTP, SSR, testing, Angular Aria, i18n, animaciones
components-scenarios.md para igualar el contenido actual en inglés
basado en código inline (antes referenciaba una app de ejemplo ya
eliminada en examples/testing)
route-animations, prerendering, router-tutorial, devtools,
migrations)
referencia de API de aria/*.md al formato actual
(attribute-directives, router-reference, routing-with-urlmatcher,
typos en i18n)
Consistencia de enlaces y anclas
encabezados ({#id}) en todo guide/ para que las traducciones al
español ya no rompan las anclas, y estabiliza los ids duplicados o
mal ubicados resultantes
obsoletos/renombrados, y anclas con slug en español, todo encontrado
mediante el pipeline de build real (npm run build), no solo
auditoría estática de enlaces
.en.md para las 341 páginas traducidas, y paridad de carpetas/
archivos entre adev-es y origin
Arquitectura de navegación
igualar el nuevo módulo de navegación de origin (antes atascado en
el viejo sub-navigation-data.ts monolítico, sin ~20 páginas nuevas
y varias secciones de nivel superior)
igual que origin
footer.component.html y localiza los componentes de demostración
de la página de inicio (control-flow, deferrable-views, signals
demo, hydration demo, animation)
Herramientas
componentes de la página de inicio y links.ts de ahora en adelante
(antes los patrones glob no coincidían y se omitían en silencio)