Commit Graph

3020 Commits

Author SHA1 Message Date
Dillon Kearns
7f2d47c6de Add serverless ApiRoute builder and some examples in pokedex app. 2021-12-21 07:47:47 -08:00
Dillon Kearns
5aed656279 Gitignore .idea folder. 2021-12-21 07:32:24 -08:00
Dillon Kearns
bc6a055e7b Gitignore folders generated from adapter. 2021-12-21 07:32:16 -08:00
Dillon Kearns
59fb56f8c6 Handle new data format in dev server. 2021-12-20 15:48:10 -08:00
Dillon Kearns
7acd5355dd Add example with server request daata source. 2021-12-20 15:47:56 -08:00
Dillon Kearns
b858556167 Update index page with links and SEO data. 2021-12-20 15:02:12 -08:00
Dillon Kearns
843ca0bacd Wire through headers, statusCode, and body from ServerResponse. Add redirect example. 2021-12-20 14:45:18 -08:00
Dillon Kearns
84096ec8dc Update adapter script to handle api-response's, but with some hardcoding for now. 2021-12-20 13:55:24 -08:00
Dillon Kearns
c79d76f473 Include kind in API routes to tell the rendering mode. Generate redirects for serverless API routes. 2021-12-20 13:35:34 -08:00
Dillon Kearns
b00882a53b Do cached build with npm run build. 2021-12-20 13:33:53 -08:00
Dillon Kearns
7eaa94a9e4 Include Pattern information for ApiRoutes. 2021-12-20 11:26:12 -08:00
Dillon Kearns
e63796032e Install elm-test-rs. 2021-12-20 11:03:42 -08:00
Dillon Kearns
fe4f1f4d65 Use ensureDir in adapter script to prevent errors for existing dir. 2021-12-18 11:23:12 -08:00
Dillon Kearns
06ace7822e Update elm-verify-examples package. 2021-12-18 11:22:55 -08:00
Dillon Kearns
78ed00637f Fix typo. 2021-12-17 11:18:22 -08:00
Dillon Kearns
9436cf0b6d Generate different renderer function for serverless and odb. 2021-12-17 11:14:29 -08:00
Dillon Kearns
b9f3ded983 Create server-render folder from adapter. 2021-12-16 20:37:32 -08:00
Dillon Kearns
07b5bfbe61 Change values in request to JSON. 2021-12-16 19:00:40 -08:00
Dillon Kearns
99fbfda6c0 Use --debug flag in build for now. 2021-12-16 12:09:22 -08:00
Dillon Kearns
35c5be1ee0 Transform AWS event payload into event for DataSource.ServerRequest JSON. 2021-12-16 12:05:59 -08:00
Dillon Kearns
a9ebd8559a Include redirects for content.json. 2021-12-16 12:05:18 -08:00
Dillon Kearns
9769e7a95c Pass through request from NodeJS and update the ServerRequest API. 2021-12-15 20:10:54 -08:00
Dillon Kearns
3960da425c Fix typo. 2021-12-15 15:48:16 -08:00
Dillon Kearns
a0f34bfa19 Fix typo. 2021-12-15 15:44:48 -08:00
Dillon Kearns
7a57c331bc Use route-patterns.json to generate _redirects file. 2021-12-15 15:39:35 -08:00
Dillon Kearns
df321d429d Fix typo. 2021-12-15 12:41:53 -08:00
Dillon Kearns
4da2ab9209 Reset in-memory filesystem on each render request. 2021-12-15 12:39:15 -08:00
Dillon Kearns
bff850fcc4 Update SEO data. 2021-12-15 12:35:50 -08:00
Dillon Kearns
dca81657ee Try in-memory fs. 2021-12-15 12:22:25 -08:00
Dillon Kearns
6b7cd1419f Use relative dir. 2021-12-15 10:42:50 -08:00
Dillon Kearns
cd026a8a67 Create http cache directory in serverless function. 2021-12-15 10:02:32 -08:00
Dillon Kearns
bc4b32d259 Update package-lock. 2021-12-15 09:52:56 -08:00
Dillon Kearns
df5817626b Update render script. 2021-12-15 09:47:48 -08:00
Dillon Kearns
c113fd8008 Temp - comment out line to see what serverless function does. 2021-12-15 09:32:24 -08:00
Dillon Kearns
dacba7358e Update pokedex example. 2021-12-15 09:26:23 -08:00
Dillon Kearns
b2f514d0b0
Merge pull request #262 from dillonkearns/elm-debug-flag
Add --debug flag for elm-pages dev
2021-12-15 08:58:36 -08:00
Dillon Kearns
ff22d58bf3 Add --debug flag for elm-pages dev (default is now with no --debug like in elm make). 2021-12-14 15:38:20 -08:00
Dillon Kearns
9455a6fc3e
Merge pull request #261 from dillonkearns/remove-obsolete-file-from-dist
Remove obsolete script from dist folder (it is now inlined as a <script>)
2021-12-14 14:09:18 -08:00
Dillon Kearns
a5910cc672 If elm-review doesn't catch any implicit contract errors, show the raw TemplateModulesBeta.elm Elm compiler error. 2021-12-14 14:06:08 -08:00
Dillon Kearns
1d459071cf Remove obsolete script from dist folder (it is now inlined as a <script> in the HTML). Fixes #219. 2021-12-11 15:06:29 -08:00
Dillon Kearns
d51b9f0cc1
Merge pull request #260 from dillonkearns/move-internals-outside-package
Move internals outside package
2021-12-11 15:05:31 -08:00
Dillon Kearns
6327087998 Add symlink to Internal folder so unit tests can depend on copied internal code files in generated folder. 2021-12-11 12:20:08 -08:00
Dillon Kearns
fd04b17e75
Merge pull request #259 from dillonkearns/page-builder-refinements
Refine Page Builder API
2021-12-11 12:09:06 -08:00
Dillon Kearns
446525294c Remove none option from elm-pages add. 2021-12-11 12:01:47 -08:00
Dillon Kearns
86eeb4cef9 Move internal-only modules outside of Elm package and into generated code folders. 2021-12-11 11:42:35 -08:00
Dillon Kearns
00e8fd82bd Ensure that copy elm.json happens before starting elm-pages docs server. 2021-12-11 11:34:41 -08:00
Dillon Kearns
d5de1137e5 Fix typo in docs. 2021-12-10 16:11:56 -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
6583738ab2 Change font to avoid system-ui. 2021-12-10 15:38:04 -08:00
Dillon Kearns
b18ff938ca Update font. 2021-12-10 15:28:09 -08:00