pantry/projects/npmjs.com/npx-shim
2023-04-22 10:29:37 -04:00

10 lines
215 B
Bash
Executable file

#!/bin/sh
# or npx fails ※
# FIXME a patch to npm here then upstream would be preferable
mkdir -p ~/.local/lib
d="$(cd "$(dirname $0)" && pwd)"
"$d"/npm exec "$@"
# ※ https://github.com/teaxyz/cli/issues/532