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:
1 parent
ce41c800ba
commit
eeb9bde121
5 files changed
+2370
No files matched your search
@@ -0,0 +1,7 @@
|
|||||||
|
// @ts-check
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
|
// 极简起点:集成(pagefind/rss/sitemap)在 T8 按任务加入,保持骨架可构建
|
||||||
|
export default defineConfig({
|
||||||
|
site: 'https://wait4x.online',
|
||||||
|
});
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
Generated
+2335
File diff suppressed because it is too large.
Load diff
@@ -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>
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"extends": "astro/tsconfigs/strict",
|
||||||
|
"include": [".astro/types.d.ts", "**/*"],
|
||||||
|
"exclude": ["dist"]
|
||||||
|
}
|
||||||
Reference in new issue
Block a user