Something went wrong. Try again.
A custom fork of Quartz to generate my Digital Garden site
Something went wrong. Try again.
1234567891011121314151617import path from "path"import { readFileSync } from "fs"
/** * All constants relating to helpers or handlers */export const ORIGIN_NAME = "origin"export const UPSTREAM_NAME = "upstream"export const QUARTZ_SOURCE_BRANCH = "v5"export const QUARTZ_SOURCE_REPO = "https://github.com/jackyzha0/quartz.git"export const cwd = process.cwd()export const cacheDir = path.join(cwd, ".quartz-cache")export const cacheFile = "./quartz/.quartz-cache/transpiled-build.mjs"export const fp = "./quartz/build.ts"export const { version } = JSON.parse(readFileSync("./package.json").toString())export const contentCacheFolder = path.join(cacheDir, "content-cache")