1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/cli/tools
Bartek Iwańczuk 6b95c53e48
feat(add): always produce multiline config file (#23077)
This commit changes `deno add` to always produce a multiline config
file.

In v1.41.3:
```
$ mkdir foo
$ cd foo
$ deno add @std/assert
Created deno.json configuration file.
Add @std/assert - jsr:@std/assert@^0.220.0

$ cat deno.json
{ "imports": { "@std/assert": "jsr:@std/assert@^0.220.0" } }
```

Now:
```
$ mkdir foo
$ cd foo
$ deno add @std/assert
Created deno.json configuration file.
Add @std/assert - jsr:@std/assert@^0.220.0

$ cat deno.json
{ 
  "imports": {
    "@std/assert": "jsr:@std/assert@^0.220.0"
  }
}
```
2024-03-26 17:40:24 -04:00
..
bench fix(bench): Fix group header printing logic + don't filter out the warmup benchmark (#23083) 2024-03-26 09:19:24 -07:00
coverage fix(coverage): Error if no files are included in the report (#22952) 2024-03-15 20:58:57 -07:00
init chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
jupyter fix(kernel): Do not increase counter if store_history=false (#20848) 2024-03-26 18:48:23 +00:00
lint refactor(lsp): unify config file data into ConfigTree (#23032) 2024-03-26 15:52:20 +00:00
registry feat(add): always produce multiline config file (#23077) 2024-03-26 17:40:24 -04:00
repl fix(cli): output more detailed information for steps when using JUnit reporter (#22797) 2024-03-26 00:08:46 +09:00
run chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
test fix(cli): output more detailed information for steps when using JUnit reporter (#22797) 2024-03-26 00:08:46 +09:00
vendor chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00
bundle.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
check.rs fix(unstable/publish): repect --no-check in no-slow-types (#22653) 2024-03-01 15:54:46 +00:00
compile.rs chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00
doc.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
fmt.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
info.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
installer.rs chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00
mod.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
task.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
upgrade.rs chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00