Commit Graph

2101 Commits

Author SHA1 Message Date
Dillon Kearns
25d0b44b6c Add type definitions for serve-static. 2021-05-04 09:46:49 -07:00
Dillon Kearns
9139321601 Remove some unused code. 2021-05-03 11:26:01 -07:00
Dillon Kearns
bbb334d487 Add some helpers for running matchers. 2021-05-03 11:24:22 -07:00
Dillon Kearns
2c695ce165 Rename functions. 2021-04-30 20:19:39 -07:00
Dillon Kearns
ccbab4f685 Inline two values in test. 2021-04-30 17:04:34 -07:00
Dillon Kearns
3973f982b2 Use list for test examples. 2021-04-30 17:03:57 -07:00
Dillon Kearns
429a8ae4c1 List of routes, not single route, for Api routes. 2021-04-30 17:02:15 -07:00
Dillon Kearns
6e6f09cabc Restore matcher tests. 2021-04-30 16:03:47 -07:00
Dillon Kearns
d95ccebc60 Handle variabl length params for api route codec. 2021-04-30 16:01:18 -07:00
Dillon Kearns
357e49548b New experiment for Api routes prototype. 2021-04-30 13:54:03 -07:00
Dillon Kearns
f6963d3087 Move API handler into a module. 2021-04-30 08:42:07 -07:00
Dillon Kearns
b97df0b6cc Inline value. 2021-04-29 20:25:01 -07:00
Dillon Kearns
f0d64e59f0 Restore route matching tests. 2021-04-29 16:42:13 -07:00
Dillon Kearns
e936ebc71d Change to list of api routes. 2021-04-29 16:40:58 -07:00
Dillon Kearns
ff03bbf075 Remove hardcoded value. 2021-04-29 16:36:05 -07:00
Dillon Kearns
bc1ac1fecd Got prototype working with reversible route. 2021-04-29 15:31:13 -07:00
Dillon Kearns
68af88cfeb Update prototype. 2021-04-29 14:21:38 -07:00
Dillon Kearns
4e258bc983 Prototype for two-way api route codec. 2021-04-29 13:31:40 -07:00
Dillon Kearns
f790eee0fe Add slash handler. 2021-04-29 11:19:43 -07:00
Dillon Kearns
e6050aec5c Add test case for api route with extension. 2021-04-29 11:15:28 -07:00
Dillon Kearns
76093b6d26 Add a starting prototype for an API router. 2021-04-29 11:00:25 -07:00
Dillon Kearns
b733dd9dc5 Try absolute path on netlify. 2021-04-29 07:33:55 -07:00
Dillon Kearns
c7d934ddb3 Pre-render serverless pages depending on IncludeHtml. 2021-04-29 07:27:50 -07:00
Dillon Kearns
4ddf97bb91 Render time with a netlify function. 2021-04-29 07:27:19 -07:00
Dillon Kearns
df1d623f5a Update Glob name in elm.json exposed modules. 2021-04-28 14:07:32 -07:00
Dillon Kearns
17553550b4 Put Glob under DataSource namespace. 2021-04-28 14:05:08 -07:00
Dillon Kearns
4673565123 Handle index special case in new routeToPath. 2021-04-28 13:42:47 -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
648aa3d2b6 Run build script before running router tests. 2021-04-28 13:27:53 -07:00
Dillon Kearns
cbbd1a5e9d Run routing test suites in test script. 2021-04-28 13:25:09 -07:00
Dillon Kearns
709d11ef6b Fuzz cat name in route test. 2021-04-28 13:04:20 -07:00
Dillon Kearns
a0af3dba38 Remove log statements. 2021-04-28 12:57:50 -07:00
Dillon Kearns
eeea9aff05 Sort routes. 2021-04-28 12:57:16 -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
Dillon Kearns
da62ada1b9 Fix optional routing regex. 2021-04-28 08:28:31 -07:00
Dillon Kearns
80ffd029eb Use new custom router. 2021-04-27 16:53:20 -07:00
Dillon Kearns
ab87bc049a Handle precedence in routing example. 2021-04-27 10:14:03 -07:00
Dillon Kearns
9e1f3b7b73 Add test case for new router prototype. 2021-04-27 08:35:07 -07:00
Dillon Kearns
5d8caf5d18 Update scaffold command. 2021-04-26 14:24:56 -07:00
Dillon Kearns
d8181ebe3f Escape regex values. 2021-04-26 14:05:06 -07:00
Dillon Kearns
dff859ce08 Simplify handleRoute and remove Maybe wrapper. 2021-04-26 10:11:16 -07:00
Dillon Kearns
eb4f375f16 Update render function. 2021-04-25 21:06:16 -07:00
Dillon Kearns
94d12ce084 Remove unused require. 2021-04-25 20:47:27 -07:00
Dillon Kearns
597c6df357 Remove now obsolete captures data in Glob DataSource. 2021-04-25 20:45:17 -07:00
Dillon Kearns
b245d7dc98 Remove obsolete captures list (now derived from running regex). 2021-04-25 20:38:48 -07:00
Dillon Kearns
c7984cccfd Remove unused dependency. 2021-04-25 20:36:21 -07:00
Dillon Kearns
954ebdec63 Remove experimental test. 2021-04-25 20:35:09 -07:00