You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(add/install): default to npm registry for unprefixed packages (#33246)
Reland of #33156, which was reverted in #33214 to be relanded for Deno
v2.8.
---
Before:
```
$ deno install npm:express npm:react
$ deno install --npm express react
$ deno install jsr:@std/async
```
After:
```
$ deno install express react jsr:@std/async
```
Makes `deno add express` and `deno install express` work without
requiring the `npm:` prefix or `--npm` flag. Since npm is by far the
most common registry for package installation, this removes friction
for the most common use case.
The `--jsr` flag is still available to override the default to jsr,
and explicit `jsr:` / `npm:` prefixes always take precedence.
0 commit comments