deno/cli/tools/registry
Bartek Iwańczuk 4e23a5b1fc
FUTURE: deno install changes (#23498)
This PR implements the changes we plan to make to `deno install` in deno
2.0.
- `deno install` without arguments caches dependencies from
`package.json` / `deno.json` and sets up the `node_modules` folder
- `deno install <pkg>` adds the package to the config file (either
`package.json` or `deno.json`), i.e. it aliases `deno add`
- `deno add` can also add deps to `package.json` (this is gated behind
`DENO_FUTURE` due to uncertainty around handling projects with both
`deno.json` and `package.json`)
- `deno install -g <bin>` installs a package as a globally available
binary (the same as `deno install <bin>` in 1.0)

---------

Co-authored-by: Nathan Whitaker <nathan@deno.com>
2024-05-08 12:34:46 -07: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 fix(publish): --dry-publish should error for gitignored excluded files (#23540) 2024-04-24 18:52:05 +00:00
graph.rs fix: upgrade deno_ast related crates (#23187) 2024-04-11 23:00:17 +00:00
mod.rs fix(publish): --dry-publish should error for gitignored excluded files (#23540) 2024-04-24 18:52:05 +00:00
paths.rs fix(publish): --dry-publish should error for gitignored excluded files (#23540) 2024-04-24 18:52:05 +00:00
pm.rs FUTURE: deno install changes (#23498) 2024-05-08 12:34:46 -07: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): --dry-publish should error for gitignored excluded files (#23540) 2024-04-24 18:52:05 +00:00
unfurl.rs fix: upgrade deno_ast related crates (#23187) 2024-04-11 23:00:17 +00:00