-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
clirelated to cli/ dirrelated to cli/ dirsuggestionsuggestions for new features (yet to be agreed)suggestions for new features (yet to be agreed)
Description
Status Quo
using deno add
will break existing importMap
section in deno.json
.
$ deno add @std/fs
// deno.json
{
- "importMap": "import_map.json"
+ "importMap": "import_map.json",
+ "imports: {
+ "@std/fs": "jsr:@std/fs@^0.229.3",
+ }
}
Suggestion
if importMap
exists, attempt to update import map instead.
// import_map.json
{
"imports: {
+ "@std/fs": "jsr:@std/fs@^0.229.3",
}
}
Others
I'm interested in opening a PR (pointers on where to look at would be appreciated!)
Metadata
Metadata
Assignees
Labels
clirelated to cli/ dirrelated to cli/ dirsuggestionsuggestions for new features (yet to be agreed)suggestions for new features (yet to be agreed)