deno/tests
Bartek Iwańczuk 84e1238648
feat(task): support object notation, remove support for JSDocs (#26886)
This commit changes three aspects of `deno task`:
1. Tasks can now be written using object notation like so:
```jsonc
{
  "tasks": {
     "foo": "deno run foo.js",
     "bar": {
        "command": "deno run bar.js"
     }
}
```
2. Support for comments for tasks is now removed. Comments above tasks
will
no longer be printed when running `deno task`.
3. Tasks written using object notation can have "description" field that
replaces
support for comments above tasks:
```jsonc
{
  "tasks": {
     "bar": {
        "description": "This is a bar task"
        "command": "deno run bar.js"
     }
}
```
```
$ deno task
Available tasks:
- bar
    // This is a bar task
    deno run bar.js
```

Pulled most of the changes from
https://github.com/denoland/deno/pull/26467 to
support "dependencies" in tasks. Additionally some cleanup was performed
to make code easier to read.

---------

Co-authored-by: David Sherret <dsherret@gmail.com>
2024-11-16 12:18:17 +01:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi fix(ext/ffi): return u64/i64 as bigints from nonblocking ffi calls (#26486) 2024-10-24 09:41:38 +05:30
integration feat(fetch): accept async iterables for body (#26882) 2024-11-15 15:54:28 +01:00
napi chore: upgrade to rust 1.82 and LLVM 19 (#26615) 2024-11-01 16:13:02 +05:30
node_compat feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
registry feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
specs feat(task): support object notation, remove support for JSDocs (#26886) 2024-11-16 12:18:17 +01:00
testdata fix: update message for unsupported schemes with npm and jsr (#26884) 2024-11-15 17:09:19 +00:00
unit feat(fetch): accept async iterables for body (#26882) 2024-11-15 15:54:28 +01:00
unit_node feat(fetch): accept async iterables for body (#26882) 2024-11-15 15:54:28 +01:00
util fix: otel resiliency (#26857) 2024-11-14 12:16:28 +00:00
wpt feat(fetch): accept async iterables for body (#26882) 2024-11-15 15:54:28 +01:00
Cargo.toml refactor(ext/net): Use hickory dns instead of unmaintained trust-dns (#26741) 2024-11-06 15:49:32 -08:00
lib.rs
README.md

Deno Integration Tests