Skip to content

Commit 77714cc

Browse files
clydinvikerman
authored andcommitted
fix(@schematics/angular): disable i18n migrations
1 parent ea37808 commit 77714cc

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

packages/schematics/angular/migrations/update-9/update-workspace-config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export function updateWorkspaceConfig(): Rule {
3333
updateStyleOrScriptOption('scripts', recorder, target);
3434
addAnyComponentStyleBudget(recorder, target);
3535
updateAotOption(tree, recorder, target);
36-
addBuilderI18NOptions(recorder, target);
3736
}
3837

3938
for (const { target } of getTargets(workspace, 'test', Builders.Karma)) {
@@ -43,11 +42,6 @@ export function updateWorkspaceConfig(): Rule {
4342

4443
for (const { target } of getTargets(workspace, 'server', Builders.Server)) {
4544
updateOptimizationOption(recorder, target);
46-
addBuilderI18NOptions(recorder, target);
47-
}
48-
49-
for (const { target, project } of getTargets(workspace, 'extract-i18n', Builders.ExtractI18n)) {
50-
addProjectI18NOptions(recorder, target, project);
5145
}
5246

5347
tree.commitUpdate(recorder);

packages/schematics/angular/migrations/update-9/update-workspace-config_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ describe('Migration to version 9', () => {
297297
});
298298
});
299299

300-
describe('i18n configuration', () => {
300+
xdescribe('i18n configuration', () => {
301301
function getI18NConfig(localId: string): object {
302302
return {
303303
outputPath: `dist/my-project-${localId}/`,

0 commit comments

Comments
 (0)