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"]