Commit Graph
322 Commits
Author SHA1 Message Date
Marvin Hagemeister daf8ca19d2 chore: fix twind test (#2100) 2023-11-30 13:18:19 +01:00
Reed von RedwitzandMarvin Hagemeister 9ab8651018 feat(server): Add basePath config to host from a directory (#2092)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-29 16:44:25 +00:00
Marvin Hagemeister fe792455ab fix: add missing -h/--help to init (#2096) 2023-11-29 16:57:39 +01:00
Marvin Hagemeister a0ede4fe67 fix: incorrect path matching in tailwind plugin (#2094) 2023-11-29 16:37:54 +01:00
Reed von RedwitzandMarvin Hagemeister ad33501692 chore: remove $fresh from import statements (#2079)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-28 16:43:50 +00:00
Reed von RedwitzandMarvin Hagemeister b902205feb chore: bump std to 208 and deal with deprecations (#2081)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-28 16:35:26 +00:00
Marvin Hagemeister 325850719a feat: reduce number of island bundles (#2082) 2023-11-28 17:23:27 +01:00
Marvin Hagemeister 9ee6ab72e0 fix: show original error page in dev (#2074) 2023-11-28 11:58:50 +01:00
Marvin Hagemeister a56ea283c8 fix: Partials not working on error pages (#2072) 2023-11-27 16:56:46 +01:00
Marvin Hagemeister 1294d455bc fix: client script source map returning 404 (#2071) 2023-11-27 16:10:36 +01:00
Marvin Hagemeister 9d5e916e4c fix: invalid identifier in manifest (#2070) 2023-11-27 11:20:40 +01:00
Reed von Redwitz 72edafde46 feat(server): plugins can create islands (#1472) 2023-11-22 11:19:13 +01:00
Reed von Redwitz ad2341dada chore: switch init to use tailwind (#2061) 2023-11-22 11:17:42 +01:00
Marvin Hagemeister bb035ae8da docs: port over to TailwindCSS (#2058) 2023-11-22 11:12:21 +01:00
Marvin Hagemeister f105f19005 fix: tailwind don't magically add content regex (#2060) 2023-11-21 20:59:02 +01:00
Marvin Hagemeister 1f8f9b7ec7 feat: minify tailwind css in prod + other enhancements (#2059) 2023-11-21 18:57:24 +01:00
Marvin Hagemeister 93e4b7e9b7 feat: add native TailwindCSS plugin (#2056) 2023-11-21 17:22:18 +01:00
Marvin Hagemeister daf15aee6f feat: add plugin configResolved (#2055) 2023-11-21 15:39:17 +01:00
Marvin Hagemeister 27adeb7b14 fix: redirects with partials (#2053) 2023-11-21 11:35:08 +01:00
Marvin Hagemeister 7578e50ee3 docs: fix regression in navigation (#2047) 2023-11-16 10:38:13 +01:00
Craig Doremus b5816cd001 feat(tests): add fresh-testing-library tests (#1990) 2023-11-15 18:25:13 +01:00
Marvin Hagemeister 6618ac6b6b chore: update Preact (#2038) 2023-11-15 11:12:58 +01:00
Marvin Hagemeister 0961e775db feat: add support for jsx precompile (#2035) 2023-11-13 12:06:55 +01:00
Marvin HagemeisterandAdam Gregory 7ff2781fcd feat: allow plugins to modify HTML body (#2022)
Based on https://github.com/denoland/fresh/pull/1769 . Mostly added a
test.

---------

Co-authored-by: Adam Gregory <adam@aguilaengineering.com>
2023-11-10 13:59:41 +01:00
Adam Gregory 14cecc0a6f Allow plugin render hooks to add link tags to the page (#1963)
Adds an extra optional property to plugin render results to allow
plugins to add `<link>` tags to the page.
2023-11-08 23:51:14 +01:00
Reed von RedwitzandMarvin Hagemeister 536463775c feat(dev): reduce manifest merge conflict potential (#2020)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-08 09:59:27 +01:00
Marvin Hagemeister c172af67cf fix: twind styles not updated on partial nav (#2017) 2023-11-06 14:04:43 +01:00
Reed von Redwitz 8b846816a6 fix(server): support non-function exports from island files (#1986) 2023-11-06 11:55:16 +01:00
Marvin Hagemeister 33cc4c7866 fix: head text nodes rendered into body (#2015) 2023-11-06 11:45:33 +01:00
Marvin Hagemeister 4759b21be8 fix: serve static file with parens (#2013) 2023-11-06 09:22:54 +01:00
Adam GregoryandMarvin Hagemeister 264f3073bd Support AOT-built static assets (#1999)
Creates a static folder under `config.build.outDir` during AOT build.
Serves any static files that are found there.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-04 14:01:21 +01:00
Reed von Redwitz da90d92ebd chore: bump deps (#2000) 2023-11-03 16:52:54 +01:00
Reed von Redwitz f39e0d4218 feat(server): throwing Deno.errors.NotFound triggers 404 (#1984) 2023-10-30 18:00:57 +01:00
Reed von Redwitz 781247b180 chore: explicitly version rts in deps.ts (#1684) 2023-10-30 17:59:22 +01:00
Reed von Redwitz f5dd55443b feat: middleware can call renderNotFound (#1975) 2023-10-27 23:34:49 +02:00
Reed von Redwitz 63ac1e6362 feat(server): add isPartial to context types (#1977) 2023-10-26 22:26:36 +02:00
Marvin Hagemeister cbd5b842b0 feat: pass resolved config to plugin.buildStart() (#1961) 2023-10-19 17:25:16 +02:00
Marvin Hagemeister 7896005329 fix: error on duplicate partial name (#1958) 2023-10-18 20:04:37 +02:00
Tiago Gimenes 84ff79beca feat: Nested partials support (#1955) 2023-10-18 18:26:46 +02:00
Marvin Hagemeister b984da9113 fix: browser not reloaded when no island present (#1956) 2023-10-18 11:16:51 +02:00
Marvin Hagemeister bfabb2ec98 feat: add support for partials on forms (#1930) 2023-10-16 22:45:11 +02:00
Christian Svensson 206d5002d6 fix: add error-handler type to manifest (#1933) 2023-10-16 07:45:34 +02:00
Marvin Hagemeister 86a96eeee4 fix: switch to websockets for development server (#1943) 2023-10-16 07:44:27 +02:00
Marvin Hagemeister 0192316785 fix: unable to opt out of nested client nav (#1940) 2023-10-15 08:41:13 +02:00
Marvin Hagemeister bb8921ac85 fix: ctx.render headers not working (#1927) 2023-10-12 23:30:18 +02:00
Marvin Hagemeister 7d954584a6 fix: island marker parsed as key marker (#1922) 2023-10-12 13:40:23 +02:00
Marvin Hagemeister 78b0b05fc3 fix: make active + ancestor links accessible (#1915) 2023-10-11 17:29:07 +02:00
Marvin Hagemeister a1f0d4a5bd fix: don't scroll on fragment links in partials (#1906) 2023-10-11 10:30:31 +02:00
Asher Gomez 6ddef91d95 refactor: replace references of options with config (#1903) 2023-10-11 09:25:03 +02:00
Asher Gomez d5659a41ac fix: flaky doesn't leak data across renderers test (#1901)
Using `createHandler()` is simpler than starting a server and fetching a
page. `createHandler()` avoids unnecessary network requests, which can
be flaky when you only need to analyse parts of the returned request. I
think we should push for more use of `createHandler()` and only start a
server as a last resort.

This closes #1896, or rather the particular test mentioned there, but
other tests involving TCP connections can still occur. Again, their
remedy is to use `createHandler()` instead of starting a server.
2023-10-11 10:04:33 +11:00