Commit Graph

1189 Commits

Author SHA1 Message Date
Dillon Kearns
bf8e94d787 Wire through phase string. 2022-09-15 13:21:30 -07:00
Dillon Kearns
d98fbfe2bf Add starting point for wiring up elm-codegen for Main.elm. 2022-09-15 10:59:33 -07:00
Dillon Kearns
83f9adcf94 Rename property. 2022-09-15 09:22:10 -07:00
Dillon Kearns
c3d3909eb5 Improve error output for elm-pages codegen command. 2022-09-15 08:07:50 -07:00
Dillon Kearns
d9f0a3ea08 Remove unused code. 2022-09-13 10:58:03 -07:00
Dillon Kearns
08015f49b9 Wire up baseUrl for Route module generation. 2022-09-13 10:49:51 -07:00
Dillon Kearns
7df5986d80 Sort routes for elm-codegen generator flag. 2022-09-12 12:16:35 -07:00
Dillon Kearns
d8639e617b Pass in list of templates to new code generation for Route module. 2022-09-12 11:49:02 -07:00
Dillon Kearns
ba6f0903ce Add boilerplate for elm-codegen. 2022-09-12 10:16:00 -07:00
Dillon Kearns
a0fa6c2188 Run the elm-pages code generation step and elm-codegen install as part of codegen command. 2022-09-11 07:50:41 -07:00
Dillon Kearns
be28313594 Fix module name patterns. 2022-09-10 10:53:46 -07:00
Dillon Kearns
efc81b9401 Report errors for missing modules or invalid module name syntax. 2022-09-10 10:52:39 -07:00
Dillon Kearns
74826014ef Use safe subscriptions to ports for codegen CLI. 2022-09-10 10:44:07 -07:00
Dillon Kearns
ab0fd3a593 elm-pages codegen finds a matching module from the codegen/ folder. 2022-09-10 10:37:24 -07:00
Dillon Kearns
7c61db1f55 Change command names. 2022-09-10 10:20:40 -07:00
Dillon Kearns
a8cfc508a1 Compile Elm for scaffold task. Turn off docs.json generation in that step for now because of intermittent JSON parse error. 2022-09-09 16:22:15 -07:00
Dillon Kearns
d6597b43ce Generate docs.json file as part of scaffold command. 2022-09-09 15:19:08 -07:00
Dillon Kearns
b409ef1957 Parse RouteParams in scaffolding generator. 2022-09-09 12:45:28 -07:00
Dillon Kearns
8711b7185a Add basic setup for a scaffold command using elm-codegen. 2022-09-09 10:56:54 -07:00
Dillon Kearns
67af0e53d0 Include View and Effect modules in elm-application.json, and include @docs comments to make them valid. 2022-09-09 10:53:19 -07:00
Dillon Kearns
3cdc466e3f Add wiring for storing done fetchers with actionData. 2022-08-31 08:37:11 -07:00
Dillon Kearns
3180b9c6d1 Remove unused. 2022-08-30 18:25:25 -07:00
Dillon Kearns
3c668d83e3 Don't fail when elm-optimize-level-2 prints warnings. 2022-08-30 16:41:48 -07:00
Dillon Kearns
abc91541e2 Add another HTML printing test case and handle lazy HTML nodes nested under keyed nodes. 2022-08-25 12:07:23 -07:00
Dillon Kearns
5415fd83d7 Pass in fetchers with their formId's, and implement isTransitioning status for fetchers. 2022-08-25 10:59:39 -07:00
Dillon Kearns
2b5737d0fb Evaluate thunks for Keyed nodes with Lazy children.
Minimal reproduction:

```elm
 [ 1 ]
    |> List.indexedMap
        (\index _ ->
            ( String.fromInt index, lazy2 (\_ _ -> li [] []) () () )
        )
    |> Keyed.ul []
```
2022-08-25 09:46:42 -07:00
Dillon Kearns
1cfdc839b6 Fix typo. 2022-08-24 12:45:40 -07:00
Dillon Kearns
9cd76dc614 Include Json_wrap in HTML rendering code for all compile modes. 2022-08-24 12:11:52 -07:00
Dillon Kearns
3745c76ecb Only run elm-optimize-level-2 for --optimize flag. 2022-08-24 11:55:36 -07:00
Dillon Kearns
5595493fcc Don't use --optimize in CLI prod build for now. 2022-08-24 11:50:50 -07:00
Dillon Kearns
68d9e687b7 Restore executables check. 2022-08-22 13:39:13 -07:00
Dillon Kearns
f4c50f9310 Comment out required executables check temporarily to see if windows ci succeeds without that check. 2022-08-22 09:20:35 -07:00
Dillon Kearns
1b3c7b8ce8 Add logging timing output. 2022-08-18 20:19:11 -07:00
Dillon Kearns
9beeddc4a8 Remove unused require. 2022-08-17 14:03:44 -07:00
Dillon Kearns
d5e97e7673 Fix error in test. 2022-08-08 10:58:34 -07:00
Dillon Kearns
b8909834b0 Wire through hardcoded flag to turn HTTP caching on or off for DataSources. 2022-07-12 01:45:45 -07:00
Dillon Kearns
ba1823cd82 Delete log noise. 2022-07-09 08:57:24 -07:00
Dillon Kearns
a8bb62a40e Rename variable in route module template. 2022-07-08 14:46:55 -07:00
Dillon Kearns
da29205702 Fix arguments for dev server CLI compilation. 2022-07-08 09:56:58 -07:00
Dillon Kearns
b2a97219f5 Re-order arguments for consistency. 2022-07-08 09:38:14 -07:00
Dillon Kearns
4c9986702b Include Html.Lazy thunk evaluation in server-side rendering in dev server. 2022-07-08 09:37:08 -07:00
Dillon Kearns
6f35f55021 Update path in build script calling adapter code. 2022-07-05 11:08:57 -07:00
Dillon Kearns
343b30bc3a Try using esbuild bundle option. 2022-07-05 10:58:00 -07:00
Dillon Kearns
e47f1acf82 Remove obsolete watcher command. 2022-06-30 10:25:24 -07:00
Dillon Kearns
4d0f9a8708 Prevent duplicate leading file path by using resolve instead of prepending cwd. 2022-06-29 12:45:33 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
da6e7d7313 Remove some Debug statements. 2022-06-28 14:48:57 -07:00
Dillon Kearns
d5b6c5bd47 Rename module. 2022-06-18 10:29:41 -07:00
Dillon Kearns
d133441cb7 Wire up prototype for client-side form state. 2022-06-02 11:32:35 -07:00
Dillon Kearns
30d0fe65fa Expose in-flight fetchers state. 2022-05-20 10:08:27 -07:00