Skip to content

Commit c6eb47a

Browse files
authored
feat: update origin 19.1 (#1009)
* feat: update origin to 19.1.2 * chore: migrate untranslated files * chore: migrate small changes * migrate navigation data * chore: fix git patches * chore: address lint errors
1 parent 32146ae commit c6eb47a

File tree

97 files changed

+1261
-882
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1261
-882
lines changed

Diff for: .textlintrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"preset-ja-technical-writing": {
2222
"sentence-length": false,
2323
"max-comma": false,
24+
"max-ten": false,
2425
"no-mix-dearu-desumasu": {
2526
"preferInList": ""
2627
},
@@ -42,7 +43,8 @@
4243
"変更検知戦略",
4344
"推移的依存関係",
4445
"三重等号演算子",
45-
"入力変換関数"
46+
"入力変換関数",
47+
"等価比較関数"
4648
]
4749
},
4850
"ja-no-mixed-period": false

Diff for: adev-ja/src/app/features/update/recommendations.en.ts

+24-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.dev/license
7+
*/
8+
19
export enum ApplicationComplexity {
210
Basic = 1,
311
Medium = 2,
@@ -2397,7 +2405,22 @@ export const RECOMMENDATIONS: Step[] = [
23972405
action:
23982406
'You may experience tests failures if you have tests that rely on change detection execution order when using `ComponentFixture.autoDetect` because it now executes change detection for fixtures within `ApplicationRef.tick`. For example, this will cause test fixture to refresh before any dialogs that it creates whereas this may have been the other way around in the past.',
23992407
},
2400-
2408+
{
2409+
action:
2410+
"In the application's project directory, run `ng update @angular/core@19 @angular/cli@19` to update your application to Angular v19.",
2411+
level: ApplicationComplexity.Basic,
2412+
necessaryAsOf: 1900,
2413+
possibleIn: 1900,
2414+
step: '19.0.0_ng_update',
2415+
},
2416+
{
2417+
possibleIn: 1900,
2418+
necessaryAsOf: 1900,
2419+
level: ApplicationComplexity.Basic,
2420+
material: true,
2421+
step: 'update @angular/material',
2422+
action: 'Run `ng update @angular/material@19`.',
2423+
},
24012424
{
24022425
action:
24032426
'Angular directives, components and pipes are now standalone by default. Specify "standalone: false" for declarations that are currently declared in an NgModule. The Angular CLI will automatically update your code to reflect that.',

Diff for: adev-ja/src/app/features/update/recommendations.ts

+24-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.dev/license
7+
*/
8+
19
export enum ApplicationComplexity {
210
Basic = 1,
311
Medium = 2,
@@ -2397,7 +2405,22 @@ export const RECOMMENDATIONS: Step[] = [
23972405
action:
23982406
'`ComponentFixture.autoDetect` が `ApplicationRef.tick` 内のフィクスチャの変更検出を実行するようになったため、`ComponentFixture.autoDetect` を使用しているときに変更検出の実行順序に依存しているテストがあると、テストに失敗することがあります。たとえば、これによってテストフィクスチャは、これまではその逆であったかもしれませんが、作成するダイアログの前にリフレッシュされます。',
23992407
},
2400-
2408+
{
2409+
action:
2410+
"アプリケーションのプロジェクトディレクトリで、`ng update @angular/core@19 @angular/cli@19` を実行し、アプリケーションをAngular v19にアップデートしてください。",
2411+
level: ApplicationComplexity.Basic,
2412+
necessaryAsOf: 1900,
2413+
possibleIn: 1900,
2414+
step: '19.0.0_ng_update',
2415+
},
2416+
{
2417+
possibleIn: 1900,
2418+
necessaryAsOf: 1900,
2419+
level: ApplicationComplexity.Basic,
2420+
material: true,
2421+
step: '@angular/material をアップデートしてください。',
2422+
action: 'Run `ng update @angular/material@19`.',
2423+
},
24012424
{
24022425
action:
24032426
'Angularディレクティブ、コンポーネント、パイプはデフォルトでスタンドアロンになりました。現在NgModuleで宣言されている宣言には "standalone: false" を指定してください。Angular CLIは自動的にコードを更新します。',

Diff for: adev-ja/src/app/features/update/update.component.en.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.dev/license
7+
*/
8+
19
import {ChangeDetectionStrategy, Component, HostListener, inject} from '@angular/core';
210
import {Step, RECOMMENDATIONS} from './recommendations';
311
import {Clipboard} from '@angular/cdk/clipboard';
@@ -30,7 +38,6 @@ interface Option {
3038
CdkMenuModule,
3139
IconComponent,
3240
],
33-
standalone: true,
3441
changeDetection: ChangeDetectionStrategy.OnPush,
3542
})
3643
export default class AppComponent {

Diff for: adev-ja/src/app/features/update/update.component.ts

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.dev/license
7+
*/
8+
19
import {ChangeDetectionStrategy, Component, HostListener, inject} from '@angular/core';
210
import {Step, RECOMMENDATIONS} from './recommendations';
311
import {Clipboard} from '@angular/cdk/clipboard';

0 commit comments

Comments
 (0)