Commit Graph

1120 Commits

Author SHA1 Message Date
Dillon Kearns
2934da1958 Fix route matcher for optional route segments so it supports routing to index route. 2022-04-10 16:31:20 -07:00
Dillon Kearns
56b3e7f855 Remove redundant log. 2022-04-06 16:45:53 -07:00
Dillon Kearns
ad33d06397 Use concrete types in some scaffolded code. 2022-04-06 16:43:33 -07:00
Dillon Kearns
c877aab519 Expose Route.toString. 2022-04-06 16:38:41 -07:00
Dillon Kearns
52c8a73485 Add redirectTo helper. 2022-04-06 16:38:32 -07:00
Dillon Kearns
911270bb40 Pass in htmlTemplate to adapter to avoid having to read the file manually. 2022-04-06 08:54:23 -07:00
Dillon Kearns
10c927c414 Fingerprint elm.js browser bundle. 2022-04-05 15:50:57 -07:00
Dillon Kearns
830cc40bdd Restore form event adapter in build output. 2022-04-05 09:03:42 -07:00
Dillon Kearns
3acfe22bfb Fix template generators. 2022-04-05 08:36:34 -07:00
Dillon Kearns
8112e477e8 Extract functions into record. 2022-04-05 08:26:26 -07:00
Dillon Kearns
a4054b44ed Make sure error output is printed (may print extra when there are review errors though). 2022-04-04 16:23:45 -07:00
Dillon Kearns
d59c57ac01 Delete obsolete code (superceded by fetchRouteData). 2022-04-04 16:15:06 -07:00
Dillon Kearns
72acff1ea4 Update generator template. 2022-04-02 20:40:35 -07:00
Dillon Kearns
474432bda4 Add missing import. 2022-04-01 20:48:59 -07:00
Dillon Kearns
5c7833966d Try new 404 generator setup. 2022-03-31 16:30:57 -07:00
Dillon Kearns
fadd3adf58 Use absolute path for module preload directive. 2022-03-31 16:28:15 -07:00
Dillon Kearns
5eafcb8998 Use correct ErrorPage type in init, and update the pokedex error pages. 2022-03-31 11:01:47 -07:00
Dillon Kearns
175417a7cc Wire up hardcoded error page state. 2022-03-31 10:46:39 -07:00
Dillon Kearns
c8ff9e0ca1 Try optimized build. 2022-03-31 09:51:12 -07:00
Dillon Kearns
e53c897eb6 Try rendering static 404 pages in build. 2022-03-31 09:24:46 -07:00
Dillon Kearns
07fd572c46 Wire up head in ErrorPage. 2022-03-31 09:18:02 -07:00
Dillon Kearns
b4dc540cc2 Add a try catch for killApp in render. 2022-03-31 09:06:17 -07:00
Dillon Kearns
40ffea6ce9 Render error pages with Shared.view. 2022-03-31 09:04:11 -07:00
Dillon Kearns
f739f70706 Change argument order for Route.link helper. 2022-03-31 08:25:43 -07:00
Dillon Kearns
339d54a9e9 Update examples to use ErrorPage, and add to NoContractViolations. 2022-03-29 15:32:43 -07:00
Dillon Kearns
34f428f1df Add proof of concept for error pages. 2022-03-29 11:48:04 -07:00
Dillon Kearns
3790fbe7b7
Merge pull request #282 from j-maas/fix-port-data-source-import-windows
Fix port data source import on Windows
2022-03-25 11:28:41 -07:00
Dillon Kearns
4f58d763f4 Generate preload directive for hashed entrypoint JS file. 2022-03-25 09:50:50 -07:00
Dillon Kearns
9e498ca93b Update examples. 2022-03-25 09:03:22 -07:00
Dillon Kearns
05bd7b0bff Fix build step logic to show elm-review contract violation errors. 2022-03-24 15:27:46 -07:00
Dillon Kearns
9262399fdc Remove redundant fields from dev server adapter. 2022-03-21 12:10:52 -07:00
Dillon Kearns
2d0f0f2651 Wire up Effect type. 2022-03-21 09:45:11 -07:00
Dillon Kearns
67c0fb57b0 Add missing argument to generator. 2022-03-21 08:16:48 -07:00
Dillon Kearns
a437459865 Merge remote-tracking branch 'origin/master' into serverless-latest 2022-03-20 07:31:15 -07:00
Johannes Maas
d9ecd328d8 Differentiate between missing port data source file and import error 2022-03-20 15:22:00 +01:00
Johannes Maas
10cf930226 Fix import of port-data-source.js on Windows. 2022-03-20 14:28:49 +01:00
Sev Furneaux
74ca559626 Upgrade elm-optimize-level-2 to 0.3.4 2022-03-15 22:47:06 +00:00
Dillon Kearns
7ff9b555f3 Add DataSource request mocking prototype. 2022-03-14 19:17:19 -07:00
Dillon Kearns
55ac3da02d Update starter template. 2022-03-14 11:39:41 -07:00
Dillon Kearns
f2f51cd40d Remove app dying messages from compiled lamdera output. 2022-03-11 11:50:02 -08:00
Dillon Kearns
6ecc087a0f Improve error message. 2022-03-11 11:46:13 -08:00
Dillon Kearns
44ffec84c1 Use strict lamdera bytes decoder. 2022-03-11 11:32:29 -08:00
Dillon Kearns
a116989ab2 Simplify file read command. 2022-03-11 11:11:10 -08:00
Dillon Kearns
25972e5724 Run adapter script from build step (if configured). 2022-03-10 11:49:07 -08:00
Dillon Kearns
3e12b48112 Update template project. 2022-03-09 15:06:49 -08:00
Dillon Kearns
6eafb379ee Make sure lamdera is on path for dev-server. 2022-03-09 14:05:22 -08:00
Dillon Kearns
32705e11a8 Fix error message. 2022-03-09 10:59:57 -08:00
Dillon Kearns
8ac95844cd Merge branch 'master' into serverless-latest
# Conflicts:
#	package-lock.json
2022-03-09 10:50:43 -08:00
Dillon Kearns
d5055ce03f Fix scaffolding generator. 2022-03-08 10:22:40 -08:00
Dillon Kearns
8911ef9bb3 Rename Server.Request.Request -> Server.Request.Parser. 2022-03-08 08:57:46 -08:00