Asher Gomez
99eb5435bb
refactor: use --env CLI arg ( #2204 )
...
This change replaces the use of the Standard Library's `dotenv.load()`
with the native `--env` CLI flag.
The benefits include:
* One less dependency
* More obvious consumption of the `.env` file in the CLI output
2023-12-29 10:47:15 +01:00
Josh Simmons
1016e7f9a1
docs: fix deprecated type usage in example code ( #2203 )
...
Fixes deprecated example in docs.
<img width="760" alt="image"
src="https://github.com/denoland/fresh/assets/6600962/1e239f0f-0798-4ca0-b84d-d4266b6dfc31 ">
2023-12-28 22:24:38 +00:00
Ian James
a8a43ff0d4
docs: fix typo in active links introduction ( #2192 )
...
Fixes an "<a>" in the active link markdown from being interpreted as an
actual link, rather than part of the text.
Before:

Before with rogue anchor element in hover state:

After:

2023-12-22 12:54:16 +00:00
iain maitland
7af80da802
docs: add missing import ( #2183 )
...
fix undefined var error.
2023-12-18 21:45:31 +01:00
iain maitland
8d321b6049
docs: fix typo in upload example ( #2182 )
2023-12-18 18:12:10 +01:00
Marvin Hagemeister
74481007f3
docs: Move aot step in tailwind guide to start ( #2176 )
2023-12-15 16:42:42 +01:00
Arno Klein and Marvin Hagemeister
78061e9198
docs: fix link to data-fetching ( #2162 )
...
Just a fixed link
---------
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-12-11 08:48:39 +00:00
Casey Ydenberg and Marvin Hagemeister
25afcae943
docs: Merge data fetching pages ( #1974 ) ( #2107 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-12-07 10:50:50 +01:00
Marvin Hagemeister
993f1020b6
docs: add note for aria + data with Tailwind CSS ( #2137 )
...
Fixes https://github.com/denoland/fresh/issues/2123
2023-12-04 12:31:52 +01:00
迷渡 and Marvin Hagemeister
87d1f2356a
chore: Use satisfies instead of as ( #2136 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-12-04 11:38:52 +01:00
Christos Hrousis
f3578f863f
docs: Remove references to deprecated types ( #2125 )
...
As per the [1.6
release](https://deno.com/blog/fresh-1.6#simplified-typings ), and
commentary by @csvn
[here](https://github.com/denoland/fresh/issues/2108#issuecomment-1836625789 ),
this PR aims to replace the references to deprecated typing in the
documentation.
Please see inline commentary for parts I'm unclear on.
2023-12-02 11:14:37 +00:00
Marvin Hagemeister
dace008611
chore: release 1.6.0 ( #2113 )
2023-12-01 16:20:40 +01:00
Marvin Hagemeister
bd372b9535
fix: errors in plugin fixture + improve island docs ( #2109 )
2023-12-01 12:21:10 +01:00
Guilherme Miyake and Marvin Hagemeister
1501699988
docs/examples: Client side components and libraries ( #2089 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-30 14:22:11 +01:00
Reed von Redwitz and Marvin 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
d62d22a4fc
docs: fix link ( #2087 )
2023-11-28 22:50:48 +01:00
Marvin Hagemeister
e99804ac01
docs: update deno version ( #2086 )
2023-11-28 18:35:26 +01:00
Reed von Redwitz
6a90fdbf1b
docs: switch to aria-current in active links page ( #2019 )
2023-11-28 17:32:48 +01:00
Marvin Hagemeister
79fd85ef93
docs: Add migrating to Tailwind CSS page ( #2077 )
2023-11-28 13:39:05 +01:00
Casey Ydenberg
81e71adad6
docs: Add file upload example (Concepts/Forms) ( #2064 ) ( #2065 )
2023-11-24 23:50:50 +01:00
Reed von Redwitz
72edafde46
feat(server): plugins can create islands ( #1472 )
2023-11-22 11:19:13 +01:00
Harsh Mangalam
5d690bede1
docs: fix get params from ctx instead of props ( #2040 )
2023-11-15 14:32:57 +01:00
Marvin Hagemeister and Adam 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 Redwitz
687d41d6d5
docs: update active link page to clarify twindv1 plugin usage ( #2004 )
2023-11-06 14:08:53 +01:00
Harsh Mangalam
c4897ecb65
docs:fix tss to tsx ( #2009 )
...
fixed #2008
2023-11-05 18:59:53 +01:00
Adam Gregory and Marvin 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
d655386617
docs: update writing tests page to discuss options ( #1994 )
2023-11-03 16:53:36 +01:00
Reed von Redwitz
7a2e5916c6
docs: update server configuration page ( #1998 )
2023-11-02 11:03:10 +01:00
Reed von Redwitz
ded71a934f
docs: add jsdoc for IS_BROWSER ( #1991 )
2023-10-31 18:49:18 +01:00
Reed von Redwitz
4042d47346
docs: update using twindv1 page ( #1982 )
2023-10-30 18:01:27 +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
533139afbf
docs: update init the server to account for build step ( #1988 )
2023-10-30 17:58:02 +01:00
Marvin Hagemeister
2fc212cc04
docs: fix missing extension ( #1962 )
2023-10-19 17:28:44 +02:00
rabex
3ad39dbf40
docs: file extension spelling correction ( #1951 )
2023-10-17 17:26:11 +02:00
Marvin Hagemeister
a7d3fbf8d9
docs: update partials file path ( #1929 )
2023-10-13 00:52:07 +02:00
Marvin Hagemeister
73aaf84fad
chore: Remove deno_kv_auth plugin ( #1910 )
2023-10-11 15:14:14 +02:00
Marvin Hagemeister
c1c6d325c5
docs: partials update formatting ( #1905 )
2023-10-11 09:28:49 +02:00
Asher Gomez
6ddef91d95
refactor: replace references of options with config ( #1903 )
2023-10-11 09:25:03 +02:00
Asher Gomez
6ce39b8cee
refactor: use manifest variable name ( #1902 )
...
Previously, the `routes` variable name was used. This change makes more
sense as the variable has the `Manifest` type.
2023-10-11 10:03:08 +11:00
Marvin Hagemeister
fe2c95cc25
chore: release 1.5.0 ( #1899 )
2023-10-10 18:08:44 +02:00
Marvin Hagemeister
01e5f71058
docs: improve admonition styles ( #1880 )
2023-10-06 22:56:11 +02:00
Marvin Hagemeister
21fcf6169b
docs: add partials documentation ( #1878 )
2023-10-06 22:55:54 +02:00
Marvin Hagemeister
ab30592d5e
docs: add styling links example page ( #1879 )
2023-10-06 22:53:52 +02:00
Marvin Hagemeister
e9717ed911
fix: meta charSet -> charset ( #1875 )
2023-10-06 15:59:13 +02:00
Marvin Hagemeister
7737c60e51
docs: fix code snippet formatting ( #1866 )
2023-10-05 12:32:00 +02:00
Asher Gomez
88985fe933
chore: update Deno KV OAuth plugin and docs ( #1826 )
...
These changes aim to improve the clarity and understandability of the
Deno KV OAuth plugin. It also updates to use the latest version of the
module.
2023-09-28 08:05:53 +00:00
Marvin Hagemeister
f8fb61e943
feat: ask for project arg if missing on update ( #1821 )
2023-09-26 20:48:47 +02:00
Marvin Hagemeister
567df19f3d
feat: de-duplicate <Head> children by key ( #1793 )
2023-09-18 22:06:56 +02:00