Commit Graph

1940 Commits

Author SHA1 Message Date
Dillon Kearns
8879b3efa6 Rename BackendTask.Custom.get -> BackendTask.Custom.run. 2023-01-17 07:14:03 -08:00
Dillon Kearns
f7825c45c7 Look for BackendTask.Custom definitions in custom-backend-task instead of port-data-source. 2023-01-17 07:08:15 -08:00
Dillon Kearns
ea29d1bbb3 Rename BackendTask.Port -> BackendTask.Custom. 2023-01-17 07:04:18 -08:00
Dillon Kearns
d61ddecca8 Make FatalError opaque. 2023-01-16 21:43:59 -08:00
Dillon Kearns
5b19e2dc3e Rename BackendTask.throw -> BackendTask.allowFatal. 2023-01-16 18:24:48 -08:00
Dillon Kearns
60afaee624 Rename Exception -> RecoverableError. 2023-01-16 17:48:46 -08:00
Dillon Kearns
0b54107831 Remove unnecessary metadata for example page. 2023-01-14 09:26:58 -08:00
Dillon Kearns
2ddd0c89e8 Use record for parameters in Pages.Generate to make it more manageable to keep track of names. 2023-01-13 15:53:57 -08:00
Dillon Kearns
77e37c5d0b Add another example script. 2023-01-12 12:04:37 -08:00
Dillon Kearns
a88c0400d2 Fix example script. 2023-01-12 12:04:30 -08:00
Dillon Kearns
e5bcdf2d6e Rename Exception.Catchable -> Exception.Exception to reduce number of terms. 2023-01-10 11:06:20 -08:00
Dillon Kearns
0c8bebee1d Try a different cache path to see if netlify gives error. 2023-01-09 14:37:21 -08:00
Dillon Kearns
c31e952afa Try custom caching options to test netlify error. 2023-01-09 14:20:46 -08:00
Dillon Kearns
c4636ec93b Fix error in example. 2023-01-09 14:09:11 -08:00
Dillon Kearns
5d83cafff5 Force netlify build when parent folders change. 2023-01-09 13:19:26 -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
fd08eda9f7 Fix error in script. 2023-01-08 11:44:09 -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
e0d949c008 Fix example. 2023-01-07 15:41:52 -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
dd11836490 Remove unused. 2023-01-01 14:23:13 -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
6cff8a7000 Merge branch 'master' into backend-tasks 2022-12-31 11:46:15 -08:00
Dillon Kearns
804e9015ae Fix errors in example. 2022-12-30 18:03:43 -08:00
Dillon Kearns
e65218834b Fix example. 2022-12-29 17:33:55 -07:00
Dillon Kearns
18c5cb7d9e Update function name. 2022-12-29 07:36:14 -07:00
Dillon Kearns
c982947c7d Make Throwable/Catchable exceptions. 2022-12-28 18:45:49 -07:00
Dillon Kearns
81888ea995 Handle new Vite format in diff cleaning for tests. 2022-12-26 12:03:58 -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
a1b545008f Merge branch 'master' into uncached-requests
# Conflicts:
#	examples/docs/package-lock.json
#	examples/end-to-end/package-lock.json
2022-12-19 16:53:33 -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
4f56f19dc1 Bump cypress version. 2022-12-11 19:46:22 -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
4e13134eef Update esbuild version. 2022-12-07 09:37:56 -08:00