Commit Graph

1380 Commits

Author SHA1 Message Date
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
Dillon Kearns
eef6e7d568 Extract ToJsPayload module. 2020-06-11 20:55:19 -07:00
Dillon Kearns
4ad0c59406 Remove unused value. 2020-06-11 20:34:32 -07:00
Dillon Kearns
05aba2c44c Extract function. 2020-06-11 20:33:13 -07:00
Dillon Kearns
0fbd2deb5e Write type as extensible record. 2020-06-11 20:31:36 -07:00
Dillon Kearns
67d3c5df85 Extract another function. 2020-06-11 20:26:55 -07:00
Dillon Kearns
8a464e7f1b Extract another function to StaticResponses module. 2020-06-11 20:23:50 -07:00
Dillon Kearns
33638a0165 Extract function to StaticResponses module. 2020-06-11 20:22:14 -07:00
Dillon Kearns
f33b38349c Extract mode module. 2020-06-11 20:20:34 -07:00
Dillon Kearns
32c5e60752 Extract StaticResponses type from CLI code. 2020-06-11 20:19:10 -07:00
Dillon Kearns
716e71c007
Fix typo. 2020-06-09 08:27:16 -07:00
Dillon Kearns
67620a5124 Update docs site dependencies. 2020-06-06 15:21:33 -07:00
Dillon Kearns
cb2397c546
Fix netlify cache path. 2020-06-06 10:22:11 -07:00
Dillon Kearns
dbdf02e243
Update FAQ.md 2020-06-04 06:43:46 -07:00
Johannes Maas
f91a7b6a40 Update test snapshot
Required image files in `/images` which are not present on the remote repository.
2020-05-23 23:17:25 +02:00
Johannes Maas
6961fbe97f Reorder Dimensions in documentation
Move it after its first appearance in dimensions.
2020-05-23 23:13:51 +02:00
Johannes Maas
0ede0c8a3b Fix infinite recompilation loop
The images were sorted differently in the resulting Pages.elm file, triggering constant recompilations because the files were considered different.

The random order is probably due to the introduced async operations.
2020-05-23 23:04:40 +02:00
Dillon Kearns
784ddca3e0 Remove unnecessary CSS style. 2020-05-19 08:18:52 -07:00
Dillon Kearns
acb7ac3655 Wrap some paragraphs to prevent overflow. 2020-05-19 07:11:01 -07:00
Dillon Kearns
2e2ead57d8 Fix list item overflow by using Element.paragraph. 2020-05-19 06:54:02 -07:00
Dillon Kearns
154c3c9c5c Upgrade to latest elm-markdown. 2020-05-19 06:51:51 -07:00
Dillon Kearns
6d6cfe222e Fix some elm-ui vendor compiler errors. 2020-05-19 06:51:29 -07:00
Dillon Kearns
29deee3dc5 Vendor elm-ui. 2020-05-19 06:33:33 -07:00
Johannes Maas
beea118c35 Update snapshot 2020-05-17 21:22:03 +02:00
Johannes Maas
e4a9c84cf5 Propagate the promise handling 2020-05-17 21:21:55 +02:00
Johannes Maas
b23915eac1 Pass images their dimensions 2020-05-17 21:21:29 +02:00
Johannes Maas
0ea9c78e51 Add dimensions to buildImage 2020-05-17 21:20:03 +02:00