Skip to content

Commit be30ef3

Browse files
ChanMeng666claude
andcommitted
chore(deploy): add vercel.json for docs-site and playground
Encode the monorepo-aware build for each site so Git integration (or `vercel` CLI) is turnkey: install + build the core at the repo root first, then the site. Set each Vercel project's Root Directory to the matching subdir. - docs-site: cd .. && npm run docs:build → .vitepress/dist - playground: cd .. && npm run playground:build → dist Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a9c2397 commit be30ef3

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

docs-site/vercel.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"framework": null,
4+
"installCommand": "cd .. && npm install",
5+
"buildCommand": "cd .. && npm run docs:build",
6+
"outputDirectory": ".vitepress/dist"
7+
}

playground/vercel.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"framework": null,
4+
"installCommand": "cd .. && npm install",
5+
"buildCommand": "cd .. && npm run playground:build",
6+
"outputDirectory": "dist"
7+
}

0 commit comments

Comments
 (0)