1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/cli/tools/registry
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
..
api.rs feat(publish): add npm: suggestion for esm.sh specifiers (#22343) 2024-03-04 09:55:28 +05:30
auth.rs fix(publish): permissionless dry-run in GHA (#22679) 2024-03-06 18:26:20 +05:30
diagnostics.rs feat(unstable/publish): error when a package's module is excluded from publishing (#22948) 2024-03-21 21:42:23 +00:00
graph.rs feat(unstable/lint): no-slow-types for JSR packages (#22430) 2024-02-19 15:28:41 +00:00
mod.rs feat(publish): check for uncommitted files in deno publish --dry-run (#22981) 2024-03-22 12:41:33 -07:00
paths.rs feat(publish): give diagnostic on invalid package files (#22082) 2024-01-24 21:24:52 +00:00
pm.rs feat(add): always produce multiline config file (#23077) 2024-03-26 17:40:24 -04:00
provenance.rs perf(cli): use faster_hex (#22761) 2024-03-07 10:00:43 -07:00
publish_order.rs feat(unstable/lint): no-slow-types for JSR packages (#22430) 2024-02-19 15:28:41 +00:00
tar.rs fix(publish): regression - publishing with vendor folder (#22830) 2024-03-09 20:40:53 -05:00
unfurl.rs fix(tools/publish): correctly handle importing from self in unfurling (#22774) 2024-03-07 17:29:17 +01:00