Hasty Briefsbeta

Pkij: Single-file, zero-dependency CLI tool designed for managing monorepos

3 days ago
  • #cli-tool
  • #monorepo
  • #npm-packages
  • Pkij is a single-file, zero-dependency CLI tool for managing monorepos.
  • It supports building, testing, and publishing NPM packages within a monorepo.
  • Manages inter-package dependencies, tsconfig, and package.json references.
  • Allows injection of external packages into the monorepo without continuous NPM publishing.
  • Supports flexible CLI arguments for package management, linking strategies, and build processes.
  • Key features include --inject, --eject, --build, --test, --publish, and --set-version commands.
  • Can handle environment files and offers options like --dry-run, --link, and --git-ignore.
  • Config files define package injection paths and per-package configurations.
  • Example usage includes injecting a package from a local repo into the monorepo.