添加搜索

This commit is contained in:
2026-07-18 10:58:33 +08:00 Unverified
parent 3867373850
commit c8b2039593
11 changed files with 859 additions and 3 deletions
+7 -1
View File
@@ -6,11 +6,17 @@
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview"
"preview": "astro preview",
"search:key": "node --env-file-if-exists=.env --env-file-if-exists=.env.local scripts/create-typesense-search-key.mjs",
"search:sync": "node --env-file-if-exists=.env --env-file-if-exists=.env.local --import tsx scripts/sync-typesense.ts"
},
"dependencies": {
"@astrojs/check": "^0.9.9",
"astro": "^7.1.0",
"typescript": "^6.0.3"
},
"devDependencies": {
"@types/node": "^26.1.1",
"tsx": "^4.23.1"
}
}