David Sherret
b15f9e60a0
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
2023-02-22 22:45:35 -05:00
Bartek Iwańczuk
9e282155b7
tests: move integration tests to a single module ( #17380 )
...
Effectively reverts changes done in
https://github.com/denoland/deno/pull/16816
2023-01-13 02:59:13 +01:00
Bartek Iwańczuk
7e0c558187
tests: move integration tests to separate modules ( #16816 )
2022-11-26 02:29:56 +01:00
David Sherret
e6a9588b43
fix(task): output encoding issues on windows ( #16794 )
...
Closes #16792
2022-11-24 19:37:02 -05:00
David Sherret
872dc9b1df
feat(unstable/task): add INIT_CWD
env var ( #16110 )
2022-10-15 16:46:28 -04:00
David Sherret
73504d76b2
fix(task): resolve deno configuration file first from specified --cwd
arg ( #15257 )
2022-07-20 10:36:14 -04:00
Kayla Washburn
94068b7109
feat(task): add --cwd
flag for configuring the working directory ( #14823 )
2022-06-08 15:30:16 -06:00
David Sherret
b65d5024ef
fix: read raw stdin to prevent buffering (regression) ( #14704 )
2022-05-23 12:35:02 -04:00
David Sherret
69be1f3cf7
fix: deno task should actually use current exe for deno
command ( #14705 )
2022-05-23 12:04:28 -04:00
David Sherret
748aff1e94
feat(task): add unstable warning to deno task
( #13966 )
2022-03-15 21:24:07 -04:00
Bartek Iwańczuk
9d9e60b694
feat(task): log task script ( #13922 )
...
Logs task name and associated script with additional args.
This is disabled if "--quiet/-q" flag is present.
2022-03-12 02:35:18 +01:00
Bartek Iwańczuk
47f22777be
feat: "deno task" subcommand ( #13725 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-10 20:56:14 -05:00