From adba9152f547893b24554d11ca1a240593a8c0ac Mon Sep 17 00:00:00 2001 From: Samgu Lee Date: Fri, 2 Oct 2026 02:43:20 +0900 Subject: [PATCH] refactor: update package.json scripts, improve VerticalPipeline component, and adjust publishedAt type in content config --- package.json | 3 ++- src/components/VerticalPipeline.astro | 2 +- src/content.config.ts | 2 +- src/pages/index.astro | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d0d201b..6cf42ff 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "test:e2e": "playwright test", "build": "astro build", "preview": "astro preview", - "astro": "astro" + "astro": "astro", + "astro:check": "astro check" }, "dependencies": { "@astrojs/mdx": "^8.0.2", diff --git a/src/components/VerticalPipeline.astro b/src/components/VerticalPipeline.astro index b063c87..715f1c3 100644 --- a/src/components/VerticalPipeline.astro +++ b/src/components/VerticalPipeline.astro @@ -14,7 +14,7 @@ const steps = [ class="my-8 relative pl-6 before:absolute before:top-2 before:bottom-2 before:left-[11px] before:w-0.5 before:bg-slate-200" > { - steps.map((step, idx) => ( + steps.map((step) => (
{/* 타임라인 노드 포인트 */} diff --git a/src/content.config.ts b/src/content.config.ts index a5ce50e..bedbcc9 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -6,7 +6,7 @@ const baseCollectionSchema = z.object({ title: z.string(), description: z.string(), version: z.string(), - publishedAt: z.string().datetime(), + publishedAt: z.iso.datetime(), }); export const collections = { diff --git a/src/pages/index.astro b/src/pages/index.astro index 53f120c..3a75373 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,5 @@ --- import HomeLayout from '../layouts/HomeLayout.astro'; -import heroBg from '../assets/hero-background.jpg'; // 코어 워크플로 파이프라인 데이터 const pipelineSteps = [