feat(skeleton): Astro 7.3.8 项目初始化(pnpm+TS strict)

- astro 锁 7.3.8:7.4 起 engines 要求 node>=22.23.4,宿主 22.22.3 差一档
- minimal 骨架:单页占位 + site=https://wait4x.online,集成留 T8 按任务接入

验证: pnpm astro build exit 0(1 page built)

Spec: 2026-10-24_add-blog-skeleton
Co-authored-by: GLM-5.3
This commit is contained in:
wait4xandGLM-5.3 committed 2026-10-24 23:07:11 +08:00
1 parent ce41c800ba
commit eeb9bde121
5 files changed
+2370

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
// @ts-check
import { defineConfig } from 'astro/config';
// 极简起点:集成(pagefind/rss/sitemap)在 T8 按任务加入,保持骨架可构建
export default defineConfig({
site: 'https://wait4x.online',
});
+15
View File
@@ -0,0 +1,15 @@
{
"name": "wait4x-blog",
"type": "module",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"astro": "^7.3.8"
}
}
+2335
View File
File diff suppressed because it is too large. Load diff
+8
View File
@@ -0,0 +1,8 @@
---
// T1 占位首页:T5 起替换为 BaseLayout + 真实首页结构
import '../styles/global.css';
---
<html lang="zh">
<head><meta charset="utf-8" /><title>wait4x</title></head>
<body>Phase 1 skeleton</body>
</html>
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]
}