1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli
Bartek Iwańczuk 1c14127c4f
feat: support bare specifier resolution with package.json (#17864)
This commit enables resolution of "bare specifiers" (eg. "import express
from 'express';") if a "package.json" file is discovered. 

It's a step towards being able to run projects authored for Node.js 
without any changes.

With this commit we are able to successfully run Vite projects without
any changes to the user code.

---------

Co-authored-by: David Sherret <dsherret@gmail.com>
2023-02-22 23:21:05 +01:00
..
args fix(npm): improve peer dependency resolution (#17835) 2023-02-21 12:03:48 -05:00
bench fix(lint): revert no-deprecated-api for Deno.run (#17880) 2023-02-22 16:14:53 +00:00
cache feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
js refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00
lsp feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
napi fix(cli/napi): correct name handling in napi property descriptor (#17716) 2023-02-10 21:46:56 +05:30
node refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
npm refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
ops chore: add copyright_checker tool and add the missing copyright (#17285) 2023-01-13 16:51:32 +09:00
schemas feat: embed import map in the config file (#17478) 2023-01-25 21:13:40 +01:00
tests feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
tools feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
tsc refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
util refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs build: add "include_js_files_for_snapshotting" Cargo feature (#17826) 2023-02-20 21:45:34 +01:00
Cargo.toml refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
emit.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
errors.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
file_fetcher.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
graph_util.rs feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
http_util.rs feat(install): follow redirects for urls with no path (#17449) 2023-02-10 10:11:11 -05:00
js.rs chore: add copyright_checker tool and add the missing copyright (#17285) 2023-01-13 16:51:32 +09:00
main.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
module_loader.rs refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
proc_state.rs feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
standalone.rs refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
version.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
worker.rs refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05: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.