Commit Graph

5182 Commits

Author SHA1 Message Date
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
7f35edd60e Set esbuild option in netlify.toml to allow ESM syntax. 2023-01-22 14:37:31 -08:00
Dillon Kearns
852be5fe11 Fix compiler errors in example. 2023-01-22 14:28:24 -08:00
Dillon Kearns
2973589dea Bump Node version. 2023-01-22 14:18:48 -08:00
Dillon Kearns
0f32ba7daa Use import syntax for adapter script. 2023-01-22 14:17:47 -08:00
Dillon Kearns
7f52463b0c Address review error. 2023-01-22 13:55:20 -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
69d7237af9 Update codegen template. 2023-01-22 09:33:32 -08:00
Dillon Kearns
9600de126b Convert to ESM. 2023-01-22 09:33:32 -08:00
Dillon Kearns
a183d4715c Explicitly expose the minimum types/values in codegen template. 2023-01-22 09:33:32 -08:00
Dillon Kearns
c178ec2a18 Update code generation example. 2023-01-22 09:33:32 -08:00
Dillon Kearns
5289639248 Fix type annotation in scaffold generator. 2023-01-22 09:33:31 -08:00
Dillon Kearns
5179b569fb Fix typo. 2023-01-22 09:33:31 -08:00
Dillon Kearns
6c8cf291d8 Change Form.Response API. 2023-01-22 09:33:31 -08:00
Dillon Kearns
00dc4b622d Change signature for rendering forms. 2023-01-22 09:33:31 -08:00
Dillon Kearns
5d730e588c Fix types in scaffolding. 2023-01-22 09:33:31 -08:00
Dillon Kearns
e18d8c0fe7 Add space after string. 2023-01-22 09:33:31 -08:00
Dillon Kearns
55ca73c5e3 Support different types of fields in the AddForm script example. 2023-01-22 09:33:31 -08:00
Dillon Kearns
6e522b505e Add prototype for scaffolding a route with a form. 2023-01-22 09:33:31 -08:00
Dillon Kearns
7360445db8 Add Pages.Generate.addDeclarations for including additional declarations in scaffolded module. 2023-01-22 09:33:31 -08:00
Dillon Kearns
66babff176 Add missing dependency in example. 2023-01-22 09:33:31 -08:00
Dillon Kearns
2cf36c670a
Update FAQ.md 2023-01-21 18:59:29 -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
89658e1a98 Change import alias in example script. 2023-01-19 08:29:21 -08:00
Dillon Kearns
4f899179c4 Update section name in docs. 2023-01-19 08:29:09 -08:00
Dillon Kearns
35ebe5b204 Fix module name regex in example. 2023-01-19 08:28:53 -08:00
Dillon Kearns
8e5f2a6f11 Ignore error. 2023-01-17 17:21:39 -08:00
Dillon Kearns
e66356c829 Bump Elm package. 2023-01-17 17:16:47 -08:00
Dillon Kearns
7410a0e169 3.0.0-beta.18 2023-01-17 17:15:58 -08:00
Dillon Kearns
c847e32857 Fix test error. 2023-01-17 15:46:40 -08:00
Dillon Kearns
c511d2642f Update docs.json. 2023-01-17 12:09:11 -08:00
Dillon Kearns
6a50fe64d2 Fix BackendTask resolution logic. 2023-01-17 12:08:57 -08:00
Dillon Kearns
da45250fca Remove Recoverable type alias. 2023-01-17 10:57:42 -08:00
Dillon Kearns
7d3043272d Fix typo. 2023-01-17 10:50:21 -08:00
Dillon Kearns
29150409da 3.0.0-beta.17 2023-01-17 07:41:37 -08:00
Dillon Kearns
fc964889bc Bump Elm package. 2023-01-17 07:41:31 -08:00
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
b773557245 Review fixes. 2023-01-16 21:49:36 -08:00
Dillon Kearns
e9a34ffe3a 3.0.0-beta.16 2023-01-16 21:47:09 -08:00
Dillon Kearns
b659b8ecf6 Bump Elm package. 2023-01-16 21:47:00 -08:00
Dillon Kearns
904af360ad Update compatability key. 2023-01-16 21:46:40 -08:00
Dillon Kearns
d61ddecca8 Make FatalError opaque. 2023-01-16 21:43:59 -08:00
Dillon Kearns
95a49f6ec9 Remove unused function. 2023-01-16 21:30:26 -08:00
Dillon Kearns
5b19e2dc3e Rename BackendTask.throw -> BackendTask.allowFatal. 2023-01-16 18:24:48 -08:00
Dillon Kearns
8ebfd2ea2d Fix stalling for BackendTask worker. 2023-01-16 18:21:42 -08:00