diff --git a/packages/upgrade/src/actions/verify.ts b/packages/upgrade/src/actions/verify.ts index 18c86b5b1..5529649db 100644 --- a/packages/upgrade/src/actions/verify.ts +++ b/packages/upgrade/src/actions/verify.ts @@ -1,4 +1,4 @@ -import type { Context, PackageInfo } from './context'; +import type { Context, PackageInfo } from './context.js'; import dns from 'node:dns/promises'; import { existsSync } from 'node:fs'; @@ -60,7 +60,7 @@ async function verifyAstroProject(ctx: Pick { + ctx.packages.sort((a: PackageInfo) => { if (a.name === 'astro') return -1; return 0; }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a808d04ec..f78c1b8ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5243,6 +5243,14 @@ packages: - prettier-plugin-astro dev: true + /@astrojs/cli-kit@0.2.3: + resolution: {integrity: sha512-MjB42mpIG/F2rFtdp4f3NylFCILuFSib2yITSq65fRaDFn8+UC8EMh6T7Jr3YqHAbUY5r8V8QWNgH4keOEO2BA==} + dependencies: + chalk: 5.3.0 + log-update: 5.0.1 + sisteransi: 1.0.5 + dev: false + /@astrojs/cli-kit@0.3.0: resolution: {integrity: sha512-nil0Kz2xuzR3xQX+FVHg2W8g+FvbeUeoCeU53duQjAFuHRJrbqWRmgfjYeM6f2780dsSuGiYMXmY+IaJqaqiaw==} engines: {node: '>=18.14.1'}