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/package_json/bin.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/package_json/bin.out')
| -rw-r--r-- | cli/tests/testdata/task/package_json/bin.out | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/testdata/task/package_json/bin.out b/cli/tests/testdata/task/package_json/bin.out new file mode 100644 index 000000000..ed1b6b8a2 --- /dev/null +++ b/cli/tests/testdata/task/package_json/bin.out @@ -0,0 +1,10 @@ +Download http://localhost:4545/npm/registry/@denotest/bin +Download http://localhost:4545/npm/registry/@denotest/bin/0.5.0.tgz +Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz +Task bin @denotest/bin hi && cli-esm testing this out && npx cli-cjs test "extra" +hi +testing +this +out +test +extra |
