Skip to content

Commit 9d077fd

Browse files
committed
fix: clean up comments
1 parent 0878f16 commit 9d077fd

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

modules/standard-site-sync.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export default defineNuxtModule({
1515
nuxt.hook('content:file:afterParse', ctx => {
1616
const { content } = ctx
1717

18-
// Marshal content into site.standard.document using generated $build
1918
const document = site.standard.document.$build({
2019
site: PUBLICATION_SITE,
2120
path: content.path as string,
@@ -25,7 +24,7 @@ export default defineNuxtModule({
2524
publishedAt: new Date(content.date as string).toISOString(),
2625
})
2726

28-
// Mock PDS push
27+
// TODO: Mock PDS push
2928
console.log('[standard-site-sync] Would push:', JSON.stringify(document, null, 2))
3029
})
3130
},

shared/schemas/blog.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import { object, string, boolean, array, optional } from 'valibot'
22
import type { InferOutput } from 'valibot'
33

4-
/**
5-
* Schema for blog post frontmatter
6-
* Uses simple Valibot primitives (required by Nuxt Content's JSON Schema conversion)
7-
*/
84
export const BlogPostSchema = object({
95
title: string(),
106
date: string(),

0 commit comments

Comments
 (0)