deno/cli
David Sherret 661aa22c03
feat(task): dependencies (#26467)
This commit adds support for "dependencies" in `deno task` subcommand:
```jsonc
{
    "tasks": {
        "build": "deno run -RW build.ts",
        "generate": "deno run -RW generate.ts",
        "serve": {
            "command": "deno run -RN server.ts",
            "dependencies": ["build", "generate"]
        }
    }
}
```
Executing `deno task serve` will first execute `build` and `generate`
tasks (in parallel) and once both complete the `serve` task will be executed.

Number of tasks run in parallel is equal to the no of cores on the
machine, and respects `DENO_JOBS` env var if one is specified.

Part of https://github.com/denoland/deno/issues/26462

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-11-19 12:45:09 +00:00
..
args perf(compile): code cache (#26528) 2024-11-18 20:09:28 +00:00
bench chore: update dlint to v0.68.0 for internal (#26711) 2024-11-04 12:17:11 -05:00
cache perf(compile): code cache (#26528) 2024-11-18 20:09:28 +00:00
js feat(jupyter): Add Deno.jupyter.image API (#26284) 2024-11-16 15:13:50 +00:00
lsp fix(lsp): ignore editor indent settings if deno.json is present (#26912) 2024-11-18 21:45:34 +00:00
npm refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
ops fix: performance.timeOrigin (#26787) 2024-11-08 23:20:24 +01:00
schemas feat(task): dependencies (#26467) 2024-11-19 12:45:09 +00:00
standalone perf(compile): code cache (#26528) 2024-11-18 20:09:28 +00:00
tools feat(task): dependencies (#26467) 2024-11-19 12:45:09 +00:00
tsc feat(runtime): remove public OTEL trace API (#26854) 2024-11-18 23:55:22 +00:00
util feat(watch): log which file changed on HMR or watch change (#25801) 2024-11-16 15:59:31 +01:00
auth_tokens.rs
build.rs perf(windows): delay load webgpu and some other dlls (#26917) 2024-11-18 20:44:17 +00:00
Cargo.toml refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
cdp.rs
clippy.toml fix: otel resiliency (#26857) 2024-11-14 12:16:28 +00:00
deno.ico
emit.rs feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
entitlements.plist
errors.rs refactor: use concrete error type for remaining ops (#26746) 2024-11-06 16:57:57 -08:00
factory.rs refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
file_fetcher.rs fix: update message for unsupported schemes with npm and jsr (#26884) 2024-11-15 17:09:19 +00:00
graph_container.rs feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
graph_util.rs fix: otel resiliency (#26857) 2024-11-14 12:16:28 +00:00
http_util.rs fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
integration_tests_runner.rs
js.rs
jsr.rs
main.rs refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
mainrt.rs fix: otel resiliency (#26857) 2024-11-14 12:16:28 +00:00
module_loader.rs refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
node.rs refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
README.md
resolver.rs refactor(resolver): move more resolution code into deno_resolver (#26873) 2024-11-14 15:24:25 -05:00
shared.rs
task_runner.rs fix(cli): set npm_config_user_agent when running npm packages or tasks (#26639) 2024-10-31 22:19:19 -07:00
version.rs
worker.rs perf(compile): code cache (#26528) 2024-11-18 20:09:28 +00: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.