Commit Graph

1430 Commits

Author SHA1 Message Date
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
6c06f06c1b Add documentation page template. 2020-06-06 16:20:24 -07:00
Dillon Kearns
0e0446c397 Use template builder for Showcase template module. 2020-06-06 16:10:18 -07:00
Dillon Kearns
feeef824c7 Remove extra exports. 2020-06-06 16:07:26 -07:00
Dillon Kearns
033fb21f7b Remove extra exports. 2020-06-06 16:06:10 -07:00
Dillon Kearns
f1aaa85b92 Remove extra exports. 2020-06-06 16:04:25 -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
Dillon Kearns
f4c7058d14 Wire in Msgs to templates. 2020-06-01 19:57:07 -07:00
Dillon Kearns
923120d2f1 Use exposed template value for another template. 2020-05-30 18:56:53 -07:00
Dillon Kearns
4bb89478df Add template builder function. 2020-05-30 18:51:22 -07:00
Dillon Kearns
fab5c09844 Move user-defined metadata to its own module. 2020-05-27 12:58:11 -07:00
Dillon Kearns
ec513fd0b8 Move some metadata to an external module to prevent circular dependencies. 2020-05-26 20:51:38 -07:00
Dillon Kearns
de49f37dee Remove some unused code. 2020-05-24 12:36:01 -07:00
Dillon Kearns
2ff13c00e3 Wire in blog index with an empty list of posts for now. 2020-05-24 12:33:17 -07:00
Dillon Kearns
8a9cc44a2b Remove unused metadata type. 2020-05-24 10:34:57 -07:00
Dillon Kearns
eee1d7de71 Wire in update function to call template inits. 2020-05-24 09:24:48 -07:00
Dillon Kearns
c42be6b803 Wire in showcase template. 2020-05-24 08:52:09 -07:00
Dillon Kearns
3f946bdc46 Wire in the main Page template. 2020-05-24 08:36:40 -07:00
Dillon Kearns
a26a84e4b6 Remove some debug todos. 2020-05-23 18:59:07 -07:00
Dillon Kearns
48fd7a5fb5 Wire up init function. 2020-05-23 17:03:28 -07:00
Dillon Kearns
e9ff0faafb Add BlogPost template prototype. 2020-05-23 15:31:56 -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
7aeec0f72e Add starting point for template modules file structure. 2020-05-20 06:42:52 -07: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