Commit Graph

366 Commits

Author SHA1 Message Date
Dillon Kearns
8aff334828 Add helper modules to run elm from NodeJS and rewrite elm.json. 2019-08-19 15:20:20 -07:00
Dillon Kearns
07152b8fa3 Hardcode some parameters that shouldn't change. 2019-08-19 14:51:11 -07:00
Dillon Kearns
713d9f0690 Remove file that will be generated in elm-stuff folder. 2019-08-19 14:50:50 -07:00
Dillon Kearns
1d936829d2 Change generated code style. 2019-08-19 14:50:33 -07:00
Dillon Kearns
0de8f269de Include compile-elm code. 2019-08-19 10:38:13 -07:00
Dillon Kearns
c3a1d9ade1 Extract paramater. 2019-08-19 10:24:01 -07:00
Dillon Kearns
68b6ceb769 Switch back to original dir after running elm, and export function. 2019-08-19 10:23:07 -07:00
Dillon Kearns
c022531ff2 Clean up hand-generated file. 2019-08-19 10:18:56 -07:00
Dillon Kearns
21a7d1160e Add prototype file for compiling elm module from NodeJS. 2019-08-19 10:08:47 -07:00
Dillon Kearns
62cd55d076 Remove comment. 2019-08-19 09:32:24 -07:00
Dillon Kearns
bf26b89283 Move cliApplication helper to Pages module. 2019-08-19 09:32:09 -07:00
Dillon Kearns
a951201205 Add temporary nodejs file used to run elm app. 2019-08-19 08:55:42 -07:00
Dillon Kearns
e1065522e6 Use new Pages interface with temporary hand-generated code. 2019-08-19 08:54:28 -07:00
Dillon Kearns
bef1d41402 Update package dependencies. 2019-08-18 16:27:34 -07:00
Dillon Kearns
da74a19085 Bump npm package to 1.0.16. 2019-08-17 18:04:50 -07:00
Dillon Kearns
df7def2454 Remove comment. 2019-08-17 18:04:43 -07:00
Dillon Kearns
c16316298d Try to fix netlify error. 2019-08-17 16:49:35 -07:00
Dillon Kearns
8ce8ba37e2 Address todo comment. 2019-08-17 09:48:43 -07:00
Dillon Kearns
bebda8428b Remove unused function. 2019-08-17 09:46:31 -07:00
Dillon Kearns
1bdb2bcbf4 Remove comment. 2019-08-17 09:45:13 -07:00
Dillon Kearns
068145f1a3 Implement routes function properly. 2019-08-17 09:44:55 -07:00
Dillon Kearns
671918142b Add elm-format as a dev dependency. 2019-08-17 09:32:49 -07:00
Dillon Kearns
fd0eccd751 Clean up function. 2019-08-17 09:30:38 -07:00
Dillon Kearns
58f2c98013 Remove unnecssary function. 2019-08-17 09:27:35 -07:00
Dillon Kearns
21ff2751f8 Address elm-analyse warnings. 2019-08-17 09:24:12 -07:00
Dillon Kearns
ea6705790e Remove some unused functions. 2019-08-17 09:11:45 -07:00
Dillon Kearns
324972bd50 Remove unused value from model. 2019-08-17 09:11:22 -07:00
Dillon Kearns
e45fc59283 Fix dev server. 2019-08-17 09:09:57 -07:00
Dillon Kearns
bbe1da41de Change url after updating cache. 2019-08-17 08:31:27 -07:00
Dillon Kearns
911ec43d9a Handle parsing in lazy load task. 2019-08-17 08:23:27 -07:00
Dillon Kearns
b311200e29 Pass additional parameters to lazy load task. 2019-08-17 08:13:04 -07:00
Dillon Kearns
68fc59f716 Update logic for lazy loading task. 2019-08-17 08:09:46 -07:00
Dillon Kearns
97e36d107e Replace GotContent msg with a Task encapsulated in ContentCache. 2019-08-17 08:02:33 -07:00
Dillon Kearns
d54f0a9d4a Add UpdateCache msg. 2019-08-17 07:52:24 -07:00
Dillon Kearns
5895debcd2 Create starting point for lazy load task. 2019-08-17 07:45:58 -07:00
Dillon Kearns
af1a0eac92 Include styles in docs site. 2019-08-17 07:20:27 -07:00
Dillon Kearns
b0346fc8d1 Warmup content cache to parse content on url load. 2019-08-17 07:15:40 -07:00
Dillon Kearns
6bdee20348 Update cache warming function. 2019-08-17 07:08:53 -07:00
Dillon Kearns
22e8e1053f Add new function. 2019-08-17 06:58:52 -07:00
Dillon Kearns
6e0e07f0dc Put raw markup into cache on init. 2019-08-17 06:44:26 -07:00
Dillon Kearns
b93dd537be Refactor. 2019-08-17 06:20:15 -07:00
Dillon Kearns
83d2a4dd99 Add parseMarkupMetadata helper. 2019-08-17 06:16:36 -07:00
Dillon Kearns
1b8dd53928 Pass through additional args to ContentCache.init. 2019-08-17 06:13:36 -07:00
Dillon Kearns
e4efba66fc Pass all content to ContentCache.init. 2019-08-17 06:11:11 -07:00
Dillon Kearns
62f39d22f6 Update to latest elm-package code. 2019-08-17 06:06:42 -07:00
Dillon Kearns
f11c131971 Netlify removed support for http2 push so remove that line for now. 2019-08-17 06:06:17 -07:00
Dillon Kearns
d321c487d6 Add http2 push configuration for netlify. 2019-08-16 19:24:15 -07:00
Dillon Kearns
70286027fe Bump npm package to 1.0.15. 2019-08-16 18:36:18 -07:00
Dillon Kearns
4973e39850 Remove unused constant. 2019-08-16 18:35:07 -07:00
Dillon Kearns
38b6dc8419 Generate all Nothing values (only works for prod for now). 2019-08-16 18:31:25 -07:00