Files
diachron/framework/shims/npm
Michael Wolf 2641a8d29d Update shell code
Now it (mostly) passes shellcheck and is formatted with shfmt.
2025-11-17 11:38:04 -06:00

14 lines
239 B
Bash
Executable File

#!/bin/bash
set -eu
npm_shim_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export npm_shim_DIR
# shellcheck source=node.common
source "$npm_shim_DIR"/node.common
cd "$npm_shim_DIR"/../.nodejs-config
echo in dir "$(pwd)"
npm "$@"