Commit Graph
682 Commits
Author SHA1 Message Date
Furkan Demir d601f4cef4 www: add middlware redirect section (#1615) 2023-08-10 19:26:00 +00:00
Marvin Hagemeister 7ebaf0404d feat: allow layout and _app overrides (#1611) 2023-08-09 16:35:53 +00:00
Reed von Redwitz 81ae7b8427 chore: add test for checking initialized project (#1606)
This is, I think, the natural followup to
https://github.com/denoland/fresh/pull/1539 and
https://github.com/denoland/fresh/pull/1454. Now that we have an easy
way to type check the initialized project, we should assert that there
are no type errors in that project.

This adds three seconds on my slow computer, but I think it's worth it;
releasing code with red squiggles or linting or formatting errors is a
bit silly.
2023-08-08 22:01:51 +02:00
Ondřej TučekandAsher Gomez 9b4f7a1ad0 www: rewriting "data fetching" code example (#1603)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-08 14:30:37 +02:00
Christian Svensson 7d4c751105 fix: add missing state property to interface (#1579) 2023-08-08 14:15:53 +02:00
Marvin HagemeisterandAsher Gomez 8325225a0d feat: support async layout functions (#1597)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-08 14:15:02 +02:00
Marvin HagemeisterandAsher Gomez 11077227b5 feat: support conditional island JSX children (#1355)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-08 11:35:28 +02:00
Marvin Hagemeister dff80d3a42 chore: remove console.log (#1605) 2023-08-08 01:19:11 +02:00
Marvin Hagemeister 97c6876bf7 feat: co-locate islands + non-route files (#1600) 2023-08-07 20:33:08 +02:00
Marvin Hagemeister d8211dad28 chore: speed up server component tests (#1596) 2023-08-07 14:49:07 +02:00
Reed von Redwitz a489aff190 feat(init): add check task to run all static analysis (#1454) 2023-08-07 14:39:53 +02:00
Reed von Redwitz 5d2c8b6b3c feat(server): support https (#1599) 2023-08-06 11:56:40 +00:00
Marvin Hagemeister e0bd5969e8 www: fix agolia being initialized twice (#1598) 2023-08-05 23:42:39 +02:00
Reed von Redwitz 1fb7f3bea9 fix(server): make LayoutProps generic (#1592) 2023-08-05 22:27:13 +02:00
Reed von Redwitz cc0e2cb2ec chore(server): simplify plugin route creation (#1594) 2023-08-05 21:58:15 +02:00
Reed von Redwitz 6d5428eeaa fix(update): update script actually supports comments in jsonc (#1591) 2023-08-04 15:22:08 +02:00
Reed von Redwitz 630f0a2322 fix(server): make AppProps generic (#1449) 2023-08-04 12:05:15 +02:00
Asher Gomez 76f0f4a84a chore: deno task ok (#1573) 2023-08-04 12:01:38 +02:00
Michael Herzner b68fb309d6 www: fix 404 on "Using Deno KV OAuth" example (#1588) 2023-08-04 12:00:46 +02:00
Asher Gomez 6a9dd4adb7 chore(CI): parallel tests (#1583)
Let's give this a few tries and see if we can weed out the root causes.
2023-08-03 09:46:57 +02:00
Asher Gomez 4849d1abb5 chore: format on save (#1584)
I feel as though this is a reasonable default to have. This eliminates
one more thing that a contributor must remember to do before submitting
a PR.
2023-08-03 07:45:08 +00:00
Asher Gomez 71fc1b8efc chore(CI): combine install Chrome jobs (#1557) 2023-08-02 14:07:02 +02:00
vrunt a66f7217da fix: typo boder-box to border-box (#1574) 2023-08-02 10:09:17 +02:00
Asher Gomez 62f5d3a492 chore(CI): remove redundant steps (#1569)
`deno task check:types` and `deno test -A` take care of everything.
2023-08-02 17:54:11 +10:00
Marvin Hagemeister e4d797ae4e feat: add support for route groups (#1563) 2023-08-02 09:51:20 +02:00
Asher Gomez 4b28e2e269 chore(CI): rework lighthouse action (#1570) 2023-08-02 09:49:53 +02:00
Asher Gomez 5e78224f49 chore(CI): fix and simplify caching (#1571) 2023-08-02 09:44:42 +02:00
Asher Gomez ecb718b6a7 chore(CI): make formatting same across platforms (#1575) 2023-08-02 09:43:28 +02:00
Marvin Hagemeister df5931e105 Revert: feat(server): add safety checks during dev (#1567) 2023-08-01 18:10:30 +02:00
ff00ff ba413c6412 showcase: add over-ip (#1554) 2023-08-01 17:18:22 +02:00
Marvin Hagemeister 813ee22574 chore: speed up layout tests (#1565) 2023-08-01 17:08:57 +02:00
Marvin Hagemeister d51ccdcf50 refactor: pre-sort all routes (#1562) 2023-08-01 13:06:35 +02:00
Marvin Hagemeister e2c9e9a2b0 chore: simplify route creation logic (#1561) 2023-08-01 13:02:58 +02:00
Reed von Redwitz 21c72abecc fix(server): merge competing PluginMiddleware handlers together (#1545) 2023-07-31 13:56:38 +00:00
Reed von Redwitz 80fece0d3c fix(ci): type error in dev_checks fixture (#1550) 2023-07-31 15:23:36 +02:00
Reed von Redwitz 1ad29e256b fix(server): Improve MiddlewareHandler type for plugins (#1534) 2023-07-31 11:50:29 +02:00
Reed von Redwitz 5fa6a67188 chore(ci): type check entire project in ci (#1538) 2023-07-31 11:49:27 +02:00
Michael HerznerandReed von Redwitz a7fe9d04f1 feat(server): add safety checks during dev (#1489)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
2023-07-31 11:48:26 +02:00
Savin Angel-Mario 430be774e2 showcase: update Paquet Showcase (#1546) 2023-07-30 14:52:53 +02:00
Marvin Hagemeister 75f5761ca4 www: fix broken canary update link (#1544) 2023-07-29 15:17:27 +02:00
Reed von Redwitz 5af441cde6 chore(init): remove blank line from _404 template (#1539) 2023-07-28 10:50:13 +02:00
Reed von Redwitz 6fc885ecc5 chore: clean up remaining type errors in project (#1537) 2023-07-28 10:45:45 +02:00
Reed von Redwitz 87d52e24dd fix(server): change RouteContext type parameter default to any (#1536) 2023-07-28 10:45:04 +02:00
Lino Le Van efbff06fca chore(ci): Add spell checking (#1527) 2023-07-26 13:31:39 +00:00
Lino Le Van 5ba19abe13 fix: typos (#1526) 2023-07-26 13:09:42 +00:00
Michael GearhardtandMarvin Hagemeister 1ed93cec88 feat: support route layouts via _layout.tsx (#1506)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-07-26 11:49:08 +02:00
Lino Le Van 18857ea052 fix(init): typo in flags parsing (#1525) 2023-07-26 08:47:40 +02:00
Will Bandwill berry f1922fb984 feat: add --docker option to Fresh init (#1520)
Co-authored-by: will berry <willberry@wills-MBP.attlocal.net>
2023-07-25 19:41:04 +02:00
Marvin Hagemeister 71c0434f46 fix: allow string based event handlers in SSR (#1515) 2023-07-25 15:32:58 +02:00
Marvin Hagemeister 5e7d954e7c www: fix docs returning 500 (#1523) 2023-07-25 14:06:21 +02:00