bold-peaches-cheer/apps/server/node_modules/.bin/tsc
2026-05-13 12:22:02 +05:00

22 lines
1.1 KiB
Bash
Executable File

#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/home/taylordb/app/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/home/taylordb/app/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/taylordb/app/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/taylordb/app/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/home/taylordb/app/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/home/taylordb/app/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/taylordb/app/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/taylordb/app/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
else
exec node "$basedir/../typescript/bin/tsc" "$@"
fi