1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli
Leo Kettmeir b4aa153097
refactor: Use ES modules for internal runtime code (#17648)
This PR refactors all internal js files (except core) to be written as
ES modules.
`__bootstrap`has been mostly replaced with static imports in form in
`internal:[path to file from repo root]`.
To specify if files are ESM, an `esm` method has been added to
`Extension`, similar to the `js` method.
A new ModuleLoader called `InternalModuleLoader` has been added to
enable the loading of internal specifiers, which is used in all
situations except when a snapshot is only loaded, and not a new one is
created from it.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-02-07 20:22:46 +01:00
..
args refactor: rename deno specifiers to internal (#17655) 2023-02-05 17:49:20 +01:00
bench chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
cache refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
js refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
lsp fix: revert lsp related internal specifiers (#17673) 2023-02-06 22:49:49 +01:00
napi chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
node refactor: rename deno specifiers to internal (#17655) 2023-02-05 17:49:20 +01:00
npm refactor(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -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
semver refactor(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00
tests refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
tools refactor: rename deno specifiers to internal (#17655) 2023-02-05 17:49:20 +01:00
tsc refactor: rename deno specifiers to internal (#17655) 2023-02-05 17:49:20 +01: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 refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
Cargo.toml chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00: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 chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
file_fetcher.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
graph_util.rs refactor: remove old cjs_esm_translations in graph_util (#17643) 2023-02-03 23:00:50 -05:00
http_util.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -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(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00
module_loader.rs refactor: remove old cjs_esm_translations in graph_util (#17643) 2023-02-03 23:00:50 -05:00
proc_state.rs refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor(deno_graph): remove unused Resolved::Ok#kind usage (#17504) 2023-01-24 08:23:19 -05:00
standalone.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
version.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
worker.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -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.