0.0.17-2 • Published 5 months ago

@daotl/traf-nx v0.0.17-2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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

OptionDescriptionDefault
--cwdThe current working directoryprocess.cwd()
--allOutputs all available projects regardless of changesfalse
--baseThe base branch to compare againstorigin/main
--tsConfigFilePathThe path to the root tsconfig filetsconfig.base.json
--actionThe action to perform. Can be any commandlog
--jsonOutput the result as JSONfalse
--includeFilesComma separated list of glob patterns to include (relative to projects' source root)
--targetComma separated list of targets to filter affected projects by