Commit Graph

1413 Commits

Author SHA1 Message Date
Dillon Kearns
9faaa69e11 Use util.promisfy to ensure compatibility with Node 12. 2020-10-16 15:43:11 -07:00
Dillon Kearns
b8a7b95698 Generate files. 2020-10-16 15:33:51 -07:00
Dillon Kearns
3643f5666d Write out manifest.json file. 2020-10-16 15:19:46 -07:00
Dillon Kearns
cfaf6dbb5c Lift a case statement. 2020-10-16 11:51:54 -07:00
Dillon Kearns
5ce03395ab Extract function. 2020-10-16 11:00:28 -07:00
Dillon Kearns
29aac16a33 Include ports in example. 2020-10-16 10:36:52 -07:00
Dillon Kearns
8c3e27b3ff Add generate-manifest js function. 2020-10-16 10:36:25 -07:00
Dillon Kearns
4137773928 Import user-index in example. 2020-10-16 10:36:12 -07:00
Dillon Kearns
094f108890 Remove unused variable. 2020-10-15 20:59:52 -07:00
Dillon Kearns
4b30a4b4bb Update beta index code. 2020-10-15 20:53:12 -07:00
Dillon Kearns
cc78cb40c5 Add data-url div to example boilerplate. 2020-10-15 20:41:35 -07:00
Dillon Kearns
adf16677d2 Add links to example. 2020-10-15 20:41:14 -07:00
Dillon Kearns
6c1781b154 Remove hardcoding of raw body in content.json. 2020-10-15 06:33:16 -07:00
Dillon Kearns
3e4ce8dc29 Extract constant. 2020-10-15 06:17:32 -07:00
Dillon Kearns
0b168e5e25 Clean up some async cli code. 2020-10-15 06:10:24 -07:00
Dillon Kearns
9c117fa854 Copy stylesheet and js entrypoint in async function. 2020-10-14 13:21:02 -07:00
Dillon Kearns
3785838fd9 Copy stylesheet and include it. 2020-10-14 12:59:31 -07:00
Dillon Kearns
5b5b2b4cda Add script for testing lots of files in content folder. 2020-10-14 10:09:13 -07:00
Dillon Kearns
81df8b7094 Log after pre-rendering each route. 2020-10-13 21:54:23 -07:00
Dillon Kearns
fbef4d6c15 Add gitignore for simple/gen. 2020-10-13 21:46:44 -07:00
Dillon Kearns
8a24e858d2 Send ports for pages as they're completed. 2020-10-13 21:46:08 -07:00
Dillon Kearns
ad0059037a Log http requests with port. 2020-10-13 21:18:15 -07:00
Dillon Kearns
4587e235d8 Process one page at a time. 2020-10-13 21:02:12 -07:00
Dillon Kearns
1d304ad094 Wire in starting point for continuing steps one at a time for cli pre-rendering. 2020-10-13 15:40:36 -07:00
Dillon Kearns
2f256c800c Remove generated file. 2020-10-13 15:00:37 -07:00
Dillon Kearns
2f6a773b0c Run code generation in beta cli. 2020-10-13 10:03:36 -07:00
Dillon Kearns
eb9c339dcd Run terser. 2020-10-12 18:30:50 -07:00
Dillon Kearns
df3213148f Refactor duplicate shell execution code. 2020-10-12 17:54:05 -07:00
Dillon Kearns
ef952f6acb Add some type annotations. 2020-10-12 17:20:34 -07:00
Dillon Kearns
6a32b0ca5c Include logic for base routes. 2020-10-12 17:03:35 -07:00
Dillon Kearns
a0e3fa0043 Fix issue with importing index.js in beta. 2020-10-12 16:05:46 -07:00
Dillon Kearns
5d6d555849 Run terser on output. 2020-10-11 22:22:58 -07:00
Dillon Kearns
802f43cfb5 Import elm code as an es6 module. 2020-10-11 22:18:33 -07:00
Dillon Kearns
86ea65a3ba Generate multiple pages, and show error messages. 2020-10-11 21:21:34 -07:00
Dillon Kearns
bf68b2eb47 Assert for multiple ports. 2020-10-11 09:25:37 -07:00
Dillon Kearns
56718bb708 Simplify test helper. 2020-10-11 09:21:49 -07:00
Dillon Kearns
35e2c2ca51 Simplify helper function. 2020-10-11 09:16:44 -07:00
Dillon Kearns
40c3f5a16c Render head tags in beta pre-renderer. 2020-10-11 08:43:38 -07:00
Dillon Kearns
7beaf5ddaf Set up proof of concept for webpack-free build. 2020-10-10 18:07:36 -07:00
Dillon Kearns
84dc05668b Get a basic case working for beta elm-to-html verison. 2020-10-10 08:15:54 -07:00
Dillon Kearns
daa128796d Split off beta build process and add snapshot test. 2020-10-09 17:08:02 -07:00
Dillon Kearns
e327d7a25d Add simple example code. 2020-10-08 19:49:05 -07:00
Dillon Kearns
4ce530f041
Merge pull request #145 from dillonkearns/performance-tuning
StaticHttp build performance tuning
2020-10-08 11:17:40 -07:00
Dillon Kearns
9055fa1187 Remove unnecessary loop. 2020-10-07 12:36:03 -07:00
Dillon Kearns
e9aa52b4a0 Simplify some code. 2020-10-07 12:34:27 -07:00
Dillon Kearns
f7cd75bbc6 Remove some more unnecessary calls. 2020-10-07 12:34:02 -07:00
Dillon Kearns
d9735c6dcc Remove extra update with nested loops. 2020-10-07 12:30:12 -07:00
Dillon Kearns
7c32c6683f Avoid using deprecated individually cached responses per request in one case. 2020-10-07 12:27:33 -07:00
Dillon Kearns
0c1e101ebd Replace another instance with single call to static request status. 2020-10-07 11:51:35 -07:00
Dillon Kearns
560be03e85 Replace one call to permanent error function. 2020-10-07 11:45:54 -07:00