Skip to content
vxvx
GitHubBlueskydev.toRSS

// the vx blog

config

Posts tagged config.

RSS

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.

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.

Turborepo, Nx and other product names are trademarks of their owners. vx is not affiliated with or endorsed by them.