diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-02-22 22:45:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-22 22:45:35 -0500 |
| commit | b15f9e60a040e2e450e7ca9971a5fc07dbf8b94c (patch) | |
| tree | 4290744b0c0a8f8f5d063322a650fdabf2d3150c /cli/tests/testdata/task/deno_json/task_non_existent.out | |
| parent | cc8e4a00aaf4c4fe959944c7400f2e259f7faae8 (diff) | |
feat(task): support scripts in package.json (#17887)
This is a super basic initial implementation. We don't create a
`node_modules/.bin` folder at the moment and add it to the PATH like we
should which is necessary to make command name resolution in the
subprocess work properly (ex. you run a script that launches another
script that then tries to launch an "npx command"... this won't work
atm).
Closes #17492
Diffstat (limited to 'cli/tests/testdata/task/deno_json/task_non_existent.out')
| -rw-r--r-- | cli/tests/testdata/task/deno_json/task_non_existent.out | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cli/tests/testdata/task/deno_json/task_non_existent.out b/cli/tests/testdata/task/deno_json/task_non_existent.out new file mode 100644 index 000000000..efe3805f6 --- /dev/null +++ b/cli/tests/testdata/task/deno_json/task_non_existent.out @@ -0,0 +1,20 @@ +Task not found: non_existent +Available tasks: +- boolean_logic + sleep 0.1 && echo 3 && echo 4 & echo 1 && echo 2 || echo NOPE +- echo + echo 1 +- deno_echo + deno eval 'console.log(5)' +- strings + deno run main.ts && deno eval "console.log(\"test\")" +- piped + echo 12345 | (deno eval 'const b = new Uint8Array(1);Deno.stdin.readSync(b);console.log(b)' && deno eval 'const b = new Uint8Array(1);Deno.stdin.readSync(b);console.log(b)') +- exit_code_5 + echo $(echo 10 ; exit 2) && exit 5 +- echo_cwd + echo $(pwd) +- echo_init_cwd + echo $INIT_CWD +- echo_emoji + echo 🔥 |
