feat: migrate to starlight

This commit is contained in:
DuroCodes
2024-05-06 17:15:30 -04:00
parent 767acedea7
commit bb190f2d81
15140 changed files with 2828326 additions and 35408 deletions

6
node_modules/astro/dist/cli/sync/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,6 @@
import type yargs from 'yargs-parser';
interface SyncOptions {
flags: yargs.Arguments;
}
export declare function sync({ flags }: SyncOptions): Promise<import("../../core/sync/index.js").ProcessExit>;
export {};

22
node_modules/astro/dist/cli/sync/index.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
import { printHelp } from "../../core/messages.js";
import _sync from "../../core/sync/index.js";
import { flagsToAstroInlineConfig } from "../flags.js";
async function sync({ flags }) {
if (flags?.help || flags?.h) {
printHelp({
commandName: "astro sync",
usage: "[...flags]",
tables: {
Flags: [["--help (-h)", "See all available flags."]]
},
description: `Generates TypeScript types for all Astro modules.`
});
return 0;
}
const inlineConfig = flagsToAstroInlineConfig(flags);
const exitCode = await _sync(inlineConfig);
return exitCode;
}
export {
sync
};