High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: verify actual tarball contents, not dry-run output
Mario21fcedfc7521
diff --git a/.github/workflows/npm-verify.yml b/.github/workflows/npm-verify.ymlindex afdc6128..031438d9 100644--- a/.github/workflows/npm-verify.yml+++ b/.github/workflows/npm-verify.yml@@ -46,13 +46,17 @@ jobs:- name: Check for source .ts files in packageworking-directory: npmrun: |- SOURCES=$(npm pack --dry-run 2>&1 | grep -E "src/.*\.ts$" | grep -v "\.d\.ts" || true)+ # Create the tarball and check its actual contents+ npm pack > /dev/null 2>&1+ TARBALL=$(ls -t pinchtab-*.tgz | head -1)+ SOURCES=$(tar -tzf "$TARBALL" | grep -E "\.ts$" | grep -v "\.d\.ts" || true)if [ -n "$SOURCES" ]; thenecho "❌ ERROR: Source .ts files in package:"echo "$SOURCES"exit 1fi- echo "✅ No source .ts files in package"+ echo "✅ No source .ts files in tarball"+ rm "$TARBALL"- name: Check for test files in packageworking-directory: npmdiff --git a/npm/.npmignore b/npm/.npmignoreindex 921363bc..8a427645 100644--- a/npm/.npmignore+++ b/npm/.npmignore@@ -1,30 +1,22 @@-# Source files (not needed in published package)+# Source TypeScript files (not shipped)src/tests/-*.ts-!scripts/postinstall.jstsconfig.json-# Dev dependencies-node_modules/-.git-.github-.gitignore-.npmignore--# Build artifacts to exclude+# Build artifacts we don't ship*.map-dist/tests/--# Docs-*.md-!LICENSE-# Config+# Development config/env.env*--# IDE.vscode/.idea/*.swp*.swo++# Git / repo files+.git+.github+.gitignore++# Dev dependencies are not shipped (handled by package.json files array)+# Only ship: dist/src/*.js, dist/src/*.d.ts, bin/, scripts/postinstall.js, LICENSE