Commit Graph

310 Commits

Author SHA1 Message Date
Dillon Kearns
e837c9538f Fix issue where command output did not pipe through correctly in the middle of a Stream. 2024-05-02 09:05:40 -07:00
Dillon Kearns
f9f066eece Revert "Update NPM dependencies."
This reverts commit b40faa07b6.
2024-04-30 08:37:12 -07:00
Dillon Kearns
b40faa07b6 Update NPM dependencies. 2024-04-29 10:21:06 -07:00
Dillon Kearns
a18d7a88a8 Revert elm-codegen version. 2024-04-29 08:59:46 -07:00
Dillon Kearns
2b352f6109 Update package-lock. 2024-04-29 08:01:51 -07:00
Dillon Kearns
66f72d5430 Handle HTTP errors in the middle of a Stream. 2024-04-26 09:06:13 -07:00
Dillon Kearns
0e41e9e961 Update elm-codegen. 2024-04-25 10:08:27 -07:00
Dillon Kearns
380888d219
Merge pull request #469 from miniBill/globby
Work around bug in micromatch
2024-04-25 10:07:51 -07:00
Dillon Kearns
6a32e56136 Add test case for capturing leading "./". 2024-04-25 10:07:15 -07:00
Dillon Kearns
878c5eda17 Add some test cases for glob with leading "./". 2024-04-25 09:51:27 -07:00
Dillon Kearns
75a6a8737a Bump package-lock file. 2024-04-25 09:34:45 -07:00
Dillon Kearns
c485c89196 Merge branch 'master' into vendored-result-extra 2024-04-25 09:15:51 -07:00
Dillon Kearns
6679f0bbc8 Handle race condition with CLI commands that throw errors. 2024-04-24 08:55:58 -07:00
Dillon Kearns
e61db1f99a Update docs. 2024-04-19 13:42:08 -07:00
Dillon Kearns
f58dcc6c02 Handle gzip with no input. 2024-04-18 10:30:00 -07:00
Dillon Kearns
d2bdf92e95 Handle creating folders for file write streams, and handle errors. 2024-04-17 18:16:25 -07:00
Dillon Kearns
e5e1798459 Handle createReadStream errors. 2024-04-17 15:27:04 -07:00
Dillon Kearns
b9a9c41d4d Improve metadata decoding in Streams and allow for custom streams. 2024-04-17 09:37:01 -07:00
Dillon Kearns
f7d42231d2 Handle errors in commands. 2024-04-15 09:20:36 -07:00
Dillon Kearns
35dc5abb85 Handle Stream HTTP errors. 2024-04-15 08:46:09 -07:00
Dillon Kearns
9c4f42dfae Replace CommandOutput with StderrOutput option to choose to merge or ignore sterr, etc. 2024-04-13 14:57:57 -07:00
Dillon Kearns
b7a7fc0434 Move Stream module under BackendTask namespace. 2024-04-12 14:10:05 -07:00
Dillon Kearns
f1311ef640 Wire through metadata for commands. 2024-04-12 12:16:34 -07:00
Dillon Kearns
2b78f740b1 Add metadata type variables to Streams to allow for read/readJson, etc. to be combined without combinatoric explosion of functions. 2024-04-11 19:53:57 -07:00
Leonardo Taglialegne
5f214d3177 Move vendored Result.Extra to Vendored.Result.Extra 2024-04-06 18:26:28 +02:00
Dillon Kearns
6e71e8d4b6 Update docs. 2024-04-05 15:11:38 -07:00
Dillon Kearns
b5f8e81863 Add test case for custom read stream. 2024-04-05 10:27:11 -07:00
Dillon Kearns
510faaab11 Add color and improve formatting in BackendTest helper. 2024-04-05 10:07:39 -07:00
Dillon Kearns
1d4d80d902 Improve stream error handling. 2024-04-05 09:46:17 -07:00
Dillon Kearns
5169843215 Add custom utilities to Stream API. 2024-04-05 07:40:33 -07:00
Dillon Kearns
07a9a074bf Add missing try. 2024-04-05 05:33:17 -07:00
Dillon Kearns
f78f7ae973 Add command run API to Stream. 2024-04-04 20:03:15 -07:00
Dillon Kearns
094f5e8147 Add BackendTaskTest. 2024-04-04 20:03:15 -07:00
Dillon Kearns
ec464f43a4 Add initial Stream API. 2024-04-02 09:04:07 -07:00
Dillon Kearns
5249115507 Overwrite Debug.todo for script runner to print error and set process.exitCode = 1. Fixes #462. 2024-03-31 18:53:50 -07:00
Dillon Kearns
d600980041 Move Shell API to exposed module BackendTask.Shell. 2024-03-28 19:53:30 -07:00
Dillon Kearns
8a7603bea1 Use captureOutput context to use smoother stdio: inherit for commands that do not consume the output from Elm. 2024-03-28 19:11:48 -07:00
Dillon Kearns
678532151b Add Shell.sh helper. 2024-03-21 08:56:50 -07:00
Dillon Kearns
30ba93618a Add withCwd. 2024-03-18 09:14:43 -07:00
Dillon Kearns
f3f6537d42 Use ( String, List String ) for ( command, args ) to have more predictable and constrained shell escaping. 2024-03-17 14:33:48 -07:00
Dillon Kearns
031e4109bc Add shell helpers. 2024-03-15 10:23:20 -07:00
Dillon Kearns
7b4aef0884 Add Script.question. 2024-03-14 09:36:03 -07:00
Dillon Kearns
c6a752a171 Add which helpers to Script module. 2024-03-14 09:08:53 -07:00
Dillon Kearns
ccb6ffb052 Update dependencies. 2024-03-13 20:22:47 -07:00
Dillon Kearns
dc50d43e33 Add Effect.elm to elm-application.json for end-to-end app. 2024-03-13 20:22:47 -07:00
Dillon Kearns
6539a2fda3 Add some doc comments to an Effect.elm module. 2024-03-13 20:22:47 -07:00
Dillon Kearns
9c7737d428 Remove some instances of placeholder. 2024-03-13 20:22:47 -07:00
Dillon Kearns
7078225581 Add Step API. 2024-02-14 16:34:19 -08:00
Dillon Kearns
05a308819e Add some target example scripts. 2024-02-13 18:13:36 -08:00
Dillon Kearns
5fd73e3c09 Add dependency. 2024-02-13 18:12:51 -08:00