-
Notifications
You must be signed in to change notification settings - Fork 1
Scripts
swh00tw edited this page Dec 18, 2024
·
1 revision
This script is used in the Vercel build step to determine if the given app should be ignored in the build step.
Usage:
bash scripts/vercel-build-ignore.sh APP_NAME
For example:
bash scripts/vercel-build-ignore.sh recnet-docs
The script will exit with 0 if the given app need to be ignored in Vercel build step, otherwise exit with 1. (Create new build)
Under the hood, it uses the pnpm nx show projects --affected
command to show all affected projects by current changes. And use grep
to check if the given app is in the list.