Skip to content

Commit 7386f7d

Browse files
chore: drop stale onnxruntime-node CUDA-skip npmrc setting (post-ADR-0019) (#254)
## Summary Removes the dead `onnxruntime_node_install_cuda=skip` config from `.npmrc` and its accompanying note in `pnpm-workspace.yaml`. That setting guarded the **onnxruntime-node** postinstall (which otherwise fetched a ~400MB CUDA execution provider from NuGet). onnxruntime-node was replaced by **onnxruntime-web** (prebuilt WASM, no install script) in the single-file SQLite migration (ADR 0019) and is no longer a dependency anywhere in the workspace. The leftover setting did nothing except emit `npm warn Unknown ... config "onnxruntime_node_install_cuda"` on every npm/pnpm invocation (visible in the v0.10.0 publish logs). No-op cleanup. ## Verification - `grep -rn onnxruntime-node packages/*/package.json package.json` → no matches (not a dependency). - pre-commit (pnpm-lock-sync, banned-strings) + pre-push (typecheck + full test suite) green.
1 parent 465332b commit 7386f7d

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

.npmrc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,3 @@ engine-strict=true
22
auto-install-peers=true
33
resolution-mode=time-based
44
save-exact=false
5-
6-
# onnxruntime-node 1.22+ postinstall otherwise fetches a ~400MB CUDA EP from
7-
# NuGet. We are CPU-only and offline-first; skip that step unconditionally.
8-
# See: packages/embedder + .erpaval/sessions/002/research-embeddings.yaml §1
9-
onnxruntime_node_install_cuda=skip

pnpm-workspace.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ packageExtensions:
5656
# from .npmrc; non-auth settings belong here or in ~/.config/pnpm/config.yaml.
5757
# User-specific settings (store-dir, package-import-method) stay in
5858
# ~/.config/pnpm/config.yaml.
59-
# NOTE: onnxruntime_node_install_cuda=skip must remain in ~/.npmrc (or be set
60-
# as npm_config_onnxruntime_node_install_cuda=skip in CI) so the onnxruntime
61-
# install script skips the ~400MB CUDA EP download on CPU-only environments.
6259
autoInstallPeers: true
6360
resolutionMode: time-based
6461
engineStrict: true

0 commit comments

Comments
 (0)