1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/cache
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
..
check.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
common.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
deno_dir.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
disk_cache.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
emit.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
http_cache.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
incremental.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
mod.rs feat: support bare specifier resolution with package.json (#17864) 2023-02-22 23:21:05 +01:00
node.rs refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
parsed_source.rs refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00