Commit Graph

2065 Commits

Author SHA1 Message Date
Dillon Kearns
55711852ea Use a tailwind renderer. 2021-04-14 08:32:46 -07:00
Dillon Kearns
c6d09e3bdf Remove generated files. 2021-04-14 07:47:36 -07:00
Dillon Kearns
5df19c76a8 Remove more unused. 2021-04-14 07:47:00 -07:00
Dillon Kearns
60cb4da2f2 Remove unused. 2021-04-14 07:36:16 -07:00
Dillon Kearns
ebe599c4e1 Comment out a hardcoded subscriptions wiring for now. 2021-04-14 07:34:02 -07:00
Dillon Kearns
166563ae16 Add a slides example project. 2021-04-14 07:33:51 -07:00
Dillon Kearns
8de4fc7b12 Wire in sitemap using new SiteConfig. 2021-04-13 19:20:10 -07:00
Dillon Kearns
423e6de328 Wire in all Routes in SiteConfig. 2021-04-13 18:43:31 -07:00
Dillon Kearns
713ff07634 Write generated files to a temporary folder and serve them in dev server. 2021-04-13 15:33:31 -07:00
Dillon Kearns
2a5ef63ae2 Generate manifest.json as a plain-old file generator. 2021-04-13 13:46:48 -07:00
Dillon Kearns
4744844dd1 Wire in manifest generator as just another file generator, but specified in the generated code. 2021-04-13 13:28:58 -07:00
Dillon Kearns
64e1baf0b2 Use replaceAll in generator command. 2021-04-13 13:11:34 -07:00
Dillon Kearns
4e5c80ab91 Move definition. 2021-04-13 13:05:33 -07:00
Dillon Kearns
2b63ac8459 Update generator. 2021-04-13 13:05:18 -07:00
Dillon Kearns
e8f0ffe7b6 Add watchers when file reads and globs are encountered in the renderer. 2021-04-12 21:44:57 -07:00
Dillon Kearns
fcada0839e Watch elm source dirs and rewatch on elm.json change. For now, don't watch content/ folder, in preparation for watching on-demand based on globs and file reads from data sources. 2021-04-12 21:26:14 -07:00
Dillon Kearns
89cfd0904c Add debug output. 2021-04-12 20:30:20 -07:00
Dillon Kearns
a403f90049 Run cli in debug mode. 2021-04-12 20:29:59 -07:00
Dillon Kearns
384f9043dc Fix type. 2021-04-12 20:29:27 -07:00
Dillon Kearns
3af6666671 Use generated Route type in SharedTemplate type. 2021-04-12 17:36:18 -07:00
Dillon Kearns
ce039cf207 Generate separate Route module. 2021-04-12 17:34:23 -07:00
Dillon Kearns
06a9883c15 Remove references to Shared.PageView. 2021-04-12 16:54:08 -07:00
Dillon Kearns
0434c7ebec Use map function from Document. 2021-04-12 16:50:23 -07:00
Dillon Kearns
f375c97679 Extract SharedTemplate type in preparation for including it as generated code. 2021-04-12 16:46:08 -07:00
Dillon Kearns
3dee1adf04 Generate RouteParams in generator. 2021-04-12 16:45:25 -07:00
Dillon Kearns
e65556f265 Refactor a template. 2021-04-12 15:33:00 -07:00
Dillon Kearns
0939d02ce7 Update package-lock. 2021-04-12 15:32:49 -07:00
Dillon Kearns
02b97e7b16 Clean up dev server logging output. 2021-04-12 15:32:42 -07:00
Dillon Kearns
450c53536a Clear cache entry for file in dev server on file change. 2021-04-12 15:16:30 -07:00
Dillon Kearns
57935a19dd Handle multiple EventStream connections, and socket close event. 2021-04-12 13:53:13 -07:00
Dillon Kearns
0a33c6e572 Add some type annotations. 2021-04-11 21:06:31 -07:00
Dillon Kearns
a2df8d665d Add return to prevent incorrect runningElmMake state. 2021-04-11 20:07:19 -07:00
Dillon Kearns
cfee49f0dd Remove unused import. 2021-04-11 20:06:58 -07:00
Dillon Kearns
e83dd9d2c3 Handle showing content JSON errors. 2021-04-11 19:50:48 -07:00
Dillon Kearns
7375e55d34 Handle showing errors with new await syntax. 2021-04-11 19:42:26 -07:00
Dillon Kearns
c7c0e78912 Fix showCompiling id name inconsistencies and show at correct time. 2021-04-11 16:26:22 -07:00
Dillon Kearns
71d4366fbe Set elm make running to true on dev server start. 2021-04-11 16:17:04 -07:00
Dillon Kearns
83933495fa Wait for content json request to come back before applying HMR update. 2021-04-11 15:40:32 -07:00
Dillon Kearns
7a019036ec Use module.hot.apply API to update content json when the new app is ready to receive ports. 2021-04-11 15:35:02 -07:00
Dillon Kearns
52fd8cc1b7 Use non-blocking IO in Elm ports for renderer. 2021-04-11 14:38:14 -07:00
Dillon Kearns
75fec75d61 Performance tuning for compiling elm client. And make sure to set elmMakeRunning to false after initial compilation. 2021-04-11 14:37:39 -07:00
Dillon Kearns
c154c2bb65 Only rerun codegen when Template module files are added or removed, since that's all the information they depend on. And don't rerun multiple elm make tasks while one is in progress to debounce. 2021-04-11 12:28:55 -07:00
Dillon Kearns
00f551e4d7 Print out time to run elm make. 2021-04-10 19:52:43 -07:00
Dillon Kearns
138e909ba3 Add ts types for cross-spawn. 2021-04-10 17:07:42 -07:00
Dillon Kearns
4b23287b4d Update codegen globals. 2021-04-10 16:47:48 -07:00
Dillon Kearns
e96f656f18 Remove obsolete code for pre-rendering head tags with webpack. 2021-04-10 16:27:21 -07:00
Dillon Kearns
691809191e Inline function. 2021-04-10 14:16:50 -07:00
Dillon Kearns
d951d59afc Remove obsolete markdown stuff. 2021-04-10 14:13:44 -07:00
Dillon Kearns
15d6304de1 Remove obsolete function. 2021-04-10 14:11:26 -07:00
Dillon Kearns
edbadddf7f Remove obsolete images folder in favor of just static folder. 2021-04-10 14:06:48 -07:00