Commit Graph

3480 Commits

Author SHA1 Message Date
Dillon Kearns
8ee5b2a649 Add missing. (+2 squashed commits)
Squashed commits:
[ea4646e3] Fix two errors.
[31faf674] Add initial Vite SSR setup.
2022-02-21 09:30:31 -08:00
Dillon Kearns
79c7f6a75e Update intellij config file. 2022-02-21 09:30:08 -08:00
Dillon Kearns
fbcbfa3c27 Add optional body parameter to reload page data port in order to avoid an extra round trip for form POST. 2022-02-17 11:52:21 -08:00
Dillon Kearns
94d6a71579 Simplify expect*Response function signatures to remove extra mapping function. 2022-02-17 07:58:21 -08:00
Dillon Kearns
9c9dd49eca Update docs and extract internal function. 2022-02-16 21:36:36 -08:00
Dillon Kearns
c5b5f35504 Add expectBytesResponse. 2022-02-16 21:25:43 -08:00
Dillon Kearns
edc808ac37 Add DataSource.Http.expectWhatever. 2022-02-16 21:13:04 -08:00
Dillon Kearns
2215a63580 Add expectBytes. 2022-02-16 20:54:56 -08:00
Dillon Kearns
c1d8209c0c elm-review fixes. 2022-02-16 17:16:29 -08:00
Dillon Kearns
141667f2b2 Refactor internal request types. 2022-02-16 17:15:12 -08:00
Dillon Kearns
3976ec436a Remove redundant implementation. 2022-02-16 17:08:46 -08:00
Dillon Kearns
094e905dd5 Update pokedex example for latest file structure with app/ folder. 2022-02-16 16:54:52 -08:00
Dillon Kearns
f5a3d6f897 Move decrypt/encrypt logic into interal request code path. 2022-02-16 16:54:15 -08:00
Dillon Kearns
c91077ad56 Change GotBatch data type to support different response types. 2022-02-16 16:51:59 -08:00
Dillon Kearns
370afc6703 Return build error instead of caching HTTP response in cases where HTTP errors are not handled (expectJson and expectString).
SInce it's always going to fail, caching the bad response would keep it stuck in a build failure state.
2022-02-16 10:51:26 -08:00
Dillon Kearns
2b6d13234f Add DataSource.Http.expectStringResponse which allows you to get response headers and handle bad status codes. 2022-02-15 16:01:23 -08:00
Dillon Kearns
c98001161a Formatting. 2022-02-14 15:59:06 -08:00
Dillon Kearns
64be4d0bda Remove unsued. 2022-02-14 14:50:43 -08:00
Dillon Kearns
205de41f21 Update docs. 2022-02-14 11:27:30 -08:00
Dillon Kearns
4ba800d22d Remove unused. 2022-02-14 11:24:40 -08:00
Dillon Kearns
83dcf70b0e Support global head tags from API Routes so plugins can add head tags like sitemap and RSS links. 2022-02-14 11:05:42 -08:00
Dillon Kearns
11de872c7c Remove unused imports. 2022-02-13 16:08:10 -08:00
Dillon Kearns
a9e853e79e Install latest elm-optimize-level-2. 2022-02-13 14:59:41 -08:00
Dillon Kearns
9ec57474a9 Install elm-format before running build. 2022-02-13 14:56:41 -08:00
Dillon Kearns
b883a5c60f Fix netlify config for docs site. 2022-02-13 14:49:43 -08:00
Dillon Kearns
b4e9278284 Fix path for compiling CLI app. 2022-02-13 14:40:25 -08:00
Dillon Kearns
3c61e908bb Pass in --compiler flag to elm-review to use lamdera compiler. 2022-02-13 13:59:23 -08:00
Dillon Kearns
c47dfce740 Handle remaining dead-code elimination cases. 2022-02-13 13:52:31 -08:00
Dillon Kearns
64b2fbf20d Remove unused. 2022-02-13 12:42:50 -08:00
Dillon Kearns
88ca2f8a02 Remove DataSource code from bundle. 2022-02-13 12:42:31 -08:00
Dillon Kearns
b91f978d24 Move Page Modules and special elm-pages modules into app folder. 2022-02-10 16:27:56 -08:00
Dillon Kearns
ce8a3c9e5c Delete log statement. 2022-02-10 14:51:41 -08:00
Dillon Kearns
e17d89d30a Add todo. 2022-02-10 14:51:20 -08:00
Dillon Kearns
de2650e357 Remove old invocation of port://env. 2022-02-10 10:10:26 -08:00
Dillon Kearns
6c2524e72a Fix Env.get. 2022-02-10 10:06:51 -08:00
Dillon Kearns
08540c52a0 Update pokedex example. 2022-02-10 09:55:20 -08:00
Dillon Kearns
3f8b68a655 Expose a Manifest generator helper. 2022-02-10 09:26:51 -08:00
Dillon Kearns
f0626f1a21 Inline function and move into let instead of case. 2022-02-10 09:08:21 -08:00
Dillon Kearns
49e8360030 Remove some redundant declarations. 2022-02-10 08:46:52 -08:00
Dillon Kearns
92abb27596 Remove unused. 2022-02-10 08:39:14 -08:00
Dillon Kearns
56b8bf5f41 Remove Cli done Continue logic since it's only sending a single page at a time it should be safe. 2022-02-10 07:55:04 -08:00
Dillon Kearns
acb50777e7 Remove some obsolete value from the Cli Model. 2022-02-09 21:38:37 -08:00
Dillon Kearns
5d8ffab1fd Update todo comment. 2022-02-09 21:37:55 -08:00
Dillon Kearns
9d6502bd4d Remove unused code. 2022-02-09 17:25:05 -08:00
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
46bda23c11 Remove obsolete special case from StaticResponses resolver that passed through stripped JSON. 2022-02-09 16:26:08 -08:00
Dillon Kearns
d7109bfe40 Add missing await. 2022-02-09 15:08:06 -08:00
Dillon Kearns
a643d78ce7 Resolve Site.data . 2022-02-09 14:45:31 -08:00
Dillon Kearns
fedda39a4f Remove manifest from Site.elm and move it into user-space. 2022-02-09 10:47:59 -08:00