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
allows you to use the currently installed version of turbo, and not downloading a package
ensures that there won't be an accidental version mismatch
Non-goals
i don't care about vercel
Background
When running turbo-ignore in eg. a github action, it would be preferable if the build step, that already has cached and validated dependencies, including turbo and turbo-ignore.. and npx might not be in the current $PATH
Proposal
I propose not using a global npx turbo command internally to run the turbo command - possibly simply overriding the executable, but i'm sure there's a better way to infer the turbo command from the local project scope
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Goals
Non-goals
Background
When running turbo-ignore in eg. a github action, it would be preferable if the build step, that already has cached and validated dependencies, including turbo and turbo-ignore.. and npx might not be in the current $PATH
Proposal
I propose not using a global
npx turbo
command internally to run the turbo command - possibly simply overriding the executable, but i'm sure there's a better way to infer the turbo command from the local project scopeI'm referring to this line in particular:
https://github.com/vercel/turbo/blob/main/packages/turbo-ignore/src/ignore.ts#L107
Beta Was this translation helpful? Give feedback.
All reactions