new-game.sh installs the server's packages too

This commit is contained in:
Eric Wagoner
2026-09-23 11:00:52 -04:00
parent 69b7273627
commit f1c9b29e66
+1 -1
View File
@@ -27,7 +27,7 @@ mkdir -p "$DEST/docs" && mv "$DEST/docs-conventions.md" "$DEST/docs/conventions.
cd "$DEST"
git init -q && git add -A && git commit -q -m "Begin $NAME from the game kit"
npm install --no-audit --no-fund >/dev/null 2>&1 && echo "dependencies installed" || echo "npm install failed; run it by hand"
npm install --no-audit --no-fund >/dev/null 2>&1 && (cd server && npm install --no-audit --no-fund >/dev/null 2>&1) && echo "dependencies installed" || echo "npm install failed; run it by hand (root and server/)"
cat <<MSG
$NAME is at $DEST (port $PORT, $DOMAIN).