Commit Graph

2972 Commits

Author SHA1 Message Date
Dillon Kearns
5cba9538ba Change edit docs link to point to master branch. 2021-08-24 08:52:25 -07:00
Dillon Kearns
85bec30edd Update docs and MarkdownCodec plugin to latest elm-markdown. 2021-08-20 20:05:57 -07:00
Daniel Marin
785c7a51dd
Use jsesc instead of JSON.stringify to avoid issues
As explained here: https://mathiasbynens.be/notes/etago

One can run into issues when trying to embed JSON containing
HTML with <script> elements inside a <script> tag.

Switching to a utility with support for this fixes the issue:
https://github.com/mathiasbynens/jsesc#isscriptcontext
2021-08-20 17:55:51 +01:00
Dillon Kearns
4e5a764365 Update changelog. 2021-08-17 18:45:07 -07:00
Dillon Kearns
ffb9c280be Bump elm-pages version in template. 2021-08-17 18:39:23 -07:00
Dillon Kearns
15f190072a Update escaping test. 2021-08-17 18:38:26 -07:00
Dillon Kearns
8fd7bb8bfe 2.1.7 2021-08-17 18:34:44 -07:00
Dillon Kearns
3fd31c3098 Add elm-optimize-level-2 as a devDependency. 2021-08-17 18:30:27 -07:00
Dillon Kearns
19f5e72edf Include elm-optimize-level-2 dependency in init template, as well as an elm-tooling config. 2021-08-17 17:19:11 -07:00
Dillon Kearns
06c661e8b6 Avoid printing duplicate error message for compiler errors. 2021-08-17 12:02:39 -07:00
Dillon Kearns
7a9b401160 Remove unused dependency (users need to install it separately so it's not doing any good as a dependency). 2021-08-17 12:02:24 -07:00
Dillon Kearns
baac8711f9 Check for elm and elm-optimize-level-2 on the PATH before running build. 2021-08-17 11:53:06 -07:00
Dillon Kearns
8ceeb4a30d Update end-to-end test output. 2021-08-15 12:07:32 -07:00
Dillon Kearns
9d30e7412b 2.1.6 2021-08-15 11:59:50 -07:00
Dillon Kearns
d3f0c9e86d Update package version in template project. 2021-08-15 11:59:38 -07:00
Dillon Kearns
b56d5c9993 Update changelog. 2021-08-15 11:59:01 -07:00
Dillon Kearns
88886958bf 2.1.5 2021-08-15 11:57:06 -07:00
Dillon Kearns
3629daa512 Fix "undefined" error printing to show compiler error, and use console.trace for unhandled errors. 2021-08-15 11:56:55 -07:00
Dillon Kearns
a95b47c872 Add default timestamps for case of uncommited file. 2021-08-13 08:29:05 -07:00
Dillon Kearns
d41f4f5c0a Add isPlaceholder helper. 2021-08-11 13:03:52 -07:00
Dillon Kearns
150148de40
Merge pull request #201 from dillonkearns/combine-performance
Performance tuning
2021-08-09 19:57:18 -07:00
Dillon Kearns
0c4f1c3a4d Pass in flag in test. 2021-08-09 19:52:56 -07:00
Dillon Kearns
4ce6b18ed2 Skip unnecessary 404 check in build to avoid extra computations. 2021-08-09 19:43:06 -07:00
Dillon Kearns
a1078e65c9 Remove redundant log statement. 2021-08-09 19:12:24 -07:00
Dillon Kearns
e218a480a5 Fix test output. 2021-08-09 17:32:54 -07:00
Dillon Kearns
c4a0ca832c Remove extra layer of request in succeed. 2021-08-09 11:22:27 -07:00
Dillon Kearns
78746c1195 Avoid Dict to List conversions to improve performance. 2021-08-09 09:29:57 -07:00
Dillon Kearns
56dec4752c Bump elm package. 2021-08-03 13:40:09 -07:00
Dillon Kearns
1526417720 Update versions in init template. 2021-08-03 13:39:44 -07:00
Dillon Kearns
e6c936fe7e Update changelog. 2021-08-03 13:39:00 -07:00
Dillon Kearns
f4e5eebf6a Add more to escaping test case. 2021-08-03 13:37:59 -07:00
Dillon Kearns
da0f43cd0e
Merge pull request #198 from dillonkearns/html-property-escaping
Add an end-to-end test setup for testing escaped HTML output.
2021-08-03 13:31:22 -07:00
Dillon Kearns
503036ca13 Only run diff on dist output. 2021-08-03 13:25:22 -07:00
Dillon Kearns
2ea1898620 Map virtual DOM property names to correct attribute names. 2021-08-03 13:22:20 -07:00
Dillon Kearns
b3d5d65924 Add an end-to-end test setup for testing escaped HTML output. 2021-08-03 13:19:08 -07:00
Dillon Kearns
614fe42095 2.1.4 2021-08-02 17:49:58 -07:00
Dillon Kearns
55b122cb70 Refer to latest elm-pages in init template. 2021-08-02 17:49:45 -07:00
Dillon Kearns
3cad97e0bb 2.1.3 2021-08-02 17:40:10 -07:00
Dillon Kearns
e4fcfad667 Update changelog. 2021-08-02 17:39:48 -07:00
Dillon Kearns
f2402899f6 Clean up error message printing in build and dev server. 2021-08-02 17:38:38 -07:00
Dillon Kearns
156f2ff26d Update sorting for blog posts. 2021-08-02 10:11:02 -07:00
Dillon Kearns
ea788cadc2 Fix typos. 2021-08-02 10:07:06 -07:00
Dillon Kearns
01bd903af9 Update description in post. 2021-08-02 07:13:34 -07:00
Dillon Kearns
7661bfb4e9 Update post. 2021-08-01 16:46:48 -07:00
Dillon Kearns
cd4ea9e437 2.1.2 2021-08-01 16:11:28 -07:00
Dillon Kearns
e15e3be999 Fix package version in init template. 2021-08-01 16:11:15 -07:00
Dillon Kearns
2eacd8323b Add v2 blog post. 2021-08-01 16:07:56 -07:00
Dillon Kearns
f71cf2fbff 2.1.1 2021-08-01 14:26:48 -07:00
Dillon Kearns
b553c6fa98 Fix template. 2021-08-01 14:26:32 -07:00
Dillon Kearns
f350df6312 2.1.0 2021-08-01 14:22:42 -07:00