fix(@angular/cli): change update guide link to angular.dev

References to the Angular update guide now use the new angular.dev site.
This commit is contained in:
Charles Lyding 2024-05-17 11:41:49 -04:00 committed by Charles
parent 593050e6d8
commit cb18da3917
5 changed files with 7 additions and 7 deletions

View File

@ -106,7 +106,7 @@ Angular is cross-platform, fast, scalable, has incredible tooling, and is loved
## Upgrading
Check out our [upgrade guide](https://update.angular.io/) to find out the best way to upgrade your project.
Check out our [upgrade guide](https://update.angular.dev/) to find out the best way to upgrade your project.
## Contributing

View File

@ -73,7 +73,7 @@ export function assertCompatibleAngularVersion(projectRoot: string): void | neve
console.error(
`This version of CLI is only compatible with Angular versions ${supportedAngularSemver},\n` +
`but Angular version ${angularVersion} was found instead.\n` +
'Please visit the link below to find instructions on how to update Angular.\nhttps://update.angular.io/',
'Please visit the link below to find instructions on how to update Angular.\nhttps://update.angular.dev/',
);
process.exit(3);

View File

@ -81,7 +81,7 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs
protected override shouldReportAnalytics = false;
command = 'update [packages..]';
describe = 'Updates your workspace and its dependencies. See https://update.angular.io/.';
describe = 'Updates your workspace and its dependencies. See https://update.angular.dev/.';
longDescriptionPath = join(__dirname, 'long-description.md');
builder(localYargs: Argv): Argv<UpdateCommandArgs> {
@ -716,7 +716,7 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs
// Example @angular/core skipped version 3, @angular/cli skipped versions 2-5.
logger.error(
`Updating multiple major versions of '${name}' at once is not supported. Please migrate each major version individually.\n` +
`For more information about the update process, see https://update.angular.io/.`,
`For more information about the update process, see https://update.angular.dev/.`,
);
} else {
const nextMajorVersionFromCurrent = currentMajorVersion + 1;
@ -725,7 +725,7 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs
`Updating multiple major versions of '${name}' at once is not supported. Please migrate each major version individually.\n` +
`Run 'ng update ${name}@${nextMajorVersionFromCurrent}' in your workspace directory ` +
`to update to latest '${nextMajorVersionFromCurrent}.x' version of '${name}'.\n\n` +
`For more information about the update process, see https://update.angular.io/?v=${currentMajorVersion}.0-${nextMajorVersionFromCurrent}.0`,
`For more information about the update process, see https://update.angular.dev/?v=${currentMajorVersion}.0-${nextMajorVersionFromCurrent}.0`,
);
}

View File

@ -19,4 +19,4 @@ For example, use the following command to take the latest 10.x.x version and use
ng update @angular/cli@^10 @angular/core@^10
```
For detailed information and guidance on updating your application, see the interactive [Angular Update Guide](https://update.angular.io/).
For detailed information and guidance on updating your application, see the interactive [Angular Update Guide](https://update.angular.dev/).

View File

@ -106,7 +106,7 @@ Angular is cross-platform, fast, scalable, has incredible tooling, and is loved
## Upgrading
Check out our [upgrade guide](https://update.angular.io/) to find out the best way to upgrade your project.
Check out our [upgrade guide](https://update.angular.dev/) to find out the best way to upgrade your project.
## Contributing