@traf/nx
TypeScript icon, indicating that this package has built-in type declarations

0.0.22 • Public • Published

traf 🚀

Avoid unnecessary builds, tests, lint and more in your monorepo CI. Optimize your development process by intelligently finding affected dependencies and selectively triggering builds and tests only when needed.

@traf/nx

A cli tool that wraps @traf/core to be used with Nx.

Will automatically find all projects in the nx workspace.

Usage

npx @traf/nx@latest affected <action> [options]

Options

Option Description Default
--cwd The current working directory process.cwd()
--all Outputs all available projects regardless of changes false
--base The base branch to compare against origin/main
--tsConfigFilePath The path to the root tsconfig file tsconfig.base.json
--action The action to perform. Can be any command log
--json Output the result as JSON false
--includeFiles Comma separated list of glob patterns to include (relative to projects' source root)
--target Comma separated list of targets to filter affected projects by

Package Sidebar

Install

npm i @traf/nx

Weekly Downloads

849

Version

0.0.22

License

MIT

Unpacked Size

27.1 kB

Total Files

9

Last publish

Collaborators

  • eladbezalel