add bash scripts for Vercel (#2494)

A neighbouring PR #2481 changes Yarn version, which fails the build on
Vercel. This PR extracts the invocations Vercel uses into bash scripts,
so they can be changed atomically.

### Change Type

- [ ] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [ ] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [x] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know
This commit is contained in:
Dan Groshev 2024-01-17 14:17:06 +00:00 committed by GitHub
parent b87dac538d
commit ef68211bae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

4
scripts/vercel/build.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -eux
.yarn/releases/yarn-3.5.0.cjs run -T lazy build --filter=apps/examples --filter=packages/tldraw

4
scripts/vercel/install.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -eux
.yarn/releases/yarn-3.5.0.cjs