Commit Graph

996 Commits

Author SHA1 Message Date
Dillon Kearns
b10b247d99 Use more threads for build process. 2022-02-09 17:21:33 -08:00
Dillon Kearns
f777ecad07 Fix error decoding. 2022-02-09 16:26:28 -08:00
Dillon Kearns
d7109bfe40 Add missing await. 2022-02-09 15:08:06 -08:00
Dillon Kearns
fedda39a4f Remove manifest from Site.elm and move it into user-space. 2022-02-09 10:47:59 -08:00
Dillon Kearns
1d144996d8 Use an async version to check if file exists. 2022-02-08 11:41:05 -08:00
Dillon Kearns
50e81ca5de Remove some special cases for DataSource resolvers. 2022-02-07 17:49:14 -08:00
Dillon Kearns
364753694f Improve build error message ouptut. 2022-02-05 20:34:42 -08:00
Dillon Kearns
6663151122 Handle redirects when doing client-side navigations (through content.dat fetches). 2022-02-05 13:14:07 -08:00
Dillon Kearns
cb8509f519 Fix template for server-rendered page. 2022-02-04 11:44:26 -08:00
Dillon Kearns
5c2cdb93e1 Return empty list when listing files if directory doesn't existing. 2022-02-04 10:59:10 -08:00
Dillon Kearns
4c2f779477 Format errors if type is list. 2022-02-04 10:53:41 -08:00
Dillon Kearns
c1febe27b6 Try temporarily moving code back into source directory for better elm-review fixes. 2022-02-04 09:12:19 -08:00
Dillon Kearns
55131aa828 Delete obsolete variant. 2022-02-04 09:09:12 -08:00
Dillon Kearns
ac687f398e Remove calls to distillBytes. 2022-02-04 09:01:08 -08:00
Dillon Kearns
18831846aa Remove distillBytes calls from generated entrypoint and make sure that DataSource's resolve without it. 2022-02-04 08:59:11 -08:00
Dillon Kearns
5f181ad1bc Update error formatter to handle being passed direct JSON values. 2022-02-04 08:56:40 -08:00
Dillon Kearns
194337c80d Delete log statement. 2022-02-03 20:44:18 -08:00
Dillon Kearns
38cd1c35c6 Review fixes. 2022-02-03 20:17:00 -08:00
Dillon Kearns
1ed1d8bb8a Remove some ContentCache references. 2022-02-03 20:11:22 -08:00
Dillon Kearns
69cdf963cf Remove some instances of content.json. 2022-02-03 20:08:45 -08:00
Dillon Kearns
550c66dacb Send shared data updates for dev server to make sure shared data hot reloads. 2022-02-03 18:30:49 -08:00
Dillon Kearns
6892ee8bc7 Inline value. 2022-02-03 17:45:57 -08:00
Dillon Kearns
d3e54fcff2 Inline value. 2022-02-03 16:56:48 -08:00
Dillon Kearns
1c9d6340f1 Simplify case expression. 2022-02-03 16:38:54 -08:00
Dillon Kearns
c9f78e7c5f Encode NotFound pages for dev server. 2022-02-03 14:59:54 -08:00
Dillon Kearns
062cbea918 Send wrapper type instead of individual page data for Bytes content.dat. 2022-02-03 14:01:45 -08:00
Dillon Kearns
163f611894 Prettier formatting. 2022-02-03 11:51:34 -08:00
Dillon Kearns
159c075324 Send content.dat updates for hot reloading. 2022-02-03 11:51:17 -08:00
Dillon Kearns
e435c994b5 Uncomment hot reload watcher. 2022-02-02 09:53:47 -08:00
Dillon Kearns
103433ade6 Use Lamdera Wire decoders to decode initial page data from flags. 2022-02-01 17:59:57 -08:00
Dillon Kearns
1ee6cef81e Render base64 string without btoa function to avoid error. 2022-02-01 11:07:24 -08:00
Dillon Kearns
934846b697 Use byte decoder fail instead of Debug.todo in generated code. 2022-02-01 11:01:50 -08:00
Dillon Kearns
502b2cf42b Delete log statements. 2022-02-01 11:01:40 -08:00
Dillon Kearns
8df1439025 Write content.dat files instead of content.json for build step, and include bytes format in pre-rendered HTML output. 2022-02-01 10:57:21 -08:00
Dillon Kearns
0418d98de3 Update package-lock. 2022-02-01 10:55:46 -08:00
Dillon Kearns
db4e2f289e Add missing variable. 2022-02-01 10:38:42 -08:00
Dillon Kearns
34db57235c Add TODO comment. 2022-02-01 10:11:56 -08:00
Dillon Kearns
fcdd39b910 Use byte encodings for content.dat in dev server. 2022-02-01 10:11:47 -08:00
Dillon Kearns
cfbbf71bf5 Check if port is defined before subscribing to avoid error if port is unused. 2022-01-29 09:15:19 -08:00
Dillon Kearns
8e3736d051 Use restoreColorSafe in more places. 2022-01-29 09:01:27 -08:00
Dillon Kearns
e638bd13fd Fix error with sending api responses from dev server. 2022-01-29 09:00:38 -08:00
Dillon Kearns
c3b8032683 Add missing report option to restore dev server compiler errors. 2022-01-28 18:01:04 -08:00
Dillon Kearns
2180ee09e1 Run elm-optimize-level-2 on lamdera output. 2022-01-28 12:03:47 -08:00
Dillon Kearns
b6135799fc Skip elm-optimize-level-2 for the lamdera build for now. 2022-01-28 11:26:30 -08:00
Dillon Kearns
a0462a647e Add safe error formatter function that prints raw error if it can't be JSON parsed, and improve error output for build. 2022-01-28 11:26:14 -08:00
Dillon Kearns
7ac4ceecde Add NoPrematureLetComputation review rule. 2022-01-28 08:27:04 -08:00
Dillon Kearns
59346721b5 Remove log. 2022-01-27 20:13:30 -08:00
Dillon Kearns
59fb87782a elm-review fixes. 2022-01-27 16:16:40 -08:00
Dillon Kearns
f82ae79e24 Remove obsolete SecretsDict usage. 2022-01-27 15:50:59 -08:00
Dillon Kearns
ed956ae341 Remove now obsolete Secrets API! 2022-01-27 15:45:51 -08:00