1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli
Marvin Hagemeister 08813ea25e
fix(node): map stdio [0, 1, 2] to "inherit" (#19352)
<!--
Before submitting a PR, please read https://deno.com/manual/contributing

1. Give the PR a descriptive title.

  Examples of good title:
    - fix(std/http): Fix race condition in server
    - docs(console): Update docstrings
    - feat(doc): Handle nested reexports

  Examples of bad title:
    - fix #7123
    - update docs
    - fix bugs

2. Ensure there is a related issue and it is referenced in the PR text.
3. Ensure there are tests that cover the changes.
4. Ensure `cargo test` passes.
5. Ensure `./tools/format.js` passes without changing files.
6. Ensure `./tools/lint.js` passes.
7. Open as a draft PR if your work is still in progress. The CI won't
run
   all steps, but you can add '[ci]' to a commit message to force it to.
8. If you would like to run the benchmarks on the CI, add the 'ci-bench'
label.
-->
Internally, `node-tap` spawns a child process with `stdio: [0, 1, 2]`.
Whilst we don't support passing fd numbers as an argument so far, it
turns out that `[0, 1, 2]` is equivalent to `"inherit"` which we already
support. See: https://nodejs.org/api/child_process.html#optionsstdio

Mapping it to `"inherit"` is fine for us and gets us one step closer in
getting `node-tap` working. I'm now at the stage where already the
coverage table is shown 🎉
2023-06-09 01:13:20 +02:00
..
args fix(compile): handle when DENO_DIR is readonly (#19257) 2023-05-25 14:27:45 -04:00
bench chore: remove useless benchmark (#19272) 2023-05-26 13:26:21 +00:00
cache fix: do not show cache initialization errors if stderr is piped (#18920) 2023-06-09 01:13:17 +02:00
js fix(ext/web): improve timers resolution for 0ms timeouts (#19212) 2023-05-22 14:09:31 +02:00
lsp refactor(core): remove ext: modules from the module map (#19040) 2023-05-28 12:44:41 -06:00
napi 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
npm refactor: upgrade to deno_npm 0.6 (#19244) 2023-05-24 16:23:10 -04:00
ops refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
schemas feat: add support for globs in the config file and CLI arguments for files (#19102) 2023-05-23 03:39:59 +02:00
standalone feat(runtime): add WorkerLogLevel (#19316) 2023-06-09 01:13:17 +02:00
tests fix(node): map stdio [0, 1, 2] to "inherit" (#19352) 2023-06-09 01:13:20 +02:00
tools fix(compile): handle when DENO_DIR is readonly (#19257) 2023-05-25 14:27:45 -04:00
tsc refactor(core): remove ext: modules from the module map (#19040) 2023-05-28 12:44:41 -06:00
util refactor(core): bake single-thread assumptions into spawn/spawn_blocking (#19056) 2023-05-14 15:40:01 -06:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs chore(core): Split JsRuntimeForSnapshot from JsRuntime (#19308) 2023-06-09 01:13:18 +02:00
Cargo.toml 1.34.1 (#19310) 2023-05-30 01:30:46 +02: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 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
emit.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
errors.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
factory.rs feat(runtime): add WorkerLogLevel (#19316) 2023-06-09 01:13:17 +02:00
file_fetcher.rs feat(unstable): add more options to Deno.createHttpClient (#17385) 2023-05-21 03:43:54 +02:00
graph_util.rs refactor(core): remove ext: modules from the module map (#19040) 2023-05-28 12:44:41 -06:00
http_util.rs feat(unstable): add more options to Deno.createHttpClient (#17385) 2023-05-21 03:43:54 +02:00
js.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
main.rs Revert "perf: use jemalloc as global allocator (#18957)" (#19187) 2023-05-19 09:10:33 -04:00
module_loader.rs refactor(core): don't pass op state to prepare_module_load() (#19332) 2023-06-09 01:13:19 +02:00
node.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs feat: top level package.json install when node_modules dir is explicitly opted into (#19233) 2023-05-23 18:51:48 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
watcher.rs refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-01 14:35:23 -04:00
worker.rs feat(runtime): add WorkerLogLevel (#19316) 2023-06-09 01:13:17 +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.