aboutsummaryrefslogtreecommitdiff
path: root/website/package.json
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-08-14 03:12:00 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-08-14 03:12:00 +0300
commitb710176fd23f4dfa3b3c2fa9b0c326b11dd5fd17 (patch)
tree0561310dd2a46e012c81de4e30c8e7ba838f1b9a /website/package.json
parent1bfabbab3fc9a79bf3b93f5dc3962fb8e7afea50 (diff)
fix(docs): apply llms patch during website builds
Diffstat (limited to 'website/package.json')
-rw-r--r--website/package.json10
1 files changed, 4 insertions, 6 deletions
diff --git a/website/package.json b/website/package.json
index d3c35a89..d4474007 100644
--- a/website/package.json
+++ b/website/package.json
@@ -4,10 +4,11 @@
"type": "module",
"scripts": {
"prepare-docs": "node scripts/prepare-docs.mjs",
- "dev": "node scripts/prepare-docs.mjs --draft && astro dev",
+ "prepare-llms": "node scripts/patch-starlight-llms.mjs",
+ "dev": "bun run prepare-llms && node scripts/prepare-docs.mjs --draft && astro dev",
"test": "bun test",
- "build": "bun run test && node scripts/prepare-docs.mjs && astro build && node scripts/check-built-docs.mjs",
- "build:draft": "node scripts/prepare-docs.mjs --draft && astro build && node scripts/check-built-docs.mjs",
+ "build": "bun run test && bun run prepare-llms && node scripts/prepare-docs.mjs && astro build && node scripts/check-built-docs.mjs",
+ "build:draft": "bun run prepare-llms && node scripts/prepare-docs.mjs --draft && astro build && node scripts/check-built-docs.mjs",
"preview": "astro preview"
},
"dependencies": {
@@ -15,8 +16,5 @@
"@astrojs/starlight": "^0.36.0",
"astro": "^5.0.0",
"starlight-llms-txt": "0.6.1"
- },
- "patchedDependencies": {
- "starlight-llms-txt@0.6.1": "patches/starlight-llms-txt@0.6.1.patch"
}
}