NOTE: I no longer use this script since the release of turbo-ignore
(More details)
Example of a script called by vercel
Ignored Build Step
option to only build application in monorepo when changes have been detected.
node ../../scripts/ignore-step.js
More details available here
Ah yes, thanks @paul-vd ! I removed this by accident when generalizing this for the gist - I’ll get that fixed! But the intention is for the app var to be pulled from the command line as described in the README above.
Here is how I’m using this in my own monorepo:
https://github.com/tknickman/personal/blob/main/scripts/ignore-step.js