Commit Graph

1356 Commits

Author SHA1 Message Date
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
Dillon Kearns
f521ba497c
Fix date in changelog entry. 2020-06-16 08:45:17 -07:00
Dillon Kearns
df781b9b49 Bump elm package. 2020-06-16 08:33:54 -07:00
Dillon Kearns
bd5043160c 1.4.1 2020-06-16 08:33:37 -07:00
Dillon Kearns
7c4c6c2634 Update changelogs. 2020-06-16 08:32:52 -07:00
Dillon Kearns
aaaf75e366
Merge pull request #121 from dillonkearns/non-zero-exit-on-error
Non zero exit on errors
2020-06-16 08:26:11 -07:00
Dillon Kearns
3e1bd85001
Merge pull request #118 from Y0hy0h/fix-static-destination
Fix static folder destination on Windows and clean up its implementation
2020-06-16 08:25:03 -07:00
Dillon Kearns
e734f76576 Make sure webpack exits with non-zero status when there are errors. Fixes #115. 2020-06-16 08:22:58 -07:00
Dillon Kearns
1605580bb3
Merge pull request #120 from dillonkearns/fix-static-http-generate-files-hanging
Fix static http generate files hanging
2020-06-16 08:21:43 -07:00
Dillon Kearns
4962bf6520 Make pending requests check check if the cache contains requests. Fixes #107. 2020-06-15 19:42:04 -07:00
Dillon Kearns
77d5af5a1c Refactor binding to use pipe syntax. 2020-06-15 19:35:45 -07:00
Dillon Kearns
4101b060a5 Use equalDicts helper. 2020-06-15 15:23:07 -07:00
Dillon Kearns
32f1936a2a
Merge pull request #119 from dillonkearns/refactor-cli-module
Refactor cli module
2020-06-15 15:01:21 -07:00
Dillon Kearns
c54114c3e9 Remove a debug statement. 2020-06-15 14:54:46 -07:00
Dillon Kearns
3dcfd04701 Move let block up a level. 2020-06-15 14:44:03 -07:00
Dillon Kearns
0d39eafb06 Add test case for generating files with static http data. 2020-06-13 13:43:35 -07:00
Dillon Kearns
229a8c4445 Add additional parameter to test start function. 2020-06-13 12:31:47 -07:00
Dillon Kearns
44b5fad025 Rewrite type annotation across lines. 2020-06-13 12:29:36 -07:00
Dillon Kearns
25ac5de02d Add unit test for static responses module. 2020-06-13 12:26:47 -07:00
Dillon Kearns
592deda88e Extract flags decoder. 2020-06-13 11:06:06 -07:00
Dillon Kearns
4d887dee76 Remove unused type alias. 2020-06-13 07:55:01 -07:00
Dillon Kearns
93803c0d63 Remove redundant StaticResponses insert. 2020-06-13 07:49:08 -07:00
Dillon Kearns
aa348ee241 Hide private functions. 2020-06-13 07:39:13 -07:00
Dillon Kearns
d479b6a48d Remove unused import. 2020-06-13 07:37:42 -07:00
Dillon Kearns
a30d6d337c Rename some functions. 2020-06-13 07:37:23 -07:00
Dillon Kearns
aa0e2702e4 Return NextStep custom type to make StaticResponses contract more explicit. 2020-06-13 07:33:21 -07:00
Dillon Kearns
dfa44e7b02 Format some type annotations on multiple lines. 2020-06-13 06:53:27 -07:00
Dillon Kearns
79d4d6bdcc Extract codec to module. 2020-06-13 06:09:09 -07:00
Dillon Kearns
d938110cb5 Use opaque type for StaticResponses. 2020-06-12 21:18:07 -07:00
Johannes Maas
e34c7ca438 Fix static folder destination on Windows
On Windows, a file in static/file.txt was put into dist/static/file.txt instead of dist/file.txt.

This was because we cut off everything before the first "/" in the target path string, but Windows separates folders with "\".

Instead, we can use the somewhat hidden context feature from the CopyPlugin to get rid of the static/ prefix. See https://webpack.js.org/plugins/copy-webpack-plugin/#from-is-a-glob
2020-06-12 12:20:22 +02:00
Dillon Kearns
f0d67660b3 Extract Effect type to module. 2020-06-11 20:57:19 -07:00