Commit Graph

2739 Commits

Author SHA1 Message Date
Dillon Kearns
6084b7d895 Generate static API routes in worker thread build. 2021-07-07 10:24:01 -07:00
Dillon Kearns
3e61a143a6 Don't send watch message with empty set. 2021-07-07 09:59:33 -07:00
Dillon Kearns
41dadfe804 Remove obsolete cache code in main dev server thread. 2021-07-07 09:59:24 -07:00
Dillon Kearns
e56f13d3eb In build mode, don't clear Elm require cache. 2021-07-07 09:25:52 -07:00
Dillon Kearns
457aee7067 Don't send watch messages from build command. 2021-07-07 09:14:04 -07:00
Dillon Kearns
948e3ebbc7 Update dependencies. 2021-07-07 09:02:40 -07:00
Dillon Kearns
b38815170f Remove xhr2 dependency. 2021-07-07 08:56:58 -07:00
Dillon Kearns
d22a663a90 Re-require Elm lazily on each worker render, and add file watchers from workers. 2021-07-07 08:41:14 -07:00
Dillon Kearns
c3b7391ca6 Use custom thread pool for dev server in preparation for custom messages (which aren't supported by the previous npm package). 2021-07-06 16:34:29 -07:00
Dillon Kearns
c734630a2b Use custom worker thread pool in preparation for custom message passing (npm package didn't support custom messages, only completion messages). 2021-07-06 15:24:44 -07:00
Dillon Kearns
2567b6b9b2 Delete comment. 2021-07-06 10:46:52 -07:00
Dillon Kearns
4b072c2491 Delete unused. 2021-07-06 10:45:19 -07:00
Dillon Kearns
1b02442bc9 Share environment variables in worker pools to ensure PATH is persisted and secrets are available. 2021-07-06 07:50:52 -07:00
Dillon Kearns
ac3c3369e5 Use undici to perform HTTP requests with file-system cache. 2021-07-06 06:26:14 -07:00
Dillon Kearns
2c1e47e675 Fix type signatures in docs. 2021-07-05 19:35:47 -07:00
Dillon Kearns
0fe8147b13 Use worker threads for dev server. 2021-07-04 20:14:34 -07:00
Dillon Kearns
35608ebe63 Use app.die() in worker threads to reduce memory, and restore use in dev server. 2021-07-02 16:05:16 -07:00
Dillon Kearns
9dfdf33708 Use writeFileSync in worker threads. 2021-07-02 16:04:57 -07:00
Dillon Kearns
1fd5133ba9 Base number of worker threads on number of CPUs. 2021-07-02 16:04:43 -07:00
Dillon Kearns
87ca9a72f5 Add method to http error messages. 2021-07-02 15:15:55 -07:00
Dillon Kearns
a94ee06c35 Run build with worker threads. 2021-07-02 15:15:41 -07:00
Dillon Kearns
4c5ad36976 Add more output to HTTP DataSource failure. 2021-06-28 08:01:42 -07:00
Dillon Kearns
03996ef2ad Fix typos. 2021-06-26 09:03:04 -07:00
Dillon Kearns
241458a8e3 Update post. 2021-06-26 07:47:36 -07:00
Dillon Kearns
dc40ae1735 Add draft post. 2021-06-25 22:40:26 -07:00
Dillon Kearns
5f54b4fbe3 Clear glob cache on change, removeDir, addDir. 2021-06-25 12:20:06 -07:00
Dillon Kearns
513159cd86 Update index.js page for template. 2021-06-25 09:57:05 -07:00
Dillon Kearns
08fb2b2465 Add missing dependency in template scaffolding. 2021-06-25 09:56:53 -07:00
Dillon Kearns
99ffa46800 Inline font in stylesheet. 2021-06-25 08:25:35 -07:00
Dillon Kearns
20f209f7da Move content.json script tag to bottom of head tag. 2021-06-25 08:14:43 -07:00
Dillon Kearns
38a8e13d4c Remove newlines between SEO head tags. 2021-06-25 08:14:20 -07:00
Dillon Kearns
33c62aaeaf Try initial content.json in a script tag. 2021-06-25 08:03:25 -07:00
Dillon Kearns
40b5b70272 Remove unused code. 2021-06-24 21:31:50 -07:00
Dillon Kearns
a92bd815c0 Add noopener. 2021-06-24 19:48:23 -07:00
Dillon Kearns
32a351a094 Extract common code for prerender function. 2021-06-24 19:01:12 -07:00
Dillon Kearns
d99d51d944 Extract js code to file. 2021-06-24 18:33:31 -07:00
Dillon Kearns
eb3ac3edb2 Remove unused imports. 2021-06-24 18:33:16 -07:00
Dillon Kearns
9e1eb683a8 Log exception message when printing errors. 2021-06-24 17:49:10 -07:00
Dillon Kearns
a089fbd248 Inline JS for elm-pages.js script, and minify it. 2021-06-24 17:48:42 -07:00
Dillon Kearns
f1750de106 Simplify elm-pages.js code. 2021-06-24 15:55:41 -07:00
Dillon Kearns
7ea50f02a2 Update docs. 2021-06-24 14:14:05 -07:00
Dillon Kearns
655465b323 Update docs. 2021-06-24 12:55:05 -07:00
Dillon Kearns
3510fe9797 Update meta description. 2021-06-24 12:15:30 -07:00
Dillon Kearns
cd8a445ef3 Add some annotations and remove some unused modules. 2021-06-24 11:59:51 -07:00
Dillon Kearns
6a0741bb75 Fix microlink URL. 2021-06-24 11:52:06 -07:00
Dillon Kearns
3a2a816bda Fix pokedex example. 2021-06-24 11:49:00 -07:00
Dillon Kearns
7bcb589125 Shorten URLs for docs image cards. 2021-06-24 11:43:29 -07:00
Dillon Kearns
ae6133377f Rearrange template. 2021-06-24 11:34:32 -07:00
Dillon Kearns
7943d52e58 Update landing page. 2021-06-24 10:38:51 -07:00
Dillon Kearns
e8c57985e9 Fix spacing. 2021-06-24 10:15:45 -07:00