Commit Graph

2741 Commits

Author SHA1 Message Date
Dillon Kearns
8ad4444fac Use hashing for a test case. 2021-07-28 09:00:34 -07:00
Dillon Kearns
83128c5112 Update tests for single-item flow (not batched page build runs). 2021-07-28 08:06:05 -07:00
Dillon Kearns
a2f08e03d6 Add some cypress boilerplate files. 2021-07-28 07:45:19 -07:00
Dillon Kearns
5747c2f030 Use Shared.Msg instead of extra layer of abstraction for sub-msg type. 2021-07-27 10:48:42 -07:00
Dillon Kearns
f6afc894a3 Fix some compiler errors. 2021-07-27 10:41:18 -07:00
Dillon Kearns
7ce73cc3e3 elm-review fixes. 2021-07-27 09:39:06 -07:00
Dillon Kearns
3f1539260b Use explicit exposing. 2021-07-27 09:38:18 -07:00
Dillon Kearns
ddc4538c14 Remove empty segments from paths. 2021-07-26 21:05:25 -07:00
Dillon Kearns
eadabe1513 Remove log statement. 2021-07-26 17:06:46 -07:00
Dillon Kearns
3b2af1e9a8 Don't render hmr script load in builds (only dev-server). 2021-07-26 15:39:10 -07:00
Dillon Kearns
449e32cf9c Fail build if elm-optimize-level-2 isn't found, and print error output (for example if Debug.log's are found). 2021-07-26 12:40:50 -07:00
Dillon Kearns
d22d2bebaf Simplify ContentCache.init function. 2021-07-26 11:18:48 -07:00
Dillon Kearns
0a77ab5f04 Read path from the right spot for initial ContentCache data. 2021-07-26 11:17:39 -07:00
Dillon Kearns
ecee7a7c88 Update cypress. 2021-07-26 08:48:55 -07:00
Dillon Kearns
1651ec8d13 Add DataSource to end-to-end example index route. 2021-07-26 08:45:53 -07:00
Dillon Kearns
0ba1848d46 Fix error in example. 2021-07-26 08:45:27 -07:00
Dillon Kearns
69cba32d90 Use absolute URL for manifest.json link since there is no more base tag. 2021-07-26 08:35:49 -07:00
Dillon Kearns
aafd5a29e5 Rename frontmatter to route. 2021-07-21 14:53:27 -07:00
Dillon Kearns
182fb89ddf Use same URL normalization for inserting into ContentCache as for lazyLoad. 2021-07-21 14:53:12 -07:00
Dillon Kearns
573c6d72dd Handle base path for 404 pages. 2021-07-21 14:42:58 -07:00
Dillon Kearns
00c91c8e9d Include base path in ProgramConfig. 2021-07-21 14:29:37 -07:00
Dillon Kearns
d865c20ccb Add cypress example for data sources. 2021-07-21 13:33:05 -07:00
Dillon Kearns
ced6284a95 Add cypress config base url. 2021-07-21 13:29:54 -07:00
Dillon Kearns
d81c5ad0d3 Add an end-to-end test example folder. 2021-07-21 13:29:45 -07:00
Dillon Kearns
6762719367 Add missing dependencies in example. 2021-07-21 12:08:12 -07:00
Dillon Kearns
c3f7c622dd Remove hardcoded href. 2021-07-21 10:33:50 -07:00
Dillon Kearns
12f475a88c Update dependencies. 2021-07-20 15:14:00 -07:00
Dillon Kearns
eef18eee93 Use setImmediate to enqueue tasks sequentially so the work is delegated to multiple threads. 2021-07-20 14:47:58 -07:00
Dillon Kearns
951d57a12a Enqueue dev server response work when thread pool is all busy. 2021-07-20 14:14:56 -07:00
Dillon Kearns
4ede380fab Remove baseUrl from model, parse Path into the actual path including the base URL. 2021-07-19 20:59:42 -07:00
Dillon Kearns
c855875e97 Normalize base path arguments. 2021-07-19 18:58:58 -07:00
Dillon Kearns
a264ce10f2 Add --base option, and remove <base> tags. 2021-07-19 18:39:23 -07:00
Dillon Kearns
b82e88cfa6 Add missing dependency to example. 2021-07-19 18:10:48 -07:00
Dillon Kearns
b241727a86 Use serveStatic to serve compiled elm.js for browser using etags/modified-dates to ensure 304's when possible. 2021-07-17 17:26:30 -07:00
Dillon Kearns
4e88d51e85 Cache Port DataSources like HTTP is cached. 2021-07-17 15:16:13 -07:00
Dillon Kearns
7b3f9889b4 Exclude the .elm-pages folder from the source directories watchers. 2021-07-17 14:14:32 -07:00
Dillon Kearns
0ecca3e673 Handle null color in shiki decoder. 2021-07-17 11:41:50 -07:00
Dillon Kearns
93a595c869 Change foldl's to foldr's to get DataSource markdown renderer resolution showing up in the correct order. 2021-07-17 08:29:31 -07:00
Dillon Kearns
d9f3372669 Add base middleware function. 2021-07-16 20:28:46 -07:00
Dillon Kearns
74690f00fc Add updated Scaffolded module. 2021-07-16 20:28:28 -07:00
Dillon Kearns
9c995f9c90 Hash data source keys to reduce JSON size. 2021-07-16 11:32:39 -07:00
Dillon Kearns
87a074eca9 Add shiki helper for decoding shiki tokens and rendering to html. 2021-07-16 11:26:53 -07:00
Dillon Kearns
8c6fe166c0 Add a Timestamps helper. 2021-07-16 09:36:30 -07:00
Dillon Kearns
b252f29383 Add missing dependency in docs folder. 2021-07-15 09:03:48 -07:00
Dillon Kearns
b4bf20239e Normalize matched routes. 2021-07-14 19:44:55 -07:00
Dillon Kearns
937457fb52 Catch elm-optimize-level-2 errors and run elm make to display errors (since elm-optimize-level-2 doesn't have report option. 2021-07-14 19:03:50 -07:00
Dillon Kearns
c85a5e82f4 Capture elm compiler errors in order to log them cleanly without overlapping process logs. 2021-07-14 18:07:20 -07:00
Dillon Kearns
22c5fc968d Update error formatting. 2021-07-14 18:05:03 -07:00
Dillon Kearns
e0bb9e0757 Use Ansi.Color instead of custom color type. 2021-07-14 15:56:35 -07:00
Dillon Kearns
fb73faaf3b Remove extra log. 2021-07-14 15:56:22 -07:00