Commit Graph

4950 Commits

Author SHA1 Message Date
Dillon Kearns
5d83cafff5 Force netlify build when parent folders change. 2023-01-09 13:19:26 -08:00
Dillon Kearns
0f11b031fb Try safeFetch wrapper to handle ENOENT errors if server environment has a filesystem error. 2023-01-09 13:17:22 -08:00
Dillon Kearns
e2297cd52f Add build generator step to netlify build command. 2023-01-09 11:29:22 -08:00
Dillon Kearns
0afe0b37ca Update example to latest and fix some types in API. 2023-01-09 11:24:50 -08:00
Dillon Kearns
4998458706 Bump compatability key. 2023-01-08 13:03:18 -08:00
Dillon Kearns
26dee347c4 3.0.0-beta.14 2023-01-08 13:02:40 -08:00
Dillon Kearns
5e2ad63039 Bump Elm version. 2023-01-08 13:02:03 -08:00
Dillon Kearns
07e5636767 Bump timeout duration. 2023-01-08 12:01:00 -08:00
Dillon Kearns
0b23cbd736 Bump mocha. 2023-01-08 11:55:50 -08:00
Dillon Kearns
4e6cc7381a Bump dependencies. 2023-01-08 11:54:56 -08:00
Dillon Kearns
ea2bfc89fd Bump dependencies. 2023-01-08 11:53:15 -08:00
Dillon Kearns
d5a6c3c53f Remove unused dependency. 2023-01-08 11:51:38 -08:00
Dillon Kearns
fcdc8aca8f Bump dependency. 2023-01-08 11:47:57 -08:00
Dillon Kearns
2e2608eca8 Bump vite. 2023-01-08 11:46:34 -08:00
Dillon Kearns
468308c5fe Remove unused dependency. 2023-01-08 11:45:57 -08:00
Dillon Kearns
68e7eedf55 Update codegen script to include Throwable type variable in BackendTask. 2023-01-08 11:44:28 -08:00
Dillon Kearns
fd08eda9f7 Fix error in script. 2023-01-08 11:44:09 -08:00
Dillon Kearns
9fa1f76eba
Merge pull request #3 from dillonkearns/backend-tasks
DataSource -> BackendTask with Error type variable
2023-01-08 11:13:56 -08:00
Dillon Kearns
7c71fe492c Fix error in docs site. 2023-01-08 11:13:39 -08:00
Dillon Kearns
2ae58cc0ab Fix test case compiler errors. 2023-01-08 11:04:27 -08:00
Dillon Kearns
a77787135d Don't list or delete dot-files in example to prevent git noise. 2023-01-08 11:04:17 -08:00
Dillon Kearns
e61a430a80 Update gitignore. 2023-01-08 10:58:42 -08:00
Dillon Kearns
b79d132625 Fix test case. 2023-01-08 10:57:38 -08:00
Dillon Kearns
fd1c27e6b8 Update HTTP API. 2023-01-08 10:50:56 -08:00
Dillon Kearns
91d009e70d Resolve port-data-source functions directly instead of writing them to cache. 2023-01-08 10:29:09 -08:00
Dillon Kearns
e0d949c008 Fix example. 2023-01-07 15:41:52 -08:00
Dillon Kearns
a9c9b69031 Try running elm-review before codemods. 2023-01-07 15:36:35 -08:00
Dillon Kearns
921b5504e0 Fix tests. 2023-01-07 15:33:23 -08:00
Dillon Kearns
766d6b02d7 Rename field. 2023-01-07 15:31:54 -08:00
Dillon Kearns
7301530495 Run elm-review through CLI instead of action. 2023-01-07 15:27:33 -08:00
Dillon Kearns
8f34381954 Add BackendTask.Http.bytesBody. 2023-01-07 15:26:31 -08:00
Dillon Kearns
ef0f091790 Make BackendTask.Http.get take an Expect, add Http.getJson and Http.post helpers. 2023-01-07 10:38:52 -08:00
Dillon Kearns
2ffea79f0b Merge requestWithOptions into a Maybe Options for BackendTask.Http.Request. 2023-01-07 10:22:10 -08:00
Dillon Kearns
55e94c3970 Update withMetadata to accept a combine function. 2023-01-07 09:56:51 -08:00
Dillon Kearns
f3170ecb81 Review fixes. 2023-01-07 09:52:12 -08:00
Dillon Kearns
89bf2b8167 Fix tests. 2023-01-07 09:48:40 -08:00
Dillon Kearns
9025b116ff Fix compiler error in test. 2023-01-06 19:31:55 -08:00
Dillon Kearns
23aa988413 Review fixes. 2023-01-06 18:24:34 -08:00
Dillon Kearns
223f2b69d5 Remove obsolete onError. 2023-01-06 18:24:15 -08:00
Dillon Kearns
33fc85b1b8
Merge pull request #7 from dillonkearns/json-data-optimization
Avoid creating unnecessary Elm Dicts by directly using JSON values fo…
2023-01-06 18:19:11 -08:00
Dillon Kearns
2abf10a468 Replace BackendTask.Http.expect*Response helpers with a more composable withMetadata expect builder. 2023-01-06 18:17:36 -08:00
Dillon Kearns
9c07ae57b8 Pass through caching options from request. 2023-01-06 12:53:48 -08:00
Dillon Kearns
b98b5bd7f3 Update docs. 2023-01-06 10:35:10 -08:00
Dillon Kearns
7b4aafa03e Fix renderer code error. 2023-01-06 10:34:57 -08:00
Dillon Kearns
9db4a351c4 Change test name. 2023-01-06 10:21:05 -08:00
Dillon Kearns
89491a9515 Use HTTP conditional requests, and fix some handling of HTTP error cases for BackendTask error paths (return the error data instead of handling them as build errors). 2023-01-06 10:03:19 -08:00
Dillon Kearns
fef2cbf6a4 Avoid creating unnecessary Elm Dicts by directly using JSON values for CLI Batch data from resolving BackendTask data. 2023-01-03 08:52:20 -08:00
Dillon Kearns
0e4c33e01b Add Exception import when needed. 2023-01-02 11:31:59 -08:00
Dillon Kearns
b1afe428e4 Update docs.json. 2023-01-02 11:04:11 -08:00
Dillon Kearns
a2a558992a Handle port-data-source errors in BackendTasks. 2023-01-02 11:02:22 -08:00