Commit Graph

1971 Commits

Author SHA1 Message Date
Dillon Kearns
e63b64a637 Include is404 in build payload. 2021-04-20 20:36:10 -07:00
Dillon Kearns
722a5c5ff4 Fix copied file in cli code. 2021-04-20 20:25:39 -07:00
Dillon Kearns
3c3c8b1552 Check for 404 according to static paths. 2021-04-20 20:19:39 -07:00
Dillon Kearns
fd852d9b8b Update stream url. 2021-04-20 20:11:26 -07:00
Dillon Kearns
f6b87947ea Render 404 message in view when route not found. 2021-04-20 16:01:14 -07:00
Dillon Kearns
45647218a6 Update docs. 2021-04-20 14:58:00 -07:00
Dillon Kearns
e1b4d90087 Rename function. 2021-04-20 14:57:28 -07:00
Dillon Kearns
7f14f6171a Apply review fixes. 2021-04-20 14:35:55 -07:00
Dillon Kearns
b66e3e88e8 Format file. 2021-04-20 14:34:26 -07:00
Dillon Kearns
169546c83b Update docs.json. 2021-04-20 14:30:03 -07:00
Dillon Kearns
93d8572ddf Rename Pages.StaticFile -> DataSource.File. 2021-04-20 14:27:36 -07:00
Dillon Kearns
fb2c5be7ce Update doc comments. 2021-04-20 14:24:36 -07:00
Dillon Kearns
ec9c995b88 Replace StaticHttp with DataSource in add command. 2021-04-20 14:21:26 -07:00
Dillon Kearns
14a103e6fb Use String replace instead of replaceAll for older versions of node. 2021-04-20 14:20:29 -07:00
Dillon Kearns
ed58c97b4e Remove optional chaining syntax to support older node versions. 2021-04-20 13:57:22 -07:00
Dillon Kearns
982d63ef86 Update start script. 2021-04-20 13:57:09 -07:00
Dillon Kearns
65e6ef52dd Rename glob functions with ignore/capture instead of drop/keep to make it more intuitive. 2021-04-20 13:53:53 -07:00
Dillon Kearns
a082d9e291 Move HTTP-related DataSource API under DataSource.Http. 2021-04-20 13:52:54 -07:00
Dillon Kearns
84abfb4b2b DataSource.Request -> DataSource.DataSource. 2021-04-20 07:45:35 -07:00
Dillon Kearns
47fccf2cca Rename StaticHttp to DataSource. 2021-04-20 07:33:12 -07:00
Dillon Kearns
03fc86e577 Remove access to static data for canonicalSiteUrl for now. 2021-04-17 21:43:22 -07:00
Dillon Kearns
e94d9b0cf7 Make sure connect is defined before running it. 2021-04-17 21:21:17 -07:00
Dillon Kearns
ebc7812973 Remove obsolete pattern match. 2021-04-17 20:33:35 -07:00
Dillon Kearns
6258ec0b06 Add CLI handler for elm-pages add command. 2021-04-17 16:35:38 -07:00
Dillon Kearns
0c6c8610cc Update instructions. 2021-04-17 15:15:25 -07:00
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