update vercel configs to use turbo

This commit is contained in:
Vyacheslav Matyukhin 2022-10-08 17:41:58 +04:00
parent 07fcbeb568
commit 7493f2e2e5
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C
2 changed files with 4 additions and 8 deletions

View File

@ -1,6 +1,4 @@
{ {
"buildCommand": "cd ../squiggle-lang && yarn build && cd ../components && yarn build", "buildCommand": "cd ../.. && npx turbo run build --filter=@quri/squiggle-components",
"outputDirectory": "storybook-static", "outputDirectory": "storybook-static"
"installCommand": "cd ../../ && yarn",
"ignoreCommand": "git diff --quiet $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA . ../squiggle-lang"
} }

View File

@ -1,6 +1,4 @@
{ {
"buildCommand": "cd ../squiggle-lang && yarn build && cd ../components && yarn build && cd ../website && yarn build", "buildCommand": "cd ../.. && npx turbo run build --filter=squiggle-website",
"framework": "docusaurus-2", "framework": "docusaurus-2"
"installCommand": "cd ../../ && yarn",
"ignoreCommand": "git diff --quiet $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA ../squiggle-lang ../components ."
} }