deno/cli/tools
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
..
bench fix(compile): relative permissions should be retained as relative (#23719) 2024-05-06 19:21:58 -04:00
coverage refactor: move redirect handling into deno_graph (#23444) 2024-04-19 01:43:28 +00:00
init feat(init): use jsr specifier for @std/assert (#23073) 2024-03-27 18:51:52 +01:00
jupyter refactor(jupyter): move communication methods out of data structs (#23622) 2024-05-01 02:30:40 +00:00
lint fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
registry FUTURE: deno install changes (#23498) 2024-05-08 12:34:46 -07:00
repl fix(compile): relative permissions should be retained as relative (#23719) 2024-05-06 19:21:58 -04:00
run fix(compile): relative permissions should be retained as relative (#23719) 2024-05-06 19:21:58 -04:00
test fix(compile): relative permissions should be retained as relative (#23719) 2024-05-06 19:21:58 -04:00
vendor feat(cli): add support for jsxImportSourceTypes (#23419) 2024-04-30 18:12:35 +00:00
bundle.rs fix(cli): Don't panic on invalid emit options (#23463) 2024-04-23 08:50:50 -07:00
check.rs fix(check): ignore certain diagnostics in remote modules and when publishing (#23119) 2024-03-31 16:39:40 -04:00
compile.rs fix(cli): Don't panic on invalid emit options (#23463) 2024-04-23 08:50:50 -07:00
doc.rs chore: update deno_doc (#23621) 2024-05-01 00:43:24 +00:00
fmt.rs fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
info.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
installer.rs FUTURE: deno install changes (#23498) 2024-05-08 12:34:46 -07:00
mod.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
task.rs feat(task): support running npm binary commands in deno.json (#23478) 2024-04-20 20:13:46 -04:00
upgrade.rs chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00