Commit Graph

172 Commits

Author SHA1 Message Date
Dillon Kearns
fd08eda9f7 Fix error in script. 2023-01-08 11:44:09 -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
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
55e94c3970 Update withMetadata to accept a combine function. 2023-01-07 09:56:51 -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
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
7f23779816 Rename DataSource -> BackendTask. 2023-01-01 14:45:54 -08:00
Dillon Kearns
6bd91eb68e Make DataSource.Port error catchable. 2022-12-31 13:24:00 -08:00
Dillon Kearns
b9902c2c8c Remove Debug.todo in example. 2022-12-31 12:00:02 -08:00
Dillon Kearns
c982947c7d Make Throwable/Catchable exceptions. 2022-12-28 18:45:49 -07:00
Dillon Kearns
d78a3ca91d Add initial prototype for error type variable in DataSources. 2022-12-26 10:53:06 -07:00
Dillon Kearns
94a37fe51f Extract secrets in helper to single definition. 2022-12-21 08:46:04 -08:00
Dillon Kearns
dcf19fd443 Add default config in example project to reduce warnings. 2022-12-18 17:12:37 -08:00
Dillon Kearns
14968cad9c Add favicon. 2022-12-15 10:19:59 -08:00
Dillon Kearns
3462441c0e Remove some unused code and hardcoding. 2022-12-15 09:50:31 -08:00
Dillon Kearns
11c5897737 Seperate test scripts into 3 different scripts. 2022-12-08 09:47:13 -08:00
Dillon Kearns
49fc15994b Add example script for testing uncached requests. 2022-12-07 11:47:01 -08:00
Dillon Kearns
73fb00e38a Bump example project package-lock files. 2022-12-07 09:39:36 -08:00
Dillon Kearns
b7f78559d5 Rename generator functions. 2022-11-22 12:45:40 -08:00
Dillon Kearns
3a0534a6a0 Rename Generator to Script. 2022-11-22 12:44:08 -08:00
Dillon Kearns
6967822047 Use latest elm-pages run script format for route scaffolding example. 2022-11-22 12:27:53 -08:00
Dillon Kearns
642bbc3398 Change generators to elm-pages run instead of elm-pages codegen, and resolve DataSource's through new generator API. 2022-11-22 11:21:11 -08:00
Dillon Kearns
0685561fd1 Prevent use of wait in cypress test to make it more resilient. 2022-11-18 10:21:58 -08:00
Dillon Kearns
d16c1699f1 Add fetcher test for race conditions. 2022-11-18 10:08:10 -08:00
Dillon Kearns
a418abf3be Bump package-lock files. 2022-11-15 17:19:44 -08:00
Dillon Kearns
a2e0f87f0f Update dependencies. 2022-11-15 16:53:10 -08:00
Dillon Kearns
eaadf697a3 Resolve conflict between vendored elm-program-test result-extra package and installed package in example folder. 2022-11-15 16:47:42 -08:00
Dillon Kearns
f10d1c7a0c Add a compatability key to ensure that the Elm and NPM package versions are compatible. 2022-11-07 11:17:47 +05:30
Dillon Kearns
bf6b27e68e Fix error in example. 2022-11-03 10:23:03 +05:30
Dillon Kearns
6a06767120 Include optional parameter for htmlToString configuration. 2022-10-29 19:38:19 +05:30
Dillon Kearns
7c9fb152c8 Move some meta tags from elm-pages.config.mjs template to Elm code. 2022-10-29 18:54:03 +05:30
Dillon Kearns
0f8cd29c14 Allow for user-customized head tags template that is processed by Vite. 2022-10-28 10:58:36 +05:30
Dillon Kearns
5be89eaa22 Add fetcher cypress test. 2022-10-18 15:35:06 -07:00
Dillon Kearns
81a1fc98e3 Update dependency in sample projects. 2022-10-14 09:55:40 -07:00
Dillon Kearns
3986e296dd Add dark mode session example. 2022-10-07 09:59:48 -07:00
Dillon Kearns
8d8029b668 Add codegen setup for end-to-end example. 2022-10-06 11:12:36 -07:00
Dillon Kearns
eb398c30e3 Move nested Maybe wrapped in Result to flat Err variant in Session API, and remove obsolete expectSession helper. 2022-10-06 09:50:44 -07:00
Dillon Kearns
b4a603fca8 Change argument order. 2022-10-06 09:35:42 -07:00
Dillon Kearns
fd2742cb1a Extract function. 2022-10-06 08:32:01 -07:00
Dillon Kearns
96ad324e4b Make HttpOnly cookies the default (opt in to JS visibile cookies instead of opting out). 2022-10-06 07:56:14 -07:00
Dillon Kearns
722e03337a Fix example. 2022-10-05 15:41:35 -07:00
Dillon Kearns
0303636813 Update examples to use List Html for body. 2022-10-05 12:47:48 -07:00
Dillon Kearns
8e30daff12 Add dependency. 2022-10-05 12:20:01 -07:00
Dillon Kearns
f6cb6ca7fd Add missing dependency in examples. 2022-10-04 17:15:48 -07:00
Dillon Kearns
e48f640019 Install missing dependencies. 2022-09-14 14:47:49 -07:00
Dillon Kearns
f4d524bc9e Fix build. 2022-09-10 12:20:28 -07:00