Files
ai-directory-platform/package.json
T
bigcode 05440ffb5b feat: 服务器迁移后的全量演进(依赖升级/安全审计/设计统一/截图/SEO 底座化)
在原仓库历史之上同步本服务器上的全部演进:

- 迁移至新服务器并重建 PG 数据库 + ddnc 开发域名绑定
- 全部依赖升级至最新(Next 16.3.5 / React 19.3 / better-auth 1.7.5 / Drizzle 0.45 / TS 7),
  overrides 消除已知 CVE,安全审计 19 项发现全部修复闭环
- 设计统一:各站宽度 token(--container + site-container)、classic hero 重设计、
  头部换行修复、页面过渡与 View Transitions
- 截图功能:api.adx9.com 截图服务接入(ow=800 本地化 webp、cf=1、去重/限流/占位图)
- SEO 底座化:canonical/hreflang/sitemap/JSON-LD/robots 全部收进 core,新站自动继承
- 加载体验:五站五形态路由骨架(data-theme 切换、shimmer 微光、延迟淡入)+
  过滤 useTransition 交叉淡入淡出(card-enter 错峰入场)
- 构建:experimental.cpus 限流防 PG 连接打满;清理死组件链
2026-09-15 18:19:53 +08:00

25 lines
1.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "ai-directory-platform",
"version": "1.0.0",
"description": "AI Directory Platform — 可复用 AI Directory 底座 + 多站点(monorepo)",
"private": true,
"workspaces": [
"packages/*",
"sites/*"
],
"scripts": {
"build:core": "bun run --filter '@aidir/core' generate:blog-manifest",
"gen:sites": "bun packages/core/scripts/generate-site.mjs all",
"db:push": "bun run --filter '@aidir/core' db:push",
"db:migrate": "bun run --filter '@aidir/core' db:migrate",
"seed": "bun packages/core/scripts/seed-platform.ts --force",
"test": "bun test packages/core/tests",
"typecheck": "tsc --noEmit -p packages/core && tsc --noEmit -p sites/ai-stack && tsc --noEmit -p sites/launchai && tsc --noEmit -p sites/the-ai-ledger && tsc --noEmit -p sites/devai-tools && tsc --noEmit -p sites/findai",
"build:all": "for s in ai-stack launchai the-ai-ledger devai-tools findai; do (cd sites/$s && bun run build); done",
"start:all": "bash packages/core/scripts/start-all-sites.sh"
},
"overrides": {
"prismjs": "^1.30.0",
"esbuild": "^0.25.12"
}
}