Commit Graph

1946 Commits

Author SHA1 Message Date
Dillon Kearns
2fdecc4bde Setup dev server as CLI command. 2021-04-17 15:13:41 -07:00
Dillon Kearns
1d973ab495 Add CLI for elm-pages build. 2021-04-17 15:04:24 -07:00
Dillon Kearns
8d47b85908 Rename cli.js to build.js. 2021-04-17 14:40:02 -07:00
Dillon Kearns
2a065c5455 Update instructions. 2021-04-17 14:34:39 -07:00
Dillon Kearns
4534b6689a Update alpha instructions. 2021-04-17 13:49:36 -07:00
Dillon Kearns
21a47b551e Add initial alpha instructions document. 2021-04-17 13:48:26 -07:00
Dillon Kearns
5b17b96883 Remove unused module. 2021-04-17 13:48:18 -07:00
Dillon Kearns
3b5d790bdc Remove extra argument. 2021-04-17 12:35:00 -07:00
Dillon Kearns
bfbfc02c13 Turn on optimize-level-2. 2021-04-17 12:28:37 -07:00
Dillon Kearns
974f35e49c Remove toString call from generated code. 2021-04-17 12:27:59 -07:00
Dillon Kearns
cc7e50c028 Wire in static data updates with the new architecture. 2021-04-17 12:24:46 -07:00
Dillon Kearns
78c6bcdaa4 Remove unused. 2021-04-17 12:14:06 -07:00
Dillon Kearns
69ac7870ec Fix page change static data updating. 2021-04-17 12:11:23 -07:00
Dillon Kearns
54f3ee4dfc Print better error message. 2021-04-17 12:09:20 -07:00
Dillon Kearns
25a92d8507 Handle explicit error state in model when static data fails to decode. 2021-04-17 11:07:39 -07:00
Dillon Kearns
8b9ec97792 Remove obsolete phase value. 2021-04-17 10:21:14 -07:00
Dillon Kearns
91fe361560 Simplify CLI code for rendering view and head tags. 2021-04-17 10:03:48 -07:00
Dillon Kearns
b6ab71d730 Remove a todo. 2021-04-17 09:55:18 -07:00
Dillon Kearns
a19b79b8fe Remove unnecessary Msg wrapper type. 2021-04-17 09:51:08 -07:00
Dillon Kearns
990e774bbc Remove obsolete wrapper type. 2021-04-17 09:49:13 -07:00
Dillon Kearns
ad46fbe39f Remove obsolete wrapper Msg/Model for CLI runner now that we use code generation to generate the main program entrypoint. 2021-04-17 09:44:05 -07:00
Dillon Kearns
5305bec3cf Remove a todo. 2021-04-17 09:24:31 -07:00
Dillon Kearns
3970a534f1 Remove Result wrapper around content cache. 2021-04-17 09:21:39 -07:00
Dillon Kearns
3324b8b82e Remove a Debug.todo. 2021-04-17 09:19:48 -07:00
Dillon Kearns
cbdb7938d4 Remove hmr script tag for cli build, and run in prod mode. 2021-04-17 08:29:14 -07:00
Dillon Kearns
632e1961f0 Review fixes. 2021-04-17 08:18:26 -07:00
Dillon Kearns
7f0e8855b2 Remove unused code. 2021-04-17 08:13:57 -07:00
Dillon Kearns
dfed66441f Remove unused field. 2021-04-17 08:00:50 -07:00
Dillon Kearns
e16f7e8444 Remove log. 2021-04-17 07:52:16 -07:00
Dillon Kearns
497110f2ec Add type annotation. 2021-04-17 07:51:50 -07:00
Dillon Kearns
b763e5d3e0 Represent the state before static routes are received with a Maybe in the Cli Model. 2021-04-17 07:51:43 -07:00
Dillon Kearns
e11d359222 Make sure send page progress events get kicked off when there are no initial requests from getStaticRoutes or generateFiles. 2021-04-17 07:44:22 -07:00
Dillon Kearns
46ea40c715 Pull up StaticHttp.Request out of view function. 2021-04-16 16:25:43 -07:00
Dillon Kearns
c93176ec54 Fix slide count. 2021-04-16 16:19:49 -07:00
Dillon Kearns
589dbcbd0e Don't render HTML in JSON-only mode. 2021-04-16 12:01:58 -07:00
Dillon Kearns
68675349cf Decode isJson value in RenderRequest decoder. 2021-04-16 11:56:10 -07:00
Dillon Kearns
3c14865d2b Change decoding format for single page routes. 2021-04-16 11:33:53 -07:00
Dillon Kearns
9a089b3957 Parse render request into custom type. 2021-04-16 11:26:29 -07:00
Dillon Kearns
9cc42445c5 Remove unnecessary case statement. 2021-04-16 11:01:49 -07:00
Dillon Kearns
733c11da43 Remove temporary netlify build command that deleted html output. 2021-04-16 10:08:50 -07:00
Dillon Kearns
938cf07c4a Try package-lock.json with no optionals. 2021-04-16 10:05:38 -07:00
Dillon Kearns
bf90ef45a1 Try no-optional for npm install in netlify build. 2021-04-16 10:00:36 -07:00
Dillon Kearns
127640e4fd Add some placeholder doc comments. 2021-04-16 09:50:35 -07:00
Dillon Kearns
6fca68acbb Remove unused function. 2021-04-16 09:47:25 -07:00
Dillon Kearns
c2a6ff6be6 Remove old module from package exposed. 2021-04-16 09:47:19 -07:00
Dillon Kearns
311f6f04a6 Update package.json. 2021-04-16 09:45:01 -07:00
Dillon Kearns
4dd35fde98 Run latest elm-format. 2021-04-16 09:40:54 -07:00
Dillon Kearns
6950b631c4 Update GH Actions script. 2021-04-16 09:38:56 -07:00
Dillon Kearns
9bb173baab Run elm-review. 2021-04-16 09:32:09 -07:00
Dillon Kearns
21ecb7e746 Remove debug log statements. 2021-04-16 09:28:59 -07:00