🎉 initiate project *astro_rewrite*

This commit is contained in:
sindrekjelsrud 2023-07-19 21:31:30 +02:00
parent ffd4d5e86c
commit 2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions

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

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

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

@ -0,0 +1,13 @@
import fs from "node:fs";
import { syncCli } from "../../core/sync/index.js";
import { loadSettings } from "../load-settings.js";
async function sync({ flags, logging }) {
const settings = await loadSettings({ cmd: "sync", flags, logging });
if (!settings)
return;
const exitCode = await syncCli(settings, { logging, fs, flags });
return exitCode;
}
export {
sync
};