1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-25 07:41:30 +00:00

chore(deps): replace chalk and rimraf with builtin functions (#1879)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
fl0werpowers
2025-05-28 10:40:51 +02:00
committed by GitHub
parent 51b43a2115
commit 951d1dec24
14 changed files with 94 additions and 475 deletions

View File

@@ -8,7 +8,7 @@ import { FullPageLayout } from "../../cfg"
import { pathToRoot } from "../../util/path"
import { defaultContentPageLayout, sharedPageComponents } from "../../../quartz.layout"
import { Content } from "../../components"
import chalk from "chalk"
import { styleText } from "util"
import { write } from "./helpers"
import { BuildCtx } from "../../util/ctx"
import { Node } from "unist"
@@ -90,7 +90,8 @@ export const ContentPage: QuartzEmitterPlugin<Partial<FullPageLayout>> = (userOp
if (!containsIndex) {
console.log(
chalk.yellow(
styleText(
"yellow",
`\nWarning: you seem to be missing an \`index.md\` home page file at the root of your \`${ctx.argv.directory}\` folder (\`${path.join(ctx.argv.directory, "index.md")} does not exist\`). This may cause errors when deploying.`,
),
)