Commit Graph

1102 Commits

Author SHA1 Message Date
Dillon Kearns
74b7cb90d0 Update the example RSS plugin and wire it into example site. 2020-03-09 16:28:41 -07:00
Dillon Kearns
e556a6a7be Add a helper to add global head tags. 2020-03-09 15:48:30 -07:00
Dillon Kearns
1383387e46 Make subscriptions optional. 2020-03-09 14:38:00 -07:00
Dillon Kearns
299b6392bf Make onPageChange optional and add a builder function for it. 2020-03-09 13:45:37 -07:00
Dillon Kearns
9faab45a8e Update builder. 2020-03-09 13:27:52 -07:00
Dillon Kearns
b8308cf4df Constraint subscriptions builder. 2020-03-09 10:55:10 -07:00
Dillon Kearns
22bcaf1c8a withFileGenerator is wired through. 2020-03-09 10:29:20 -07:00
Dillon Kearns
a13945e7d6 Add builder for generate files. 2020-03-09 10:18:39 -07:00
Dillon Kearns
a1916db9ee Get stubbed out prototype. 2020-03-09 10:13:32 -07:00
Dillon Kearns
f501482d40 Filter out the CLI-only keys from the static page data dict. 2020-03-07 12:34:57 -08:00
Dillon Kearns
d44b234dab Fetch static http data for generateFiles hook. 2020-03-07 12:26:49 -08:00
Dillon Kearns
1bc941de89 Hardcode empty generate files as a first step before actually performing the static http requests. 2020-03-07 11:28:13 -08:00
Dillon Kearns
1261b83d96 Store build timestamp in a variable in JS so that the same time is used for the generated CLI and UI modules. 2020-03-05 14:16:42 -08:00
Dillon Kearns
09a7a78ac1 Bump elm package version. 2020-03-04 09:02:51 -08:00
Dillon Kearns
ad17155ab8
Merge pull request #75 from dillonkearns/unoptimized-requests
Add an escape hatch for unoptimized StaticHttp requests
2020-03-04 09:01:19 -08:00
Dillon Kearns
779bb2ebc5 Update changelog. 2020-03-04 08:59:27 -08:00
Dillon Kearns
4e47ca7326 Add note about mime type argument. 2020-03-04 08:55:44 -08:00
Dillon Kearns
9c67e97827 Add missing Secrets.succeeds to docs. 2020-03-04 08:53:06 -08:00
Dillon Kearns
3cdbe8b0a3 Include content type in StringBody. Include more context in bad http requests. 2020-03-04 08:24:06 -08:00
Dillon Kearns
3ce0df4526 Pass through the body values to StaticHttp requests. 2020-03-03 20:54:19 -08:00
Dillon Kearns
49edbe52c9 Expose StaticHttp.jsonBody. 2020-03-03 20:34:26 -08:00
Dillon Kearns
5f66c46ef0 Update docs. 2020-03-03 08:04:24 -08:00
Dillon Kearns
f158af027e Expose specific variants of Expect explicitly, and change String version to give a Result. 2020-03-03 07:54:16 -08:00
Dillon Kearns
ce28a25acb Add a simple copy-pasted API for StaticHttp Expect values. 2020-03-02 22:08:00 -08:00
Dillon Kearns
25bbea6f9b Add an escape hatch for unoptimized StaticHttp requests. 2020-03-01 19:09:39 -08:00
Dillon Kearns
bb8bb38d30 1.2.10 2020-02-25 11:44:59 -08:00
Dillon Kearns
dd964fe2df Remove offline-ready caching service worker code for now.
Context: this was creating some issues for at least one user where workbox was serving up stale data from the precache. The precache for main.js and index.html were overshadowing the rule for offline navigation fallback routing. So stale data was being served up. This may have been because of a cloudflare CDN patch.
2020-02-25 11:44:41 -08:00
Dillon Kearns
1b0ab2afab Change development port for docs site. 2020-02-18 11:25:52 -08:00
Dillon Kearns
0f813a5935 Update changelog. 2020-02-18 09:57:32 -08:00
Dillon Kearns
e0224228ff 1.2.9 2020-02-18 09:51:32 -08:00
Dillon Kearns
aea6fde36f
Merge pull request #72 from icidasset/patch-1
Add missing path in the files list in package.json
2020-02-18 09:49:13 -08:00
Steven Vandevelde
f7a1f394b6
Fixes #71 2020-02-13 10:21:51 -07:00
Dillon Kearns
e0f3eea3ad 1.2.8 2020-02-08 09:05:52 -08:00
Dillon Kearns
ff0491c4f5 Update changelog. 2020-02-08 09:05:38 -08:00
Dillon Kearns
24e3777c69
Merge pull request #68 from dillonkearns/colorize-elm-make-output
Colorize elm compiler errors when running initial elm-pages.
2020-02-08 09:02:50 -08:00
Dillon Kearns
170269003e Colorize elm compiler errors when running initial elm-pages.
This change forks the node-elm-compiler using a suggested fix from https://github.com/rtfeldman/node-elm-compiler/issues/91#issuecomment-583363707
2020-02-08 08:59:33 -08:00
Dillon Kearns
da5dc104fb Update dependencies in docs site. 2020-02-07 21:36:34 -08:00
Dillon Kearns
cc09bd2de9
Merge pull request #65 from digitalsatori/fix_missing_generateFiles
[Fix]  generateFiles is missing in external-data example
2020-02-04 22:13:32 -08:00
Tony Gu
74ec3a9d76 [Fix] generateFiles is missing in external-data example 2020-02-05 11:04:17 +08:00
Dillon Kearns
91fb62bacb Update changelog. 2020-02-03 20:28:22 -08:00
Dillon Kearns
a6ba0a913f 1.2.7 2020-02-03 20:26:42 -08:00
Dillon Kearns
fdaaf02d88 Set network fallback as the NavigationRoute. 2020-02-03 19:04:13 -08:00
Dillon Kearns
64ecc8dc86 Use a catch handler instead of a fetch handler to let other workbox routing take effect. 2020-02-03 18:17:20 -08:00
Dillon Kearns
307489b80e Override netlify build skipping and force rebuild even if top-level directory changes. 2020-02-03 18:04:22 -08:00
Dillon Kearns
43cdad50af Only serve up fallback html page if network request fails, not if it 404s. 2020-02-03 17:52:10 -08:00
Dillon Kearns
bd086bfe0e 1.2.6 2020-02-03 12:19:57 -08:00
Dillon Kearns
7a05176ace Bump elm package version. 2020-02-03 12:19:15 -08:00
Dillon Kearns
1afe0c6262 Update changelogs. 2020-02-03 12:18:30 -08:00
Dillon Kearns
e7dfab4cb2 Update service worker script to only serve up HTML of root route as an offline fallback. 2020-02-03 12:12:40 -08:00
Dillon Kearns
bb7290a3be Improve contrast in text colors. 2020-02-02 19:13:37 -08:00