pantry/projects/npmjs.com/npx-shim

11 lines
250 B
Text
Raw Normal View History

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