You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swh00tw edited this page Dec 18, 2024
·
1 revision
Scripts
vercel-build-ignore.sh
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.