From c1e67066aa9f9fdad324d9fe7e750470935be2b2 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Fri, 7 Oct 2022 01:38:38 +0400 Subject: [PATCH] vercel.json configs --- packages/components/vercel.json | 6 ++++++ packages/website/vercel.json | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 packages/components/vercel.json create mode 100644 packages/website/vercel.json diff --git a/packages/components/vercel.json b/packages/components/vercel.json new file mode 100644 index 00000000..1eec6c55 --- /dev/null +++ b/packages/components/vercel.json @@ -0,0 +1,6 @@ +{ + "buildCommand": "cd ../squiggle-lang && yarn build && cd ../components && yarn build", + "outputDirectory": "storybook-static", + "installCommand": "cd ../../ && yarn", + "ignoreCommand": "node -e 'process.exitCode = process.env.VERCEL_GIT_COMMIT_REF.includes(\"dependabot\") ? 0 : 1' && git diff --quiet $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA . ../squiggle-lang" +} diff --git a/packages/website/vercel.json b/packages/website/vercel.json new file mode 100644 index 00000000..0350ebe1 --- /dev/null +++ b/packages/website/vercel.json @@ -0,0 +1,6 @@ +{ + "buildCommand": "cd ../squiggle-lang && yarn build && cd ../components && yarn build && cd ../website && yarn build", + "framework": "docusaurus-2", + "installCommand": "cd ../../ && yarn", + "ignoreCommand": "node -e 'process.exitCode = process.env.VERCEL_GIT_COMMIT_REF.includes(\"dependabot\") ? 0 : 1' && git diff --quiet $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA ../squiggle-lang ../components ." +}