Commit Graph

1386 Commits

Author SHA1 Message Date
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
Dillon Kearns
962c397d75 Restore staticResponses update for now to fix some cases. 2020-10-07 11:08:43 -07:00
Dillon Kearns
1a20715be6 Avoid storing stripped requests and instead compute at the last moment. 2020-10-06 21:02:23 -07:00
Dillon Kearns
ba228d2c1a Tune performance to avoid traverse converting to/from dict repeatedly. 2020-10-05 20:35:15 -07:00
Dillon Kearns
340f9b966c Perform one request at a time. 2020-10-04 20:40:13 -07:00
Dillon Kearns
e2a1287703
Create FUNDING.yml 2020-09-23 11:30:45 -07:00
Dillon Kearns
7f739ce4e2 Ignore coverage folder. 2020-08-24 13:40:30 -07:00
Dillon Kearns
bc1c92c651
Add webpack performance profiling instructions 2020-08-18 14:41:26 -07:00
Dillon Kearns
1fa02c015b 1.4.3 2020-08-17 19:47:17 -07:00
Dillon Kearns
31d8a4fb43 Update changelog. 2020-08-17 19:47:03 -07:00
Dillon Kearns
3bee40a7bc
Merge pull request #123 from sparksp/generate-command
Generate without full build
2020-08-17 19:41:30 -07:00
Dillon Kearns
646ebc42b2 Set headers to turn off caching in dev server so Safari doesn't load stale data. 2020-08-17 19:37:29 -07:00
Dillon Kearns
8692e2885d
Merge pull request #132 from Y0hy0h/path-error-prefix
Path error prefix
2020-07-22 08:13:56 -07:00
Dillon Kearns
4e0d49e6c0
Merge pull request #133 from dillonkearns/all-contributors/add-Y0hy0h
docs: add Y0hy0h as a contributor
2020-07-22 07:57:04 -07:00
allcontributors[bot]
71d91eca4b
docs: update .all-contributorsrc [skip ci] 2020-07-19 18:23:51 +00:00
allcontributors[bot]
8ea6ee30de
docs: update README.md [skip ci] 2020-07-19 18:23:50 +00:00
Johannes Maas
aa27d9a49e Update error message test 2020-07-19 20:09:38 +02:00
Johannes Maas
2746639b35 Prefix path in error message with /
Previously the root path was displayed as the empty string, which is confusing.
2020-07-19 20:07:38 +02:00
Dillon Kearns
7d6d3bc672
Fix typo in changelog version. 2020-07-15 08:15:00 -07:00
Phill Sparks
8b4d92d4ca
Use build --skip-dist instead of generate 2020-07-14 21:57:18 +01:00
Phill Sparks
4da355b17e
Generate without full build
Adds `elm-pages generate` command which only builds `gen/Pages.elm`.

Fixes #112
2020-07-14 21:57:18 +01:00
Dillon Kearns
a125919f1d Bump elm package. 2020-07-14 12:12:02 -07:00
Dillon Kearns
62b9d4176a 1.4.2 2020-07-14 12:10:19 -07:00
Dillon Kearns
2d27a014c0 Update changelogs. 2020-07-14 11:56:00 -07:00
Dillon Kearns
826f0a0cd7 Fix missing content flash for sites hosted at a base url. Fixes #106. 2020-07-14 09:14:17 -07:00
Dillon Kearns
007c9c823f Merge branch 'pr/110' 2020-06-16 20:55:04 -07:00
Dillon Kearns
ebd348d3f6
Merge pull request #110 from Y0hy0h/image-dimensions
Provide image dimensions
2020-06-16 20:54:51 -07:00
Dillon Kearns
929c57a18a Run snapshot test with images in test directory. 2020-06-16 20:51:44 -07:00