fix: add playground vercel.json and fix build scripts
- Add vercel.json for playground app to configure Vercel deployment - Add build:playground script to build playground and its dependencies - Fix build:web to use ... suffix for building dependencies first
This commit is contained in:
parent
366c1ca147
commit
1e49e5f9a5
2 changed files with 7 additions and 1 deletions
5
apps/playground/vercel.json
Normal file
5
apps/playground/vercel.json
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
||||||
|
"buildCommand": "cd ../.. && pnpm -w run build:playground",
|
||||||
|
"installCommand": "pnpm install"
|
||||||
|
}
|
||||||
|
|
@ -31,7 +31,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "turbo dev",
|
"dev": "turbo dev",
|
||||||
"build": "turbo build",
|
"build": "turbo build",
|
||||||
"build:web": "turbo run build --filter=@tpmjs/web",
|
"build:web": "turbo run build --filter=@tpmjs/web...",
|
||||||
|
"build:playground": "turbo run build --filter=@tpmjs/playground...",
|
||||||
"test": "turbo test",
|
"test": "turbo test",
|
||||||
"test:ui": "turbo test:ui",
|
"test:ui": "turbo test:ui",
|
||||||
"lint": "turbo lint",
|
"lint": "turbo lint",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue