chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:59:42 +08:00
commit 59f8f60dad
348 changed files with 139133 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
# Local development test script for Node.js package
# For CI/CD builds, use build-node.sh instead
set -e
# Prerequisites
command -v node >/dev/null || { echo "Error: node not found"; exit 1; }
command -v pnpm >/dev/null || { echo "Error: pnpm not found"; exit 1; }
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
ROOT_DIR="$SCRIPT_DIR/.."
PACKAGE_DIR="$ROOT_DIR/node/opendataloader-pdf"
cd "$PACKAGE_DIR"
# Install dependencies (if needed)
pnpm install
# Run tests
pnpm test "$@"