From e32f637527f31996793ef7b279718fc5d84c9d3f Mon Sep 17 00:00:00 2001 From: Joe Blau Date: Fri, 9 Oct 2026 21:08:39 -0700 Subject: [PATCH] chore(deps): configure the JSR scope in bunfig.toml instead of .npmrc Bun reads registry scopes from bunfig.toml, where the workspace's other install settings already live. The SDK's .dev/ts7 keeps its own .npmrc because it installs from its own directory. Co-Authored-By: Claude Opus 5.5 --- .npmrc | 3 --- bunfig.toml | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 289352cf..00000000 --- a/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -# `@std/*` packages live only on JSR, which mirrors them to npm under the `@jsr/*` scope. -# Every other dependency resolves from the default npm registry. -@jsr:registry=https://npm.jsr.io diff --git a/bunfig.toml b/bunfig.toml index 9723407e..b5ce7e69 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -4,6 +4,10 @@ linker = "isolated" # Match the SDK's supply-chain protection for every workspace installation. minimumReleaseAge = 259200 +[install.scopes] +# JSR mirrors the SDK's `@std/*` test dependencies under the npm-compatible `@jsr/*` scope. +jsr = "https://npm.jsr.io" + [test] # Keep direct `bun test` at the workspace root consistent with the SDK's test setup. preload = ["./packages/hyperliquid/tests/_noCloseEvent.ts"]