workspace-tools

workspace-tools

A collection of utilities that are useful in a git-controlled monorepo managed by one of these tools:

  • lerna
  • npm workspaces
  • pnpm workspaces
  • rush
  • yarn workspaces

Environment variables

GIT_DEBUG

Set to any value to log output for all git commands.

GIT_MAX_BUFFER

Override the maxBuffer value for git processes, for example if the repo is very large. workspace-tools uses 500MB by default.

PREFERRED_WORKSPACE_MANAGER

Sometimes if multiple workspace manager files are checked in, it's necessary to hint which manager is used: npm, yarn, pnpm, rush, or lerna.

VERBOSE

Log additional output from certain functions.

Generated using TypeDoc