Commit Graph

127 Commits

Author SHA1 Message Date
Dillon Kearns
3943ed66d9 Install latest mocha. 2022-08-01 10:34:51 +02:00
Dillon Kearns
078a95b5b8 Use clean diff for escaping test. 2022-07-09 08:23:58 -07:00
Dillon Kearns
7fe196d2e9 Fix lamdera error with unserializable Data in example. 2022-06-30 13:18:56 -07:00
Dillon Kearns
325004f3fc Try removing symlink. 2022-06-30 11:56:13 -07:00
Dillon Kearns
d4447bfe16 Try global elm-format install to fix CI error. 2022-06-30 10:44:39 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
089db1378e Update examples. 2022-04-05 08:28:56 -07:00
Dillon Kearns
706ead2dc1 Update some test examples. 2022-04-04 16:22:45 -07:00
Dillon Kearns
339d54a9e9 Update examples to use ErrorPage, and add to NoContractViolations. 2022-03-29 15:32:43 -07:00
Dillon Kearns
9e498ca93b Update examples. 2022-03-25 09:03:22 -07:00
Dillon Kearns
c6a5096357 Remove extra complexity of markdown parsing in routing test. 2022-03-09 11:18:23 -08:00
Dillon Kearns
3c4bcac4f4 Remove unused dependencies. 2022-03-09 11:10:00 -08:00
Dillon Kearns
41fd2bf645 Update dependencies. 2022-03-09 10:57:47 -08:00
Dillon Kearns
ef89edf54b Update esbuild. 2022-03-09 10:55:16 -08:00
Dillon Kearns
e35b8b6516 Update cypress. 2022-03-09 10:54:36 -08:00
Dillon Kearns
38c31745d6 Update commander. 2022-03-09 10:53:58 -08:00
Dillon Kearns
b3d0d8667a Update vite. 2022-03-09 10:53:32 -08:00
Dillon Kearns
aa98e1b914 Update test projects. 2022-03-09 10:33:33 -08:00
Dillon Kearns
f16a30320d Rename Page.elm -> RouteBuilder.elm. 2022-03-05 09:50:01 -08:00
Dillon Kearns
4fedf9ee19 Rename prerender -> preRender. 2021-12-23 13:34:19 -08:00
Dillon Kearns
010cfb9c2a Rename routes to pages. Routes are the category of page, pages are the specific things to pre-render for a given route, so this terminology is more consistent and clear. 2021-12-10 16:03:07 -08:00
Dillon Kearns
d675b2c13f Change syntax for constructor function to avoid constructor error. 2021-12-10 10:50:27 -08:00
Dillon Kearns
d752866d4e Use empty records instead of empty tuples for stateless Page Module's Model. Tweak Page builder API. Add option for local and shared state in generators. 2021-12-10 09:52:12 -08:00
Dillon Kearns
43a6399827 Update test output. 2021-12-02 11:56:57 -08:00
Dillon Kearns
41672ad574 Update test output. 2021-12-01 14:32:22 -08:00
Dillon Kearns
9cf98f1177 Update references to Template Modules in docs to new term Page Module. 2021-10-13 11:08:56 -07:00
Dillon Kearns
cc4debb947 Install virtual-dom dependency in projects. 2021-10-07 11:58:15 -07:00
Dillon Kearns
01dfc4b157 Update package version. 2021-08-27 11:41:30 -07:00
Dillon Kearns
cedfa7db4a Update deps. 2021-08-25 17:54:05 -07:00
Dillon Kearns
6e0fe973eb Bump version in test output. 2021-08-25 11:12:26 -07:00
Dillon Kearns
560c67f365 Use elmi-to-json --version to make sure it is installed before running elm-test. 2021-08-25 10:02:24 -07:00
Dillon Kearns
fbc15bdcd1 Update package-lock.json 2021-08-25 09:49:37 -07:00
Dillon Kearns
15f190072a Update escaping test. 2021-08-17 18:38:26 -07:00
Dillon Kearns
8ceeb4a30d Update end-to-end test output. 2021-08-15 12:07:32 -07:00
Dillon Kearns
bbe33d4b52 Update examples and tests. 2021-08-01 10:25:38 -07:00
Dillon Kearns
b78f8c008b Rename types in ApiRoute module. 2021-07-30 15:35:11 -07:00
Dillon Kearns
979fa5ce4c Stop using serverless route in example temporarily. 2021-07-29 14:17:32 -07:00
Dillon Kearns
526f1b1256 Update example. 2021-07-29 09:48:25 -07:00
Dillon Kearns
6762719367 Add missing dependencies in example. 2021-07-21 12:08:12 -07:00
Dillon Kearns
e6c2031737 Rename Page builder functions. 2021-06-24 10:05:16 -07:00
Dillon Kearns
66a38e11b7 Update example with dependencies. 2021-06-18 11:01:23 -07:00
Dillon Kearns
c2599426bc Bump elm-review CLI. 2021-06-18 09:02:11 -07:00
Dillon Kearns
b0a1737497 Update package-lock. 2021-06-08 09:54:21 -07:00
Dillon Kearns
24da7cdbf5 Update dependency. 2021-06-03 18:50:52 -07:00
Dillon Kearns
fb193dd8cb Remove unused dependencies. 2021-06-03 16:12:00 -07:00
Dillon Kearns
d55823a217 Update example. 2021-06-01 09:29:12 -07:00
Dillon Kearns
84933cfd69 Update docs and rename File.request -> File.read. 2021-05-28 14:00:51 -07:00
Dillon Kearns
86c3dac0fa Move generated browser-elm.js to an already ignored path. 2021-05-24 12:23:01 -07:00
Dillon Kearns
1fc19583a2 Update example. 2021-05-24 12:09:57 -07:00
Dillon Kearns
3059310ef8 Update some dependencies. 2021-05-23 16:00:36 -07:00
Dillon Kearns
04ee10c17a Remove ImagePath module. 2021-05-23 15:16:54 -07:00
Dillon Kearns
33ccb1c97d Remove remaining references to ImagePath. 2021-05-23 15:15:40 -07:00
Dillon Kearns
51066fbe80 Fix types in routing example. 2021-05-23 11:03:54 -07:00
Dillon Kearns
a2bd42f617 Use Path instead of PagePath in Manifest API. 2021-05-23 10:53:01 -07:00
Dillon Kearns
366ca7ab80 Generate routeToPath without Maybe. 2021-05-23 10:20:09 -07:00
Dillon Kearns
d908d8d01c Rename Document -> View. 2021-05-23 09:00:20 -07:00
Dillon Kearns
2d69c67dec Pass in DataSource with all routes to API Routes for use in generating files like Sitemap. 2021-05-22 18:56:16 -07:00
Dillon Kearns
50c4c6d682 Vendor elm-html-in-elm in preparation for fixing text node HTML escaping. 2021-05-21 09:20:54 -07:00
Dillon Kearns
bd4a9de2c4 Add missing parameter in example repo. 2021-05-19 07:59:39 -07:00
Dillon Kearns
fff155bc21 Generate files in .elm-pages instead of gen. Fixes #165. 2021-05-18 11:04:56 -07:00
Dillon Kearns
1aa737c431 Rename static/ -> public/. 2021-05-18 10:44:30 -07:00
Dillon Kearns
b33079eb71 Update examples. 2021-05-17 13:22:37 -07:00
Dillon Kearns
82e0d34afd Add flags. 2021-05-17 12:51:04 -07:00
Dillon Kearns
d3c14ef976 Fix renamed field in example. 2021-05-16 10:18:48 -07:00
Dillon Kearns
62a7399074 Move SiteConfig to copied files. 2021-05-15 20:38:29 -07:00
Dillon Kearns
62675b6a16 Move SharedTemplate to copied gen folder. 2021-05-15 20:07:11 -07:00
Dillon Kearns
8686b56943 Pass in htmlToString function to API Routes. 2021-05-08 14:52:56 -07:00
Dillon Kearns
b0ac40cb2e Remove obsolete jest test suite. 2021-05-08 08:18:32 -07:00
Dillon Kearns
1fc0635646 Update routing apiRoutes structure. 2021-05-07 10:51:29 -07:00
Dillon Kearns
b16f32c1fa Rename field. 2021-05-06 07:16:05 -07:00
Dillon Kearns
4d175558ce Remove obsolete generateFiles. 2021-05-06 07:14:49 -07:00
Dillon Kearns
da4482f0f2 Run npm install in test script to make sure it has elm-pages setup. 2021-04-28 13:30:44 -07:00
Dillon Kearns
709d11ef6b Fuzz cat name in route test. 2021-04-28 13:04:20 -07:00
Dillon Kearns
a58dfd3a90 Handle optional splat routers. 2021-04-28 11:55:54 -07:00
Dillon Kearns
f2a212fc60 Handle splat routes. 2021-04-28 10:49:00 -07:00
Dillon Kearns
a0b12d16fd Remove unused function. 2021-04-28 08:35:31 -07:00
Dillon Kearns
5365e4b7dd Add route example with unit test. 2021-04-28 08:28:56 -07:00