Commit Graph

1299 Commits

Author SHA1 Message Date
Dillon Kearns
01616dc4d5 Update options for new esbuild version. 2023-01-29 16:35:19 -08:00
Dillon Kearns
03273cb2a1 Show error for missing custom backend file. 2023-01-29 11:05:58 -08:00
Dillon Kearns
b0d188e00c Update to use new esbuild watch API. 2023-01-29 10:43:10 -08:00
Dillon Kearns
faf2f4b5f7 Print error. 2023-01-29 10:35:53 -08:00
Dillon Kearns
75ed9c50e7 Use node prefix for node core imports. 2023-01-29 08:37:50 -08:00
Dillon Kearns
70816b8877 Remove redundant switch return. 2023-01-29 08:36:38 -08:00
Dillon Kearns
9251a8201d Fix issue with globby import. 2023-01-29 08:36:21 -08:00
Dillon Kearns
ffdd9db19c Add bundle-script command. 2023-01-29 08:35:46 -08:00
Dillon Kearns
a15ce31e0e Remove tsconfig options relating to output format. 2023-01-28 17:57:43 -08:00
Dillon Kearns
948efdcc23 Remove unused value. 2023-01-28 17:57:27 -08:00
Dillon Kearns
eafd067b18 Fix esbuild step for script runner. 2023-01-28 12:14:08 -08:00
Dillon Kearns
d452cc0fd0 Use external packages option instead of hardcoded setting prisma dependency to external. 2023-01-27 19:59:53 -08:00
Dillon Kearns
19004f9180 Try importing custom-backend-task definitions directly to avoid bundling issues. 2023-01-27 10:18:19 -08:00
Dillon Kearns
1adf37ba42 Update tsconfig. 2023-01-27 09:39:56 -08:00
Dillon Kearns
93408eb17b Try prisma in Netlify. 2023-01-26 16:07:40 -08:00
Dillon Kearns
11b4fc729e Add BackendTask.Time.now. 2023-01-25 15:49:43 -08:00
Dillon Kearns
a864a517ea Add BackendTask.Random API. 2023-01-25 14:33:24 -08:00
Dillon Kearns
71bd580f98 Fix path to compiled CLI elm. 2023-01-25 09:00:19 -08:00
Dillon Kearns
7ef56571bf Use ESM for mocha tests. 2023-01-24 15:59:53 -08:00
Dillon Kearns
8978ed1ac9 Change CLI output file path extension to .cjs. 2023-01-24 15:52:42 -08:00
Dillon Kearns
645dd4e5dd Write compiled Elm CLI output with .cjs extension to make it compatible with "type": "module" in package.json file. 2023-01-23 16:03:52 -08:00
Dillon Kearns
e835b494c9 Update adapter script. 2023-01-22 15:47:51 -08:00
Dillon Kearns
2ecbc16eb9 Restart thread pool when Elm code changes to clear import cache. 2023-01-22 13:52:02 -08:00
Dillon Kearns
3622c715ad Remove references to obsolete staticHttpCache. 2023-01-22 09:45:18 -08:00
Dillon Kearns
9600de126b Convert to ESM. 2023-01-22 09:33:32 -08:00
Dillon Kearns
6c35bb9146 Include script module name in help text. 2023-01-19 08:43:15 -08:00
Dillon Kearns
56007d751b Include "elm-pages run" as executable name for scripts. 2023-01-19 08:31:06 -08:00
Dillon Kearns
6a50fe64d2 Fix BackendTask resolution logic. 2023-01-17 12:08:57 -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
904af360ad Update compatability key. 2023-01-16 21:46:40 -08:00
Dillon Kearns
8ebfd2ea2d Fix stalling for BackendTask worker. 2023-01-16 18:21:42 -08:00
Dillon Kearns
60afaee624 Rename Exception -> RecoverableError. 2023-01-16 17:48:46 -08:00
Dillon Kearns
99012b71a8 Handle another possible format from elm-review error JSON output. 2023-01-13 11:08:47 -08:00
Dillon Kearns
be32cbd2be Update docs and rename a BackendTask.Port Error variant. 2023-01-13 10:03:39 -08:00
Dillon Kearns
cf46e1582a Add missing cachePath option to fix HTTP Conditional Request caching behavior. 2023-01-13 08:48:32 -08:00
Dillon Kearns
18b77bbfa1 Bump compatability key. 2023-01-13 08:34:48 -08:00
Dillon Kearns
e12e4fb7f3 Remove obsolete code. 2023-01-13 08:30:05 -08:00
Dillon Kearns
233da2cb54 Fix issue with BackendTask being called twice in some cases. 2023-01-13 08:29:29 -08:00
Dillon Kearns
a93c4f68a3 Remove debug logs. 2023-01-09 16:46:33 -08:00
Dillon Kearns
830c4f90b5 Try different approach to ensure that fetch cache is accessible. 2023-01-09 15:13:42 -08:00
Dillon Kearns
0caf864ad3 Add some debug output for netlify function debugging. 2023-01-09 14:51:19 -08:00
Dillon Kearns
311b248eef Tweak safeFetch. 2023-01-09 13:30:14 -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
4998458706 Bump compatability key. 2023-01-08 13:03:18 -08:00
Dillon Kearns
d5a6c3c53f Remove unused dependency. 2023-01-08 11:51:38 -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
766d6b02d7 Rename field. 2023-01-07 15:31:54 -08:00
Dillon Kearns
8f34381954 Add BackendTask.Http.bytesBody. 2023-01-07 15:26:31 -08:00
Dillon Kearns
9c07ae57b8 Pass through caching options from request. 2023-01-06 12:53:48 -08:00