pantry/projects/npmjs.com/npx-shim
2023-11-22 07:05:52 -05:00

11 lines
250 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)"
exec "$d"/lib/node_modules/npm/bin/npx-cli.js "$@"
# ※ https://github.com/teaxyz/cli/issues/532