From ae80a2cdc61f1a4274fbba7c63b22e5ad6d69144 Mon Sep 17 00:00:00 2001 From: Carlos Arias Date: Sat, 4 Jul 2026 23:34:58 +0000 Subject: [PATCH] fix(configure): set content-pipeline projectRoot to the clone's path (was comiida's) Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01SYHWLHihq3v9nxNwoPCKSn --- content-pipeline/config.json | 2 +- scripts/configure.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/content-pipeline/config.json b/content-pipeline/config.json index fe32e19..1fc6d5e 100644 --- a/content-pipeline/config.json +++ b/content-pipeline/config.json @@ -7,7 +7,7 @@ "language": "en" }, "paths": { - "projectRoot": "/www/wwwroot/comiida.com", + "projectRoot": "/www/wwwroot/seedproject-web", "appDir": "app", "blogContentDir": "app/src/content/blog", "blogDataFile": "app/src/lib/blog-data.js", diff --git a/scripts/configure.mjs b/scripts/configure.mjs index 9498854..2245c51 100755 --- a/scripts/configure.mjs +++ b/scripts/configure.mjs @@ -43,6 +43,7 @@ if (existsSync(resolve(root, "content-pipeline/config.json"))) { const cp = read("content-pipeline/config.json"); cp.site = { ...cp.site, url: site.url, name: site.name, topic: site.topic, audience: site.audience, language: site.language }; cp.author = { ...(cp.author || {}), slug: site.author.slug, name: site.author.name }; + if (cp.paths) cp.paths.projectRoot = root; // this clone's absolute path, not comiida's if (cp.editorial) cp.editorial.timezone = site.timezone; if (cp.image && cp.image.credit) cp.image.credit.author = site.name; write("content-pipeline/config.json", cp);