1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-05 09:04:41 -05:00
denoland-deno/cli
Bartek Iwańczuk d47147fb6a
feat(ext/node): embed std/node into the snapshot (#17724)
This commit moves "deno_std/node" in "ext/node" crate. The code is
transpiled and snapshotted during the build process.

During the first pass a minimal amount of work was done to create the
snapshot, a lot of code in "ext/node" depends on presence of "Deno"
global. This code will be gradually fixed in the follow up PRs to migrate
it to import relevant APIs from "internal:" modules.

Currently the code from snapshot is not used in any way, and all
Node/npm compatibility still uses code from 
"https://deno.land/std/node" (or from the location specified by 
"DENO_NODE_COMPAT_URL"). This will also be handled in a follow 
up PRs.

---------

Co-authored-by: crowlkats <crowlkats@toaxl.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-02-14 17:38:45 +01:00
..
args feat: Deprecate 'deno bundle' subcommand (#17695) 2023-02-14 02:13:44 +01:00
bench refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
cache perf: module info cache - avoid MediaType.to_string() allocation (#17699) 2023-02-09 09:17:48 -05:00
js refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00
lsp refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
napi fix(cli/napi): correct name handling in napi property descriptor (#17716) 2023-02-10 21:46:56 +05:30
node refactor: clean up "cli/node/mod.rs" and "ext/node" (#17713) 2023-02-10 10:26:39 -05:00
npm refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -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 fix: loading built-in Node modules embedded in the binary (#17777) 2023-02-14 16:48:27 +01:00
tools feat: Deprecate 'deno bundle' subcommand (#17695) 2023-02-14 02:13:44 +01:00
tsc feat: stabilize Deno.osUptime() (#17554) 2023-02-14 12:35:38 +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 feat(ext/node): embed std/node into the snapshot (#17724) 2023-02-14 17:38:45 +01:00
Cargo.toml refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -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: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
file_fetcher.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
graph_util.rs fix(cli/graph_util): don't append referrer info for root module errors (#17730) 2023-02-11 10:36:29 -05: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(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00
module_loader.rs refactor: allow to provide polyfills for Node modules from the snapshot (#17706) 2023-02-10 11:40:45 +00:00
proc_state.rs fix: loading built-in Node modules embedded in the binary (#17777) 2023-02-14 16:48:27 +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 refactor: clean up "cli/node/mod.rs" and "ext/node" (#17713) 2023-02-10 10:26:39 -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.