This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 3dea32c99 feat(javascript): add npm publishing workflow and release 
scripts (#4076)
3dea32c99 is described below

commit 3dea32c990ad79e61f4fa07460192f5df94e83e6
Author: Kent Wu <[email protected]>
AuthorDate: Sat Mar 14 08:27:23 2026 -0400

    feat(javascript): add npm publishing workflow and release scripts (#4076)
    
    This PR implements the npm publishing and release scripts for the
    Node.js Driver Manager.
    
    - ci/scripts/node_npm_upload.sh — publishes platform + main packages to
    an npm registry
    - packaging.yml — upload-npm job publishes to npm with --tag next on
    schedule or manual dispatch
    - dev/release/post-09-npm.sh — release manager script to publish
    official releases
      - dev/release/02-sign.sh — GPG signing for npm tarballs
    - dev/release/utils-prepare.sh — JavaScript version bumping added to
    release preparation
    - Package renamed to `apache-arrow/adbc-driver-manager` with proper
    versioning (0.23.0)
    
    **Test Plan**
    
    Tested packaging and npm publishing against a local proxy registry from
    my fork
    - [Action Run:
    
22973831085](https://github.com/kentkwu/arrow-adbc/actions/runs/22973831085/job/66698340917)
    
    ```sh
    # Start a local Verdaccio registry
    docker run -d --name verdaccio-adbc-test -p 4873:4873 verdaccio/verdaccio
    sleep 3
    
    # Create a test user and capture the auth token
    TOKEN=$(curl -s -X PUT 
http://localhost:4873/-/user/org.couchdb.user:testuser \
      -H "Content-Type: application/json" \
      -d '{"name":"testuser","password":"testpass","type":"user"}' \
      | jq -r '.token')
    
    # Download CI-built packages from a workflow run
    gh run download 22973831085 --repo kentkwu/arrow-adbc --name node-packages 
--dir /tmp/node-packages
    
    # Publish to local registry
    NPM_TOKEN="${TOKEN}" \
    NPM_REGISTRY=http://localhost:4873 \
      ./ci/scripts/node_npm_upload.sh /tmp/node-packages/
    
    # Verify - note: needs at symbol before apache-arrow
    npm view apache-arrow/adbc-driver-manager optionalDependencies --registry 
http://localhost:4873
    
    # Clean up
    docker rm -f verdaccio-adbc-test
    ```
    
    <img width="1234" height="1095" alt="Screenshot 2026-03-11 at 5 02
    26 PM"
    
src="https://github.com/user-attachments/assets/072635ea-285e-468e-9a6c-008c7018b174";
    />
    
    
    Tested `utils-prepare.sh` increments version
    
    ```sh
    SOURCE_DIR=./dev/release
    source "$SOURCE_DIR/utils-common.sh"
    source "$SOURCE_DIR/utils-prepare.sh"
    VERSION_JS="0.99.0"
    update_versions "release"
    ```
    
    Verified the following files updated to `0.99.0`:
    - `javascript/package.json` — main version and all
    `optionalDependencies`
    - `javascript/npm/*/package.json` — all 5 platform packages
    - `javascript/Cargo.toml`
    
    Closes #4051
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
---
 .github/workflows/javascript.yml                   |   6 +-
 .github/workflows/packaging.yml                    |  21 +-
 ci/scripts/node_npm_upload.sh                      |  62 +++
 dev/release/02-sign.sh                             |   3 +
 dev/release/post-09-npm.sh                         |  57 ++
 ...rtifacts.sh => post-10-remove-old-artifacts.sh} |   0
 .../{post-10-announce.sh => post-11-announce.sh}   |   0
 ...1-bump-versions.sh => post-12-bump-versions.sh} |   0
 .../{post-12-website.sh => post-13-website.sh}     |   0
 dev/release/utils-prepare.sh                       |  14 +
 dev/release/versions.env                           |   1 +
 docs/source/development/releasing.rst              |  32 +-
 javascript/.gitignore                              |   4 +
 javascript/Cargo.toml                              |   4 +-
 javascript/binding.js                              | 589 ---------------------
 javascript/npm/darwin-arm64/package.json           |   4 +-
 javascript/npm/darwin-x64/package.json             |   4 +-
 javascript/npm/linux-arm64-gnu/package.json        |   4 +-
 javascript/npm/linux-x64-gnu/package.json          |   4 +-
 javascript/npm/win32-x64-msvc/package.json         |   4 +-
 javascript/package-lock.json                       |   4 +-
 javascript/package.json                            |  15 +-
 22 files changed, 206 insertions(+), 626 deletions(-)

diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml
index a213380e4..dc0a9d3bc 100644
--- a/.github/workflows/javascript.yml
+++ b/.github/workflows/javascript.yml
@@ -111,11 +111,7 @@ jobs:
       - name: Build
         working-directory: javascript
         shell: bash
-        run: |
-          npx napi build --platform --release --target ${{ 
matrix.settings.target }}
-          mv index.js binding.js
-          mv index.d.ts binding.d.ts
-          npx tsc
+        run: npm run build:ci -- --target ${{ matrix.settings.target }} && npm 
run build:ts
       - name: Ad-hoc sign binary (macOS)
         if: runner.os == 'macOS'
         working-directory: javascript
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml
index db512c760..e8eef34f3 100644
--- a/.github/workflows/packaging.yml
+++ b/.github/workflows/packaging.yml
@@ -47,7 +47,6 @@ on:
         required: true
         type: boolean
         default: false
-
 concurrency:
   group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
   cancel-in-progress: true
@@ -1190,13 +1189,18 @@ jobs:
           cache: 'npm'
           cache-dependency-path: adbc/javascript/package-lock.json
 
+      - name: Setup Rust
+        run: |
+          rustup toolchain install stable --no-self-update
+          rustup default stable
+
       - name: Install Node dependencies
         working-directory: adbc/javascript
         run: npm ci
 
-      - name: Build Node.js JS
+      - name: Build Node.js
         working-directory: adbc/javascript
-        run: npm run build:ts
+        run: npm run build:ci && npm run build:ts
 
       - name: Download Node.js binaries
         uses: actions/download-artifact@v8
@@ -1226,6 +1230,7 @@ jobs:
           path: |
             adbc/javascript/*.tgz
 
+
   release:
     name: "Create release"
     runs-on: ubuntu-latest
@@ -1272,7 +1277,7 @@ jobs:
             -exec mv '{}' upload-staging \;
 
           # Handle Node.js packages (in tarball form)
-          find ./release-artifacts/ -name 'adbc-driver-manager-*.tgz' -exec mv 
'{}' upload-staging \;
+          find ./release-artifacts/ -name 
'apache-arrow-adbc-driver-manager-*.tgz' -exec mv '{}' upload-staging \;
 
           UPLOAD=$(find upload-staging -type f | sort | uniq)
 
@@ -1357,6 +1362,7 @@ jobs:
     needs:
       - clean-gemfury
       - java
+      - node-dist
       - python-manylinux
       - python-macos
       - python-windows
@@ -1380,7 +1386,8 @@ jobs:
               -name '*.jar' -or \
               -name '*.pom' -or \
               -name '*.whl' -or \
-              -name 'adbc_*.tar.gz' \
+              -name 'adbc_*.tar.gz' -or \
+              -name 'apache-arrow-adbc-driver-manager-*.tgz' \
             ')' \
             -exec mv '{}' upload-staging \;
 
@@ -1388,5 +1395,9 @@ jobs:
           ./ci/scripts/java_jar_upload.sh upload-staging/*.pom
           # Python
           ./ci/scripts/python_wheel_upload.sh upload-staging/adbc_*.tar.gz 
upload-staging/*.whl
+          # Node.js
+          ./ci/scripts/node_npm_upload.sh upload-staging
         env:
           GEMFURY_PUSH_TOKEN: ${{ secrets.GEMFURY_PUSH_TOKEN }}
+          NPM_REGISTRY: https://npm.fury.io/arrow-adbc-nightlies/
+          NPM_TOKEN: ${{ secrets.GEMFURY_PUSH_TOKEN }}
diff --git a/ci/scripts/node_npm_upload.sh b/ci/scripts/node_npm_upload.sh
new file mode 100755
index 000000000..0ce063397
--- /dev/null
+++ b/ci/scripts/node_npm_upload.sh
@@ -0,0 +1,62 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Publish Node.js packages to an npm registry.
+#
+# Usage: ./ci/scripts/node_npm_upload.sh <packages_dir>
+#
+# Environment variables:
+#   NPM_TOKEN        npm authentication token (required)
+#   NPM_REGISTRY     registry URL (default: https://registry.npmjs.org)
+#   NPM_TAG          dist-tag to publish under (default: latest)
+#   DRY_RUN          set to 1 to pass --dry-run to npm publish
+
+set -euo pipefail
+
+main() {
+    local packages_dir
+    packages_dir="$(realpath "$1")"
+    local registry="${NPM_REGISTRY:-https://registry.npmjs.org}";
+    local dry_run_flag=""
+    if [[ "${DRY_RUN:-0}" == "1" ]]; then
+        dry_run_flag="--dry-run"
+    fi
+    local tag_flag=""
+    if [[ -n "${NPM_TAG:-}" ]]; then
+        tag_flag="--tag ${NPM_TAG}"
+    fi
+
+    # Write a temp .npmrc with the auth token for the target registry
+    local npmrc
+    npmrc=$(mktemp)
+    trap "rm -f ${npmrc}" EXIT
+    echo "//${registry#*://}/:_authToken=${NPM_TOKEN:-}" > "${npmrc}"
+    export NPM_CONFIG_USERCONFIG="${npmrc}"
+
+    # Publish platform-specific packages first, then the main package
+    for pkg in "${packages_dir}"/apache-arrow-adbc-driver-manager-*-*.tgz; do
+        echo "==== Publishing ${pkg}"
+        npm publish "${pkg}" --access public --registry "${registry}" 
${tag_flag} ${dry_run_flag}
+    done
+
+    echo "==== Publishing main package"
+    npm publish "${packages_dir}"/apache-arrow-adbc-driver-manager-[0-9]*.tgz \
+        --access public --registry "${registry}" ${tag_flag} ${dry_run_flag}
+}
+
+main "$@"
diff --git a/dev/release/02-sign.sh b/dev/release/02-sign.sh
index 728407dfd..ef0cb57df 100755
--- a/dev/release/02-sign.sh
+++ b/dev/release/02-sign.sh
@@ -80,6 +80,9 @@ main() {
     header "Upload signatures for Python"
     upload_asset_signatures "${tag}" $(find "${download_dir}" -type f \( -name 
'*.whl' -or -name 'adbc_*.tar.gz' \))
 
+    header "Upload signatures for Node.js"
+    upload_asset_signatures "${tag}" $(find "${download_dir}" -type f -name 
'apache-arrow-adbc-driver-manager-*.tgz')
+
     header "Upload signatures for docs"
     upload_asset_signatures "${tag}" "${download_dir}/docs.tgz"
 
diff --git a/dev/release/post-09-npm.sh b/dev/release/post-09-npm.sh
new file mode 100755
index 000000000..ec1b2c8a2
--- /dev/null
+++ b/dev/release/post-09-npm.sh
@@ -0,0 +1,57 @@
+#!/usr/bin/env bash
+# -*- indent-tabs-mode: nil; sh-indentation: 2; sh-basic-offset: 2 -*-
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+set -e
+set -u
+set -o pipefail
+
+SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+source "${SOURCE_DIR}/utils-common.sh"
+source "${SOURCE_DIR}/utils-prepare.sh"
+
+main() {
+  if [ "$#" -ne 0 ]; then
+    echo "Usage: $0"
+    exit
+  fi
+
+  local -r tag="apache-arrow-adbc-${RELEASE}"
+  local -r tmp=$(mktemp -d -t "arrow-post-npm.XXXXX")
+
+  header "Downloading Node.js packages for ${RELEASE}"
+
+  gh release download \
+     --repo "${REPOSITORY}" \
+     "${tag}" \
+     --dir "${tmp}" \
+     --pattern "apache-arrow-adbc-driver-manager-*.tgz"
+
+  header "Uploading Node.js packages for ${RELEASE}"
+
+  DRY_RUN="${DRY_RUN:-0}" "${SOURCE_TOP_DIR}/ci/scripts/node_npm_upload.sh" 
"${tmp}"
+
+  rm -rf "${tmp}"
+
+  echo "Success! The released npm package is available here:"
+  echo "  https://www.npmjs.com/package/@apache-arrow/adbc-driver-manager";
+}
+
+main "$@"
diff --git a/dev/release/post-09-remove-old-artifacts.sh 
b/dev/release/post-10-remove-old-artifacts.sh
similarity index 100%
rename from dev/release/post-09-remove-old-artifacts.sh
rename to dev/release/post-10-remove-old-artifacts.sh
diff --git a/dev/release/post-10-announce.sh b/dev/release/post-11-announce.sh
similarity index 100%
rename from dev/release/post-10-announce.sh
rename to dev/release/post-11-announce.sh
diff --git a/dev/release/post-11-bump-versions.sh 
b/dev/release/post-12-bump-versions.sh
similarity index 100%
rename from dev/release/post-11-bump-versions.sh
rename to dev/release/post-12-bump-versions.sh
diff --git a/dev/release/post-12-website.sh b/dev/release/post-13-website.sh
similarity index 100%
rename from dev/release/post-12-website.sh
rename to dev/release/post-13-website.sh
diff --git a/dev/release/utils-prepare.sh b/dev/release/utils-prepare.sh
index a4ba48fd2..7cda94e6f 100644
--- a/dev/release/utils-prepare.sh
+++ b/dev/release/utils-prepare.sh
@@ -23,6 +23,7 @@ update_versions() {
 
   local conda_version="${VERSION_NATIVE}"
   local csharp_version="${VERSION_CSHARP}"
+  local js_version="${VERSION_JS}"
   local linux_version="${RELEASE}"
   local rust_version="${VERSION_CSHARP}"
   case ${type} in
@@ -67,6 +68,7 @@ update_versions() {
   echo "GLib/Ruby: ${glib_version}"
   echo "Java: ${java_version}"
   echo "Linux: ${linux_version}"
+  echo "JavaScript: ${js_version}"
   echo "Python: ${py_version}"
   echo "R: ${r_version}"
   echo "Rust: ${rust_version}"
@@ -153,6 +155,18 @@ update_versions() {
   cargo check --manifest-path "${ADBC_DIR}/rust/Cargo.toml"
   git add "${ADBC_DIR}/rust/Cargo.lock"
 
+  pushd "${ADBC_DIR}/javascript"
+  sed -i.bak -E \
+    -e "s/^  \"version\": \".+\"/  \"version\": \"${js_version}\"/" \
+    -e "s/(\"@apache-arrow\/adbc-driver-manager[^\"]*\"): \".+\"/\1: 
\"${js_version}\"/g" \
+    package.json
+  rm package.json.bak
+  npx --yes napi version
+  sed -i.bak -E "s/^version = \".+\"/version = \"${js_version}\"/" Cargo.toml
+  rm Cargo.toml.bak
+  git add package.json package-lock.json Cargo.toml npm/*/package.json
+  popd
+
   if [ ${type} = "release" ]; then
     pushd "${ADBC_DIR}/ci/linux-packages"
     rake version:update VERSION=${linux_version}
diff --git a/dev/release/versions.env b/dev/release/versions.env
index 9c782c3c0..c567d314a 100644
--- a/dev/release/versions.env
+++ b/dev/release/versions.env
@@ -28,6 +28,7 @@ VERSION_JAVA="0.23.0"
 VERSION_NATIVE="1.11.0"
 VERSION_R="0.23.0"
 VERSION_RUST="0.23.0"
+VERSION_JS="0.23.0"
 
 # Required by the version bump script
 PREVIOUS_VERSION_NATIVE="1.10.0"
diff --git a/docs/source/development/releasing.rst 
b/docs/source/development/releasing.rst
index 935b7c310..1db94c64f 100644
--- a/docs/source/development/releasing.rst
+++ b/docs/source/development/releasing.rst
@@ -229,6 +229,7 @@ How to Verify Release Candidates
       - the javadoc command must also be accessible
    - Go
    - CMake, ninja-build, libpq (with headers), SQLite (with headers)
+   - Node.js 22+
 
    Alternatively, you can have the verification script download and install 
dependencies automatically via Conda.
    See the environment variables below.
@@ -411,6 +412,25 @@ Be sure to go through on the following checklist:
       # dev/release/post-08-rust.sh
       dev/release/post-08-rust.sh
 
+.. dropdown:: Upload Node.js packages to npm
+   :class-title: sd-fs-5
+   :class-container: sd-shadow-md
+
+   You must have publish access to the `apache-arrow npm organization
+   <https://www.npmjs.com/org/apache-arrow>`_.  If you don't have access
+   yet, an existing org admin can add you.
+
+   You will need to `create an access token 
<https://docs.npmjs.com/creating-and-viewing-access-tokens>`_.
+
+   An owner can upload:
+
+   .. code-block:: bash
+
+      export NPM_TOKEN=<your access token here>
+
+      # dev/release/post-09-npm.sh
+      dev/release/post-09-npm.sh
+
 .. dropdown:: Update conda-forge packages
    :class-title: sd-fs-5
    :class-container: sd-shadow-md
@@ -428,7 +448,7 @@ Be sure to go through on the following checklist:
 
    .. code-block:: Bash
 
-      dev/release/post-09-remove-old-artifacts.sh
+      dev/release/post-10-remove-old-artifacts.sh
 
 .. dropdown:: Bump versions
    :class-title: sd-fs-5
@@ -438,8 +458,8 @@ Be sure to go through on the following checklist:
 
    .. code-block:: Bash
 
-      # dev/release/post-11-bump-versions.sh ../arrow
-      dev/release/post-11-bump-versions.sh <arrow-dir>
+      # dev/release/post-12-bump-versions.sh ../arrow
+      dev/release/post-12-bump-versions.sh <arrow-dir>
 
 .. dropdown:: Publish release blog post
    :class-title: sd-fs-5
@@ -451,8 +471,8 @@ Be sure to go through on the following checklist:
 
    .. code-block:: Bash
 
-      # dev/release/post-12-website.sh ../arrow-site
-      dev/release/post-12-website.sh <arrow-site-dir>
+      # dev/release/post-13-website.sh ../arrow-site
+      dev/release/post-13-website.sh <arrow-site-dir>
 
 .. dropdown:: Announce the new release
    :class-title: sd-fs-5
@@ -471,6 +491,6 @@ Be sure to go through on the following checklist:
 
    .. code-block:: Bash
 
-      dev/release/post-10-announce.sh
+      dev/release/post-11-announce.sh
 
 .. _nightly-website.yml: 
https://github.com/apache/arrow-adbc/actions/workflows/nightly-website.yml
diff --git a/javascript/.gitignore b/javascript/.gitignore
index f1333a04b..34c37832a 100644
--- a/javascript/.gitignore
+++ b/javascript/.gitignore
@@ -18,4 +18,8 @@
 Cargo.lock
 dist
 *.node
+*.tgz
 *.tsbuildinfo
+binding.js
+index.js
+index.d.ts
diff --git a/javascript/Cargo.toml b/javascript/Cargo.toml
index 1f897063a..2ca9344fb 100644
--- a/javascript/Cargo.toml
+++ b/javascript/Cargo.toml
@@ -17,8 +17,8 @@
 
 [package]
 edition = "2021"
-name = "adbc_driver_manager"
-version = "0.1.0"
+name = "adbc_driver_manager_node"
+version = "0.23.0"
 license = "Apache-2.0"
 
 [lib]
diff --git a/javascript/binding.js b/javascript/binding.js
deleted file mode 100644
index fa19e91dc..000000000
--- a/javascript/binding.js
+++ /dev/null
@@ -1,589 +0,0 @@
-// prettier-ignore
-/* eslint-disable */
-// @ts-nocheck
-/* auto-generated by NAPI-RS */
-
-const { readFileSync } = require('node:fs')
-let nativeBinding = null
-const loadErrors = []
-
-const isMusl = () => {
-  let musl = false
-  if (process.platform === 'linux') {
-    musl = isMuslFromFilesystem()
-    if (musl === null) {
-      musl = isMuslFromReport()
-    }
-    if (musl === null) {
-      musl = isMuslFromChildProcess()
-    }
-  }
-  return musl
-}
-
-const isFileMusl = (f) => f.includes('libc.musl-') || f.includes('ld-musl-')
-
-const isMuslFromFilesystem = () => {
-  try {
-    return readFileSync('/usr/bin/ldd', 'utf-8').includes('musl')
-  } catch {
-    return null
-  }
-}
-
-const isMuslFromReport = () => {
-  let report = null
-  if (typeof process.report?.getReport === 'function') {
-    process.report.excludeNetwork = true
-    report = process.report.getReport()
-  }
-  if (!report) {
-    return null
-  }
-  if (report.header && report.header.glibcVersionRuntime) {
-    return false
-  }
-  if (Array.isArray(report.sharedObjects)) {
-    if (report.sharedObjects.some(isFileMusl)) {
-      return true
-    }
-  }
-  return false
-}
-
-const isMuslFromChildProcess = () => {
-  try {
-    return require('child_process').execSync('ldd --version', { encoding: 
'utf8' }).includes('musl')
-  } catch (e) {
-    // If we reach this case, we don't know if the system is musl or not, so 
is better to just fallback to false
-    return false
-  }
-}
-
-function requireNative() {
-  if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
-    try {
-      return require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
-    } catch (err) {
-      loadErrors.push(err)
-    }
-  } else if (process.platform === 'android') {
-    if (process.arch === 'arm64') {
-      try {
-        return require('./adbc-driver-manager.android-arm64.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-android-arm64')
-        const bindingPackageVersion = 
require('adbc-driver-manager-android-arm64/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else if (process.arch === 'arm') {
-      try {
-        return require('./adbc-driver-manager.android-arm-eabi.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-android-arm-eabi')
-        const bindingPackageVersion = 
require('adbc-driver-manager-android-arm-eabi/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else {
-      loadErrors.push(new Error(`Unsupported architecture on Android 
${process.arch}`))
-    }
-  } else if (process.platform === 'win32') {
-    if (process.arch === 'x64') {
-      if (process.config?.variables?.shlib_suffix === 'dll.a' || 
process.config?.variables?.node_target_type === 'shared_library') {
-        try {
-        return require('./adbc-driver-manager.win32-x64-gnu.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-win32-x64-gnu')
-        const bindingPackageVersion = 
require('adbc-driver-manager-win32-x64-gnu/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      } else {
-        try {
-        return require('./adbc-driver-manager.win32-x64-msvc.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-win32-x64-msvc')
-        const bindingPackageVersion = 
require('adbc-driver-manager-win32-x64-msvc/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      }
-    } else if (process.arch === 'ia32') {
-      try {
-        return require('./adbc-driver-manager.win32-ia32-msvc.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-win32-ia32-msvc')
-        const bindingPackageVersion = 
require('adbc-driver-manager-win32-ia32-msvc/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else if (process.arch === 'arm64') {
-      try {
-        return require('./adbc-driver-manager.win32-arm64-msvc.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-win32-arm64-msvc')
-        const bindingPackageVersion = 
require('adbc-driver-manager-win32-arm64-msvc/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else {
-      loadErrors.push(new Error(`Unsupported architecture on Windows: 
${process.arch}`))
-    }
-  } else if (process.platform === 'darwin') {
-    try {
-      return require('./adbc-driver-manager.darwin-universal.node')
-    } catch (e) {
-      loadErrors.push(e)
-    }
-    try {
-      const binding = require('adbc-driver-manager-darwin-universal')
-      const bindingPackageVersion = 
require('adbc-driver-manager-darwin-universal/package.json').version
-      if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-        throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-      }
-      return binding
-    } catch (e) {
-      loadErrors.push(e)
-    }
-    if (process.arch === 'x64') {
-      try {
-        return require('./adbc-driver-manager.darwin-x64.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-darwin-x64')
-        const bindingPackageVersion = 
require('adbc-driver-manager-darwin-x64/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else if (process.arch === 'arm64') {
-      try {
-        return require('./adbc-driver-manager.darwin-arm64.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-darwin-arm64')
-        const bindingPackageVersion = 
require('adbc-driver-manager-darwin-arm64/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else {
-      loadErrors.push(new Error(`Unsupported architecture on macOS: 
${process.arch}`))
-    }
-  } else if (process.platform === 'freebsd') {
-    if (process.arch === 'x64') {
-      try {
-        return require('./adbc-driver-manager.freebsd-x64.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-freebsd-x64')
-        const bindingPackageVersion = 
require('adbc-driver-manager-freebsd-x64/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else if (process.arch === 'arm64') {
-      try {
-        return require('./adbc-driver-manager.freebsd-arm64.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-freebsd-arm64')
-        const bindingPackageVersion = 
require('adbc-driver-manager-freebsd-arm64/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else {
-      loadErrors.push(new Error(`Unsupported architecture on FreeBSD: 
${process.arch}`))
-    }
-  } else if (process.platform === 'linux') {
-    if (process.arch === 'x64') {
-      if (isMusl()) {
-        try {
-          return require('./adbc-driver-manager.linux-x64-musl.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-x64-musl')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-x64-musl/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      } else {
-        try {
-          return require('./adbc-driver-manager.linux-x64-gnu.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-x64-gnu')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-x64-gnu/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      }
-    } else if (process.arch === 'arm64') {
-      if (isMusl()) {
-        try {
-          return require('./adbc-driver-manager.linux-arm64-musl.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-arm64-musl')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-arm64-musl/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      } else {
-        try {
-          return require('./adbc-driver-manager.linux-arm64-gnu.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-arm64-gnu')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-arm64-gnu/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      }
-    } else if (process.arch === 'arm') {
-      if (isMusl()) {
-        try {
-          return require('./adbc-driver-manager.linux-arm-musleabihf.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-arm-musleabihf')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-arm-musleabihf/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      } else {
-        try {
-          return require('./adbc-driver-manager.linux-arm-gnueabihf.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-arm-gnueabihf')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-arm-gnueabihf/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      }
-    } else if (process.arch === 'loong64') {
-      if (isMusl()) {
-        try {
-          return require('./adbc-driver-manager.linux-loong64-musl.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-loong64-musl')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-loong64-musl/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      } else {
-        try {
-          return require('./adbc-driver-manager.linux-loong64-gnu.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-loong64-gnu')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-loong64-gnu/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      }
-    } else if (process.arch === 'riscv64') {
-      if (isMusl()) {
-        try {
-          return require('./adbc-driver-manager.linux-riscv64-musl.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-riscv64-musl')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-riscv64-musl/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      } else {
-        try {
-          return require('./adbc-driver-manager.linux-riscv64-gnu.node')
-        } catch (e) {
-          loadErrors.push(e)
-        }
-        try {
-          const binding = require('adbc-driver-manager-linux-riscv64-gnu')
-          const bindingPackageVersion = 
require('adbc-driver-manager-linux-riscv64-gnu/package.json').version
-          if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-            throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-          }
-          return binding
-        } catch (e) {
-          loadErrors.push(e)
-        }
-      }
-    } else if (process.arch === 'ppc64') {
-      try {
-        return require('./adbc-driver-manager.linux-ppc64-gnu.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-linux-ppc64-gnu')
-        const bindingPackageVersion = 
require('adbc-driver-manager-linux-ppc64-gnu/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else if (process.arch === 's390x') {
-      try {
-        return require('./adbc-driver-manager.linux-s390x-gnu.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-linux-s390x-gnu')
-        const bindingPackageVersion = 
require('adbc-driver-manager-linux-s390x-gnu/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else {
-      loadErrors.push(new Error(`Unsupported architecture on Linux: 
${process.arch}`))
-    }
-  } else if (process.platform === 'openharmony') {
-    if (process.arch === 'arm64') {
-      try {
-        return require('./adbc-driver-manager.openharmony-arm64.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-openharmony-arm64')
-        const bindingPackageVersion = 
require('adbc-driver-manager-openharmony-arm64/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else if (process.arch === 'x64') {
-      try {
-        return require('./adbc-driver-manager.openharmony-x64.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-openharmony-x64')
-        const bindingPackageVersion = 
require('adbc-driver-manager-openharmony-x64/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else if (process.arch === 'arm') {
-      try {
-        return require('./adbc-driver-manager.openharmony-arm.node')
-      } catch (e) {
-        loadErrors.push(e)
-      }
-      try {
-        const binding = require('adbc-driver-manager-openharmony-arm')
-        const bindingPackageVersion = 
require('adbc-driver-manager-openharmony-arm/package.json').version
-        if (bindingPackageVersion !== '0.0.1' && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK && 
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
-          throw new Error(`Native binding package version mismatch, expected 
0.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix 
this issue.`)
-        }
-        return binding
-      } catch (e) {
-        loadErrors.push(e)
-      }
-    } else {
-      loadErrors.push(new Error(`Unsupported architecture on OpenHarmony: 
${process.arch}`))
-    }
-  } else {
-    loadErrors.push(new Error(`Unsupported OS: ${process.platform}, 
architecture: ${process.arch}`))
-  }
-}
-
-nativeBinding = requireNative()
-
-if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
-  let wasiBinding = null
-  let wasiBindingError = null
-  try {
-    wasiBinding = require('./adbc-driver-manager.wasi.cjs')
-    nativeBinding = wasiBinding
-  } catch (err) {
-    if (process.env.NAPI_RS_FORCE_WASI) {
-      wasiBindingError = err
-    }
-  }
-  if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
-    try {
-      wasiBinding = require('adbc-driver-manager-wasm32-wasi')
-      nativeBinding = wasiBinding
-    } catch (err) {
-      if (process.env.NAPI_RS_FORCE_WASI) {
-        if (!wasiBindingError) {
-          wasiBindingError = err
-        } else {
-          wasiBindingError.cause = err
-        }
-        loadErrors.push(err)
-      }
-    }
-  }
-  if (process.env.NAPI_RS_FORCE_WASI === 'error' && !wasiBinding) {
-    const error = new Error('WASI binding not found and NAPI_RS_FORCE_WASI is 
set to error')
-    error.cause = wasiBindingError
-    throw error
-  }
-}
-
-if (!nativeBinding) {
-  if (loadErrors.length > 0) {
-    throw new Error(
-      `Cannot find native binding. ` +
-        `npm has a bug related to optional dependencies 
(https://github.com/npm/cli/issues/4828). ` +
-        'Please try `npm i` again after removing both package-lock.json and 
node_modules directory.',
-      {
-        cause: loadErrors.reduce((err, cur) => {
-          cur.cause = err
-          return cur
-        }),
-      },
-    )
-  }
-  throw new Error(`Failed to load native binding`)
-}
-
-module.exports = nativeBinding
-module.exports.NativeAdbcConnection = nativeBinding.NativeAdbcConnection
-module.exports._NativeAdbcConnection = nativeBinding._NativeAdbcConnection
-module.exports.NativeAdbcDatabase = nativeBinding.NativeAdbcDatabase
-module.exports._NativeAdbcDatabase = nativeBinding._NativeAdbcDatabase
-module.exports.NativeAdbcResultIterator = 
nativeBinding.NativeAdbcResultIterator
-module.exports._NativeAdbcResultIterator = 
nativeBinding._NativeAdbcResultIterator
-module.exports.NativeAdbcStatement = nativeBinding.NativeAdbcStatement
-module.exports._NativeAdbcStatement = nativeBinding._NativeAdbcStatement
-module.exports.crateVersion = nativeBinding.crateVersion
-module.exports.defaultAdbcVersion = nativeBinding.defaultAdbcVersion
-module.exports.defaultLoadFlags = nativeBinding.defaultLoadFlags
diff --git a/javascript/npm/darwin-arm64/package.json 
b/javascript/npm/darwin-arm64/package.json
index 70d6ac883..76b9b86b3 100644
--- a/javascript/npm/darwin-arm64/package.json
+++ b/javascript/npm/darwin-arm64/package.json
@@ -1,6 +1,6 @@
 {
-  "name": "adbc-driver-manager-darwin-arm64",
-  "version": "0.0.1",
+  "name": "@apache-arrow/adbc-driver-manager-darwin-arm64",
+  "version": "0.23.0",
   "cpu": [
     "arm64"
   ],
diff --git a/javascript/npm/darwin-x64/package.json 
b/javascript/npm/darwin-x64/package.json
index e635cc5d7..3bb60e560 100644
--- a/javascript/npm/darwin-x64/package.json
+++ b/javascript/npm/darwin-x64/package.json
@@ -1,6 +1,6 @@
 {
-  "name": "adbc-driver-manager-darwin-x64",
-  "version": "0.0.1",
+  "name": "@apache-arrow/adbc-driver-manager-darwin-x64",
+  "version": "0.23.0",
   "cpu": [
     "x64"
   ],
diff --git a/javascript/npm/linux-arm64-gnu/package.json 
b/javascript/npm/linux-arm64-gnu/package.json
index 952bfc205..b67486986 100644
--- a/javascript/npm/linux-arm64-gnu/package.json
+++ b/javascript/npm/linux-arm64-gnu/package.json
@@ -1,6 +1,6 @@
 {
-  "name": "adbc-driver-manager-linux-arm64-gnu",
-  "version": "0.0.1",
+  "name": "@apache-arrow/adbc-driver-manager-linux-arm64-gnu",
+  "version": "0.23.0",
   "cpu": [
     "arm64"
   ],
diff --git a/javascript/npm/linux-x64-gnu/package.json 
b/javascript/npm/linux-x64-gnu/package.json
index ae5fbd9dc..4b7214ed0 100644
--- a/javascript/npm/linux-x64-gnu/package.json
+++ b/javascript/npm/linux-x64-gnu/package.json
@@ -1,6 +1,6 @@
 {
-  "name": "adbc-driver-manager-linux-x64-gnu",
-  "version": "0.0.1",
+  "name": "@apache-arrow/adbc-driver-manager-linux-x64-gnu",
+  "version": "0.23.0",
   "cpu": [
     "x64"
   ],
diff --git a/javascript/npm/win32-x64-msvc/package.json 
b/javascript/npm/win32-x64-msvc/package.json
index cc637a175..5795507a4 100644
--- a/javascript/npm/win32-x64-msvc/package.json
+++ b/javascript/npm/win32-x64-msvc/package.json
@@ -1,6 +1,6 @@
 {
-  "name": "adbc-driver-manager-win32-x64-msvc",
-  "version": "0.0.1",
+  "name": "@apache-arrow/adbc-driver-manager-win32-x64-msvc",
+  "version": "0.23.0",
   "cpu": [
     "x64"
   ],
diff --git a/javascript/package-lock.json b/javascript/package-lock.json
index f143331cc..7487b0fdf 100644
--- a/javascript/package-lock.json
+++ b/javascript/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "adbc-driver-manager",
-  "version": "0.0.1",
+  "version": "0.23.0",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "adbc-driver-manager",
-      "version": "0.0.1",
+      "version": "0.23.0",
       "license": "Apache-2.0",
       "devDependencies": {
         "@napi-rs/cli": "^3.2.0",
diff --git a/javascript/package.json b/javascript/package.json
index fec339b5a..6e40b3876 100644
--- a/javascript/package.json
+++ b/javascript/package.json
@@ -1,6 +1,6 @@
 {
-  "name": "adbc-driver-manager",
-  "version": "0.0.1",
+  "name": "@apache-arrow/adbc-driver-manager",
+  "version": "0.23.0",
   "description": "Node.js ADBC Driver Manager",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -37,6 +37,7 @@
   "scripts": {
     "artifacts": "napi artifacts",
     "build": "napi build --platform --release && mv index.js binding.js && mv 
index.d.ts binding.d.ts && tsc",
+    "build:ci": "napi build --platform --release --js binding.js --dts 
binding.d.ts",
     "build:debug": "napi build --platform && mv index.js binding.js && mv 
index.d.ts binding.d.ts && tsc",
     "build:ts": "tsc",
     "build:driver": "../ci/scripts/node_build.sh $(pwd)/build",
@@ -81,10 +82,10 @@
     "apache-arrow": "^21.1.0"
   },
   "optionalDependencies": {
-    "adbc-driver-manager-win32-x64-msvc": "0.0.1",
-    "adbc-driver-manager-darwin-x64": "0.0.1",
-    "adbc-driver-manager-linux-x64-gnu": "0.0.1",
-    "adbc-driver-manager-linux-arm64-gnu": "0.0.1",
-    "adbc-driver-manager-darwin-arm64": "0.0.1"
+    "@apache-arrow/adbc-driver-manager-win32-x64-msvc": "0.23.0",
+    "@apache-arrow/adbc-driver-manager-darwin-x64": "0.23.0",
+    "@apache-arrow/adbc-driver-manager-linux-x64-gnu": "0.23.0",
+    "@apache-arrow/adbc-driver-manager-linux-arm64-gnu": "0.23.0",
+    "@apache-arrow/adbc-driver-manager-darwin-arm64": "0.23.0"
   }
 }

Reply via email to