8a649dd569
Signed-off-by: sheikhlimon <sheikhlimon404@gmail.com>
17 lines
484 B
Bash
Executable File
17 lines
484 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Enable strict mode to exit on errors and unset variables
|
|
set -euo pipefail
|
|
|
|
# Get the directory where this script is located
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# Source the common setup script
|
|
source "${SCRIPT_DIR}/node-setup-common.sh"
|
|
|
|
# Final step: Execute npx with passed arguments
|
|
log "Executing 'npx' command with arguments: ${*}"
|
|
npx "${@}" || log "Failed to execute 'npx' with arguments: ${*}"
|
|
|
|
log "npx script completed successfully."
|