Brackets in a glob mean brackets
Brackets in a glob mean brackets
In a vx glob, [jt] matches one character, as in Turbo, Nx and your shell. A Next.js route folder like app/[id] needs escaping.
// the vx blog
Posts tagged config.
Brackets in a glob mean brackets
In a vx glob, [jt] matches one character, as in Turbo, Nx and your shell. A Next.js route folder like app/[id] needs escaping.
Say which projects may depend on which
Tag your projects by layer and say which may depend on which. vx lock refuses a dependency that breaks a rule, and runs pay nothing.
One name per setting
Every vx setting has one name. run.retries is VX_RUN_RETRIES and --retries. Learn one, know all three.
Guard rails that tell you the fix
When vx stops something, it names the file and the fix. Sandbox refusals, two tasks writing one folder, a config that hangs.
Say exactly which tasks to run
dependsOn says what a task needs first, --filter says which projects to run. A name that matches nothing stops the run before it starts.
Hash what the config turns into
vx hashes your config after it runs. Change a preset you import and every task that uses it gets a new key, with no list to maintain.
Config in TypeScript, and why there are no named inputs
A vx.config.ts is TypeScript, so you share settings with an import. That removes globalDependencies and namedInputs from the schema.
vx lock: run configs once, check them in CI
vx lock runs every config once and saves the result. Every run reads it, and vx lock --check catches drift a file hash can't see.