Initial commit

This commit is contained in:
2024-06-03 16:32:04 -07:00
committed by GitHub
commit 22d9a7e84e
232 changed files with 22758 additions and 0 deletions

20
quartz/util/ctx.ts Normal file
View File

@ -0,0 +1,20 @@
import { QuartzConfig } from "../cfg"
import { FullSlug } from "./path"
export interface Argv {
directory: string
verbose: boolean
output: string
serve: boolean
fastRebuild: boolean
port: number
wsPort: number
remoteDevHost?: string
concurrency?: number
}
export interface BuildCtx {
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
}