1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
"tempDir": true,
"steps": [
{
"args": "install",
"output": "install.out"
},
{
"args": "task run-esm",
"output": "Task run-esm cli-esm hello world\n@denotest/bin 0.7.0\n"
},
{
"args": "task run-cjs",
// @denotest/bin 0.7.0 doesn't have a cli-cjs, so it should use the one from @denotest/transitive-bin
// because it's closer than the one from @denotest/bin 1.0.0
"output": "Task run-cjs cli-cjs hello world\n@denotest/transitive-bin 1.0.0\n"
},
{
"args": "task run-no-ext",
"output": "Task run-no-ext cli-no-ext hello world\n@denotest/bin 0.7.0\n"
},
{
// even though we didn't put it in .bin, make sure the bin entry is marked executable
"if": "unix",
"commandName": "node_modules/.deno/@denotest+bin@1.0.0/node_modules/@denotest/bin/cli-cjs.js",
"args": "hello",
"output": "hello\n"
}
]
}
|