chore: update origin to fa546f382d (Angular v22)#1169
Open
lacolaco wants to merge 59 commits into
Open
Conversation
…4.1) angular/angular v22.0.0 が利用する Node.js / pnpm に揃える。 - .node-version: 22.12.0 → 22.22.2 - packageManager: pnpm@10.15.0 → pnpm@10.34.1
Angular v22 リリースイベントページの日本語翻訳と英語スナップショットを追加。
WebMCP (Web Model Context Protocol) の日本語翻訳と英語スナップショットを追加。
injectAsync を使ったサービスの遅延読み込みガイドの日本語翻訳と英語スナップショットを追加。
…onnect-form-template
…ng-your-first-signal
- replace-header-canonical-host: upstream renamed Injectable → Service and reordered imports. - translate-tutorial-label: upstream reordered tutorial.component.ts imports around line 50. - replace-version-links: upstream now has v22 entry in versions.json; flip Angular.jp override target from v21 to v22 (devmode currentDocsVersion + versions.json URL).
upstream (cea6588bb3..fa546f382d) で削除されたページを adev-ja からも削除。 update-origin.ts は copy のみで cleanup しないため取り残されていた。 - guide/di/dependency-injection-providers (+ .en.md) - guide/pipes/* (overview / unwrapping-data-observables / transform-data / precedence / change-detection / template, 計6件 + .en.md) - guide/aria/radio (+ .en.md) - 未翻訳: cli/index.md, reference/migrations/typed-forms.md, reference/migrations/module-with-providers.md
upstream で削除された 8 ページの既存日本語訳を、将来の参考のため
class-d structural defer と同様に .md.bak として残す。
.en.md (英語スナップショット) は upstream に対応原本がないので削除維持。
- guide/di/dependency-injection-providers.md.bak
- guide/pipes/{overview, unwrapping-data-observables, transform-data,
precedence, change-detection, template}.md.bak (6 件)
- guide/aria/radio.md.bak
過去 commit で structural defer 扱いとした以下を、実 diff (sections 削除 0 もしくは ≤2 件の near-additive) を再評価して additive に訂正: - accordion (panelId→panel rename + Testing section 追加) - autocomplete (rebuild API tables + Signal Forms Integration + Testing) - multiselect (Popup/Widget directives 追加 + Listbox Inputs 拡張 + Testing) - select (Listbox Inputs + Popup/Widget Directives + Testing) - tree (TreeGroup→TreeItemGroup + Testing) 既存翻訳を .md.bak から復元し、新規セクションは英語のまま挿入。 combobox のみは本当の structural change (h2 1件 + h3 4件 削除) のため defer 維持。
過去 commit で structural defer 扱いとした以下を、実 diff (sections 削除 0) を再評価して additive に訂正: - creating-and-using-services (@Injectable→@service prose + 新 "Using the @service decorator" section) - hierarchical-dependency-injection (純粋な @Injectable→@service token rename) 既存翻訳を .md.bak から復元し、新規セクションは英語のまま挿入、@service rename は mirror。
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.
Summary
upstream
angular/angularを Angular v22.0.0 (本番 angular.dev 稼働 commit:fa546f382d) に追従。1028 commits / adev/ 配下 440 files の差分を 52 commits に分解して取り込む、過去最大規模のメジャー版同期。Migration breakdown
Toolchain
22.12.0 → 22.22.2/ pnpm10.15.0 → 10.34.1Origin sync
chore: update origin to fa546f382dfix: migrate untranslated files(新規 4 件 + 既存未翻訳 22 件)chore: remove pages deleted upstream— upstream で削除されたページを adev-ja からも削除 (11 件)chore: preserve removed page translations as .md.bak— そのうち翻訳済み 8 件は将来再利用のため.md.bakで保護upstream で削除されたページの移動先と
.md.bak取り扱い.md.bakの用途guide/pipes/{overview, change-detection, precedence, template, transform-data, unwrapping-data-observables}.md(6 件)e6c14f9443"remove old pipes docs (#60996)" — "replaced by pipes entry in the template guides"guide/templates/pipes.md(adev-ja で翻訳済み)guide/di/dependency-injection-providers.mdf321e226bd"update dependency injection guides (part 1) (#63652)"guide/di/defining-dependency-providers.md(919行、本PRで未翻訳) +creating-and-using-services.mdguide/aria/radio.md8b59653788"add draft of aria component guides"cli/index.md/reference/migrations/typed-forms.md/reference/migrations/module-with-providers.md(未翻訳 3 件)新規ページの翻訳 (本 PR 内)
v22 の目玉トピックを優先翻訳:
events/v22.md— v22 リリースイベントページai/webmcp.md— WebMCP (実験的)guide/di/lazy-loading-services.md—injectAsync未翻訳のまま取り込み (別 PR で逐次翻訳予定):
guide/signals/debounced.md/reference/errors/NG8023.md/reference/errors/NG8024.md/tutorials/playground/5-aria-accordion/config.jsonMarkdown 移行 (Phase 3)
classify-md-diff.tsで 63 files を a/b/c/d に分類し、41 batches を(class, directory)単位で並列処理 + verify (verify-migration.ts+verify-codeblock-sync.ts) を経て commit。accordion/autocomplete/combobox/multiselect/select/tree(aria 6 件) /creating-and-using-services/hierarchical-dependency-injection(di 2 件) は prior JP translation を.md.bakとして保存しつつ.mdを upstream English に置き換え。別 PR で再翻訳が必要Source-code 移行 (Phase 4)
5 files (ts/html) を
(class, directory)単位で migration。class-d なし (escalate 不要)。update/recommendations.tsに v22 step 33 件を追加 (翻訳済み)Patch 修正 (Phase 5)
replace-header-canonical-host— upstreamInjectable→Servicerename + import 並び替えに追従translate-tutorial-label— upstream tutorial.component.ts の import 順並び替えに追従replace-version-links— upstream に v22 エントリ追加されたため、Angular.jp 対象を v21 → v22 に切替 (devmode currentDocsVersion + versions.json URL)既存 drift の補正
guide/components/programmatic-rendering.md— 既存翻訳の line-count drift を fixguide/forms/signals/field-state-management.md— sub-agent の code-block コメント mirror 漏れを fix未対応事項 (別 PR で対応)
.md.bakが残った class-d structural defer 8 件 (aria 6 + di 2) の再翻訳.md.bak8 件: 特にdependency-injection-providers.md.bakをdefining-dependency-providers.mdの翻訳元ネタとして活用angular_jp_v19) の運用判断 — 本 PR では既存固定値を維持Test plan
pnpm test(全 patch apply OK)pnpm lint(textlint clean)verify-migration.ts adev-ja/src(299 files OK)verify-codeblock-sync.ts main(66 changed files OK)