2.10.4 • Published 6 months ago

@monorepo-utils/get-workspaces-cli v2.10.4

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

@monorepo-utils/package-utils

A CLI that get "workspaces" package locations from monorepo.

Usage

Usage: npx @monorepo-utils/get-workspaces-cli [options]

Options:
--help, -h        Show this help message
--cwd <path>      Current working directory (default: process.cwd())
--format <format> Output format (default: line) Supported formats: line, json
--filter <filter> Filter packages by package's name (default: undefined)

Examples:
# Get parsable workspace paths
$ npx -y -q @monorepo-utils/get-workspaces-cli
# Filter packages by package's name
$ npx -y -q @monorepo-utils/get-workspaces-cli --filter example-name
# Execute command for each package
$ npx -y -q @monorepo-utils/get-workspaces-cli | xargs -I{} sh -c 'cd {}; pwd'

Changelog

See Releases page.

Running tests

yarn test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

Thanks to azz/get-monorepo-packages: Get a list of packages from a monorepo

2.10.4

6 months ago

2.10.3

6 months ago

2.10.2

10 months ago

2.10.1

11 months ago

2.10.0

11 months ago