From c0607ab152da8b7fcce4d40e22f315cbd5abc511 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Fri, 17 Apr 2026 13:58:17 -0700 Subject: [PATCH] feat(npm): add Windows binary to publish matrix (#46) Adds x86_64-pc-windows-msvc target to the napi package and CI build matrix so the published @firecrawl/pdf-inspector npm package ships native Windows binaries alongside Linux and macOS. Co-authored-by: Claude Opus 4.7 --- .github/workflows/publish.yml | 2 ++ napi/package.json | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91581cf..d540322 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,6 +46,8 @@ jobs: target: x86_64-unknown-linux-gnu - os: macos-14 target: aarch64-apple-darwin + - os: windows-latest + target: x86_64-pc-windows-msvc steps: - uses: actions/checkout@v4 diff --git a/napi/package.json b/napi/package.json index afa2e47..87a9046 100644 --- a/napi/package.json +++ b/napi/package.json @@ -1,6 +1,6 @@ { "name": "@firecrawl/pdf-inspector", - "version": "1.1.0", + "version": "1.2.0", "description": "Fast PDF classification and text extraction. Detect text-based vs scanned PDFs, extract text by region with quality checks. Native Rust performance via napi-rs.", "main": "index.js", "types": "index.d.ts", @@ -38,7 +38,8 @@ "binaryName": "pdf-inspector", "targets": [ "x86_64-unknown-linux-gnu", - "aarch64-apple-darwin" + "aarch64-apple-darwin", + "x86_64-pc-windows-msvc" ], "package": { "name": "@firecrawl/pdf-inspector-js"