This commit is contained in:
Max Howell 2023-11-22 07:05:52 -05:00 committed by GitHub
parent 9855babea4
commit b5f4aa1b4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -43,6 +43,7 @@ build:
- run: | - run: |
rm npx rm npx
mv $SRCROOT/props/npx-shim npx mv $SRCROOT/props/npx-shim npx
working-directory: working-directory:
${{prefix}}/bin ${{prefix}}/bin