forked from Qortal/q-blog
7 lines
232 B
Bash
Executable File
7 lines
232 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
echo "Generating package-lock.json without installing node_modules..."
|
|
npm install --package-lock-only
|
|
git add package-lock.json || true
|
|
echo "Lockfile generated and staged (if in a git repo)."
|