bun
bun copied to clipboard
Support ```npm:``` dependencies
run bun add eslint-import-resolver-typescript get the following error
bun add v0.1.1
error: No version matching "npm:@unts/get-tsconfig@^4.1.1" found for specifier "get-tsconfig" (but package exists)
Same issue using bun install
Momentum workaround:
add "eslint-import-resolver-typescript": "^2.7.1", in package.json (or lower) and using bun install
eslint-import-resolver-typescript uses the npm syntax for specifying dependencies. I think bun checks get-tsconfig (latest version: 4.1.0), when it should check @unts/get-tsconfig (latest version: 4.1.1).
Same issue with bun add plotly.js resulting in
error: No version matching "npm:@plotly/regl@^2.1.2" found for specifier "regl" (but package exists)
Thanks for reporting. This is something we are definitely going to implement. (soon!)
This was added in Bun v0.5.1