chore: appease typescript
This commit is contained in:
parent
cbb244421b
commit
2a75c745eb
2 changed files with 10 additions and 2 deletions
|
@ -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<Context, 'cwd' | 'version' | 'packag
|
|||
|
||||
// Side-effect! Persist dependency info to the shared context
|
||||
collectPackageInfo(ctx, dependencies, devDependencies);
|
||||
ctx.packages.sort((a) => {
|
||||
ctx.packages.sort((a: PackageInfo) => {
|
||||
if (a.name === 'astro') return -1;
|
||||
return 0;
|
||||
})
|
||||
|
|
|
@ -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'}
|
||||
|
|
Loading…
Reference in a new issue