- Revert v0.1.18, because some npm/pnpm flags are not supported by dum.
- Replacing
npm run
yarn
pnpm run
npx
pnpx
in npm script withdum
. - Tweak log format.
- fixed a regression where
dum <bin>
stopped working
- Resolve
-c <dir>
to absolute path, previously it always searches package.json from current directory even if-c
contains../
. - Allow flags in
install
uninstall
add
commands.
- Forward args to
install
uninstall
andadd
commands
- Commands like
install
uninstall
add
are now handled before npm scripts, previously if there're no scripts or no package.json the command will not be executed. - Properly restore cursor after
ctrl-c
.
- Ability to select npm scripts interactively, with
-i, --interactive
flag
- Properly concat
$PATH
on Windows. #24
- Resolve
node_modules/.bin
in parent directories too
- Fallback to run binaries in
node_modules/.bin/
when specified script doesn't exist inpackage.json
. - Available via Homebrew
brew install egoist/tap/dum
- Add
remove
command, mirrorsnpm remove
yarn remove
andpnpm remove
. - Add
-c <dir>
flag to change working directory.
- Fetch
PATH
env at runtime.
- Add command
add
- Forward args to
install
command.
- Alias script
t
totest
, sodum t
anddum test
are equivalent. - Add
install
command to automatically runnpm i
,yarn
orpnpm i
depending on the project.