Commit Graph

3498 Commits

Author SHA1 Message Date
Dillon Kearns
e6a81a56e9 Change argument order in helper function. 2022-02-23 10:41:04 -08:00
Dillon Kearns
c617baa3d3 Use vite config from elm-pages.config.mjs. 2022-02-23 10:06:15 -08:00
Dillon Kearns
1ae88f181a Use node-fetch instead of undici for Node 14 compatability. 2022-02-22 11:37:09 -08:00
Dillon Kearns
763fc37695 Remove some log statements. 2022-02-22 11:19:10 -08:00
Dillon Kearns
846ddad4f9 Add missing return. 2022-02-22 10:55:20 -08:00
Dillon Kearns
93a44b6c78 Add error logging to debug netlify issue. 2022-02-21 18:16:16 -08:00
Dillon Kearns
797d3edb84 Update package-lock file in pokedex example. 2022-02-21 17:38:25 -08:00
Dillon Kearns
12c00b7565 Update adapter script error message and template file location. 2022-02-21 17:01:01 -08:00
Dillon Kearns
ff71b62321 Try using vite-generated HTML template in adapter-generated scripts. 2022-02-21 16:54:51 -08:00
Dillon Kearns
64c983c3ec Move entrypoint files to top-level in pokedex project. 2022-02-21 15:51:16 -08:00
Dillon Kearns
bc4612ddab Use elm-review option --fix-all-without-prompt instead of stdin pipe. 2022-02-21 15:50:42 -08:00
Dillon Kearns
e793a8fe89 Ensure that fixes don't infinitely apply for Request.oneOf [] case. 2022-02-21 15:50:17 -08:00
Dillon Kearns
939635eec4 Remove hardcoded index.html project file. 2022-02-21 15:37:24 -08:00
Dillon Kearns
7da42c9ffd Delete unused. 2022-02-21 14:56:38 -08:00
Dillon Kearns
0964448ae5 Remove obsolete code. 2022-02-21 14:46:51 -08:00
Dillon Kearns
cd18fb7567 Update dependencies. 2022-02-21 14:25:10 -08:00
Dillon Kearns
e2e98405ec Update dependencies. 2022-02-21 14:23:17 -08:00
Dillon Kearns
8287623f23 Pass through root tag to HTML template replacement. 2022-02-21 09:57:23 -08:00
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