1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli
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
..
args FUTURE: deno install changes (#23498) 2024-05-08 12:34:46 -07:00
bench chore(lsp): Include new benchmark in the collected benchmark data (#23420) 2024-04-17 20:55:56 +01:00
cache chore: add tests for moduleGraph2 (#23603) 2024-04-29 14:09:58 -04:00
js chore: update references to deno_std to use JSR (#23239) 2024-04-10 17:26:35 -04:00
lsp refactor(lsp): cleanup partially locking methods (#23723) 2024-05-08 06:34:42 +01:00
napi fix(ext/node): napi_get_element and napi_set_element work with objects (#23713) 2024-05-06 21:22:50 +02:00
npm fix(npm): do not panic hitting root dir while resolving npm package (#23556) 2024-04-25 14:13:55 +00:00
ops refactor(jupyter): move communication methods out of data structs (#23622) 2024-05-01 02:30:40 +00:00
schemas feat(cli): add support for jsxImportSourceTypes (#23419) 2024-04-30 18:12:35 +00:00
standalone fix(compile): relative permissions should be retained as relative (#23719) 2024-05-06 19:21:58 -04:00
tools FUTURE: deno install changes (#23498) 2024-05-08 12:34:46 -07:00
tsc fix: upgrade TypeScript from 5.4.3 to 5.4.5 (#23740) 2024-05-08 13:54:56 -04:00
util feat(runtime): Allow embedders to perform additional access checks on file open (#23208) 2024-04-19 18:12:03 -06:00
auth_tokens.rs fix(cli): Add IP address support to DENO_AUTH_TOKEN (#22297) 2024-02-06 19:45:40 +01:00
build.rs fix: upgrade TypeScript from 5.4.3 to 5.4.5 (#23740) 2024-05-08 13:54:56 -04:00
Cargo.toml fix(jsr): panic when importing jsr package with deps via https (#23728) 2024-05-07 21:53:17 +00:00
cdp.rs refactor(tools/repl): reorganize code (#21810) 2024-01-05 16:14:58 +01:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
emit.rs fix(publish): support import equals (#23421) 2024-04-17 19:15:02 +00:00
entitlements.plist chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
errors.rs fix: upgrade to deno_ast 0.33 (#22341) 2024-02-09 01:40:26 +00:00
factory.rs FUTURE: deno install changes (#23498) 2024-05-08 12:34:46 -07:00
file_fetcher.rs refactor(lsp): cleanup cache and module registry update (#23620) 2024-05-03 20:52:58 +01:00
graph_util.rs feat(jsr): support importing from jsr via HTTPS specifiers (except for type checking) (#23513) 2024-04-24 21:43:34 +00:00
http_util.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
integration_tests_runner.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
js.rs chore(cli): remove problematic snapshot test (#22722) 2024-03-05 19:11:33 -07:00
jsr.rs refactor(lsp): reland move resolver fields to LspResolver (#23685) 2024-05-07 03:20:15 +01:00
main.rs FUTURE: remove import assertions support for JavaScript (#23541) 2024-04-29 22:43:05 +02:00
mainrt.rs refactor: cleanup main entrypoint (#23145) 2024-03-31 10:58:19 -04:00
module_loader.rs FUTURE: deno install changes (#23498) 2024-05-08 12:34:46 -07:00
node.rs feat(runtime): Allow embedders to perform additional access checks on file open (#23208) 2024-04-19 18:12:03 -06:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs feat(cli): add support for jsxImportSourceTypes (#23419) 2024-04-30 18:12:35 +00:00
version.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
worker.rs fix(ext/node): don't rely on Deno.env to read NODE_DEBUG (#23694) 2024-05-05 16:16:02 +02:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.