Skip to content

Commit 0aaeca7

Browse files
committed
docs: update links to the Angular update guide
The update guide moved from `https://update.angular.dev/` to `https://angular.dev/update-guide`. Update the README, the `ng update` command description and error messages, and the `@angular/build` version-mismatch error to point to the new location. The `v` query parameter is still supported by the new page.
1 parent d542827 commit 0aaeca7

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Angular is cross-platform, fast, scalable, has incredible tooling, and is loved
9797

9898
## Upgrading
9999

100-
Check out our [upgrade guide](https://update.angular.dev/) to find out the best way to upgrade your project.
100+
Check out our [upgrade guide](https://angular.dev/update-guide) to find out the best way to upgrade your project.
101101

102102
## Contributing
103103

‎packages/angular/build/src/utils/version.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function assertCompatibleAngularVersion(projectRoot: string): void | neve
6666
console.error(
6767
`Error: The current version of "@angular/build" supports Angular versions ${supportedAngularSemver},\n` +
6868
`but detected Angular version ${raw} instead.\n` +
69-
'Please visit the link below to find instructions on how to update Angular.\nhttps://update.angular.dev/',
69+
'Please visit the link below to find instructions on how to update Angular.\nhttps://angular.dev/update-guide',
7070
);
7171

7272
process.exit(3);

‎packages/angular/cli/src/commands/update/cli.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs
6363
private readonly resolvePaths = [import.meta.dirname, this.context.root];
6464

6565
command = 'update [packages..]';
66-
describe = 'Updates your workspace and its dependencies. See https://update.angular.dev/.';
66+
describe = 'Updates your workspace and its dependencies. See https://angular.dev/update-guide.';
6767
override longDescription = longDescription;
6868

6969
builder(localYargs: Argv): Argv<UpdateCommandArgs> {
@@ -497,7 +497,7 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs
497497
// Example @angular/core skipped version 3, @angular/cli skipped versions 2-5.
498498
logger.error(
499499
`Updating multiple major versions of '${name}' at once is not supported. Please migrate each major version individually.\n` +
500-
`For more information about the update process, see https://update.angular.dev/.`,
500+
`For more information about the update process, see https://angular.dev/update-guide.`,
501501
);
502502
} else {
503503
const nextMajorVersionFromCurrent = currentMajorVersion + 1;
@@ -506,7 +506,7 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs
506506
`Updating multiple major versions of '${name}' at once is not supported. Please migrate each major version individually.\n` +
507507
`Run 'ng update ${name}@${nextMajorVersionFromCurrent}' in your workspace directory ` +
508508
`to update to latest '${nextMajorVersionFromCurrent}.x' version of '${name}'.\n\n` +
509-
`For more information about the update process, see https://update.angular.dev/?v=${currentMajorVersion}.0-${nextMajorVersionFromCurrent}.0`,
509+
`For more information about the update process, see https://angular.dev/update-guide?v=${currentMajorVersion}.0-${nextMajorVersionFromCurrent}.0`,
510510
);
511511
}
512512

‎scripts/templates/readme.ejs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Angular is cross-platform, fast, scalable, has incredible tooling, and is loved
9797

9898
## Upgrading
9999

100-
Check out our [upgrade guide](https://update.angular.dev/) to find out the best way to upgrade your project.
100+
Check out our [upgrade guide](https://angular.dev/update-guide) to find out the best way to upgrade your project.
101101

102102
## Contributing
103103

0 commit comments

Comments
 (0)