From 7815e828f6f09a7bdd8ed7d4e01f0194f63f9540 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 6 Dec 2023 17:09:34 +0100 Subject: [PATCH] Update upgrade instructions to show new `@astrojs/upgrade` --- docs/src/content/docs/getting-started.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/content/docs/getting-started.mdx b/docs/src/content/docs/getting-started.mdx index a08e152befb..1157eb97a87 100644 --- a/docs/src/content/docs/getting-started.mdx +++ b/docs/src/content/docs/getting-started.mdx @@ -135,27 +135,27 @@ Because Starlight is beta software, there will be frequent updates and improveme Be sure to update Starlight regularly! ::: -Starlight is an Astro integration, and is updated like any `@astrojs/*` integration: +Starlight is an Astro integration. You can update it and other Astro packages by running the following command in your terminal: ```sh -npm install @astrojs/starlight@latest +npx @astrojs/upgrade ``` ```sh -pnpm upgrade @astrojs/starlight --latest +pnpm dlx @astrojs/upgrade ``` ```sh -yarn upgrade @astrojs/starlight --latest +yarn dlx @astrojs/upgrade ```