Dillon Kearns
|
05356dcd47
|
Revert back to terminating worker threads instead of fresh esm imports since esm import cache invalidation doesn't work.
|
2023-02-08 11:21:14 -08:00 |
|
Dillon Kearns
|
912c87f59d
|
Formatting.
|
2023-02-08 11:19:14 -08:00 |
|
Dillon Kearns
|
3ea9adf3a4
|
Add catch around delete to ignore when file is not found.
|
2023-02-08 08:12:30 -08:00 |
|
Dillon Kearns
|
f46aa9332e
|
Fix timestamp for loading fresh Elm compiled CLI code.
|
2023-02-08 08:11:44 -08:00 |
|
Dillon Kearns
|
d50bca43a9
|
Remove obsolete code for clearing previously used cache directory.
|
2023-02-08 08:11:07 -08:00 |
|
Dillon Kearns
|
a9f431f4af
|
Bump NPM package.
|
2023-02-07 10:28:36 -08:00 |
|
Dillon Kearns
|
5613cbc028
|
Use ESM syntax for compatability key script.
|
2023-02-07 10:27:34 -08:00 |
|
Dillon Kearns
|
3ef54d6275
|
Support missing custom-backend-task file in script bundle and run commands.
|
2023-02-07 10:18:52 -08:00 |
|
Dillon Kearns
|
2e47866cb0
|
Remove import asserts to remove warnings.
|
2023-02-07 10:05:35 -08:00 |
|
Dillon Kearns
|
d1ce1453f1
|
Use more robust import with changed timestamp to re-import compiled Elm on change instead of restarting thread pool.
|
2023-02-07 09:35:24 -08:00 |
|
Dillon Kearns
|
50b1dd1fe9
|
Add timing for BackendTask.Custom.run in terminal.
|
2023-02-07 09:00:43 -08:00 |
|
Dillon Kearns
|
a3d9a26f4f
|
Better exception handling for custom backend task error messages.
|
2023-02-06 08:28:37 -08:00 |
|
Dillon Kearns
|
285f3022b2
|
Handle decoder failure case for custom backend tasks, and add decoders for JS Date type.
|
2023-02-04 12:38:22 -08:00 |
|
Dillon Kearns
|
0cc4ffe0d3
|
Transform dates and undefined values in objects from custom backend task definitions to make them decodeable in Elm.
|
2023-02-04 08:06:35 -08:00 |
|
Dillon Kearns
|
f30fded37e
|
Fix vite warning.
|
2023-01-29 16:43:55 -08:00 |
|
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
|
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
|
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
|
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 |
|