Website Structure

This commit is contained in:
supalerk-ar66 2026-01-13 10:46:40 +07:00
parent 62812f2090
commit 71f0676a62
22365 changed files with 4265753 additions and 791 deletions

View file

@ -0,0 +1,21 @@
import { defineCommand } from 'citty';
import { createNitro, writeTypes } from 'nitropack/core';
import { resolve } from 'pathe';
import { c as commonArgs } from './common.mjs';
const prepare = defineCommand({
meta: {
name: "prepare",
description: "Generate types for the project"
},
args: {
...commonArgs
},
async run({ args }) {
const rootDir = resolve(args.dir || args._dir || ".");
const nitro = await createNitro({ rootDir });
await writeTypes(nitro);
}
});
export { prepare as default };