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
Johannes Maas
b136952411
Add dimensions to ImagePath
2020-05-17 21:19:53 +02:00
Johannes Maas
ef9108924b
Merge remote-tracking branch 'upstream/master' into image-dimensions
2020-05-17 19:54:21 +02:00
Dillon Kearns
84fd44b922
Address some typescript warnings.
2020-05-17 10:48:52 -07:00
Dillon Kearns
39bf0ca62a
Address some typescript warnings.
2020-05-17 10:23:36 -07:00
Dillon Kearns
c58c6c3081
Rename test file.
2020-05-17 10:14:51 -07:00
Dillon Kearns
f329a14bd9
Add snapshot test for generated Pages.elm file.
2020-05-17 10:12:03 -07:00
Dillon Kearns
202aec4573
Run jest tests in npm test.
2020-05-17 09:41:00 -07:00
Dillon Kearns
4d0bb2c356
Add jest boilerplate.
2020-05-17 09:40:32 -07:00
Johannes Maas
7be88793fe
Refactor generation code
2020-05-17 18:34:53 +02:00
Dillon Kearns
1684c45ca3
Use async plugin for generating files.
2020-05-17 09:12:06 -07:00
Johannes Maas
6173268185
Factor out common funcs in image asset processing
2020-05-17 15:36:19 +02:00
Johannes Maas
0c91aa180d
Add dependency on sharp
2020-05-17 14:16:17 +02:00
Dillon Kearns
14518e2497
Bump elm version.
2020-05-13 21:19:52 -07:00
Dillon Kearns
2b78448a6c
Update changelog.
2020-05-13 21:19:13 -07:00
Dillon Kearns
2fb7f0c08d
Make sure to eagerly evaluate markdown rendering in CLI mode to get errors.
2020-05-13 21:14:05 -07:00
Dillon Kearns
0dd025b7f6
Bump elm package version.
2020-05-11 18:20:11 -07:00