2 releases
0.1.1 | Sep 24, 2024 |
---|---|
0.1.0 | Aug 13, 2024 |
#1630 in Command line utilities
188 downloads per month
19KB
260 lines
pnpm-extra
Just a few missing utilities in pnpm:
pnpm-extra tree
Modelled on cargo tree -i
, this is a better replacement for pnpm why
that:
- shows an inverse dependency tree, which I find much more useful,
- always shows everything in the workspace,
- doesn't descend into dependencies that were already shown,
- also just gives a more compact output
pnpm-extra catalog add
Like pnpm add
but for adding catalog entries to pnpm-workspace.yaml
.
Pretty early: doesn't preserve any comments or formatting, so it
runs prettier
on the file afterwards.
lib.rs
:
pnpm-extra
The library for the pnpm-extra
binary.
At the moment this simply exports the print_tree
function that implments the pnpm-extra tree
command, and the read_workspace
function that reads the pnpm-workspace.yaml
file used by
pnpm-extra catalog add
command.
There is no expectation of stability or backwards compatibility for this library at this time, use at your own risk!
Dependencies
~5–12MB
~148K SLoC