Lino Le Van and Marvin Hagemeister
e2a1bf8643
feat: move to Deno.serve ( #1427 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-07-12 14:37:53 +02:00
Marvin Hagemeister
16be99e69b
fix: change MultiHandler back to Handlers ( #1396 )
2023-07-03 09:57:46 +02:00
Reed von Redwitz
0db3a0911a
feat: pass middleware state in props ( #1264 )
2023-06-28 14:53:42 +02:00
Aushwin
851f8d60aa
refactor: changed Handlers type to MultiHandler ( #1360 )
2023-06-28 12:52:48 +00:00
Marvin Hagemeister
87b15885aa
feat(starter): add 404 page template ( #1336 )
2023-06-21 11:01:48 +02:00
EBIBO
9b98e13e29
fix: raise minimum deno version to 1.31.0 ( #1333 )
...
Fresh uses `Deno.Command` which is not available in older versions of Deno.
2023-06-21 07:27:18 +00:00
Naju Mancheril
a1d266f0d3
Invoke getTime() on the Date value and not on the date signal ( #1284 )
2023-06-15 15:01:08 +00:00
Marvin Hagemeister
69f4fecf5a
feat(server): make startup message easier to see ( #1273 )
2023-06-12 10:42:17 +02:00
Marvin Hagemeister
503bdc384f
feat(init): make directory argument optional ( #1263 )
2023-06-10 15:48:02 +02:00
Savin Angel-Mario and Asher Gomez
6e1874ccca
feat: use PORT environment variable to change port ( #468 )
...
This can be useful when deploying to other providers.
Also more convenient for projects with multiple developers with port
preferences
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-06-05 09:08:46 +02:00
duffn and Asher Gomez
65e6385bc4
docs: add _ prefix to unused requests params ( #1007 )
...
- add types to handlers in the Getting Started section to align with the
examples in the Concepts section
- prefix unused arguments with `_` as suggested by official VSCode
plugin linting.
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-06-05 15:01:53 +10:00
moonstripe and Asher Gomez
76ff7114cb
docs: fix example folder names to be deno-fresh-demo ( #582 )
...
Figured it'd make sense to be consistent.
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-06-05 14:43:37 +10:00
Asher Gomez and Luca Casonato
1b6678951a
feat: support embedded import map in deno.json ( #1188 )
...
One can now inline the `imports` and `scopes` from the import map directly into deno.json.
For new projects, `import_map.json` is not generated anymore.
Co-authored-by: Luca Casonato <hello@lcas.dev >
2023-06-03 10:46:40 +02:00
Asher Gomez
8fa4141e06
refactor: replace useState() with useSignal() ( #1234 )
2023-06-02 06:43:01 +10:00
Mike-Neto and Asher Gomez
5e4bd1c9b1
Update dynamic-routes docs test url ( #1127 )
...
the local server uses http, this link as it stands does't work
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-05-17 10:03:32 +10:00
Cem and Asher Gomez
114c4dbfab
dotenv option ( #740 )
...
added dotenv option to read environment variables files
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-05-17 09:48:39 +10:00
Sebastian Zelonka
8ff2831680
Update dynamic-routes.md ( #593 )
...
Update docs to match current file structure.
I'm using `fresh@1.0.2` and the boilerplate created have the dynamic
route directly into the root of `routes` folder.
2023-05-16 23:17:09 +10:00
ff9bb0f132
re-org Form docs ( #1104 )
...
- added `/concepts/forms`
- added 303 redirect in `POST` form submit code example
previous PR: https://github.com/denoland/fresh/pull/1040
---------
Co-authored-by: Matthew Morek <matthew.morek@gmail.com >
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com >
Co-authored-by: Séverin Dupouy <32488190+severindupouy@users.noreply.github.com >
Co-authored-by: hashrock <hashrock@users.noreply.github.com >
2023-04-11 09:56:55 -07:00
Luca Casonato
a54ffdcaf2
docs: update minimum version to 1.25.0
2022-09-08 11:53:38 +02:00
Luca Casonato
77142fe4a0
docs: remove JSX pragma everywhere
2022-09-08 11:53:38 +02:00
Yuki Tanaka
0449a4c73a
docs: mention kebab case naming for islands ( #572 )
2022-08-08 21:22:58 +00:00
Luca Casonato
ba20756c17
chore: update deps ( #561 )
...
Update std, esbuild, and preact.
2022-07-30 17:29:29 +02:00
angellk11
fdc6a7409d
docs: grammar fix ( #528 )
...
Changed "it's props" to "its props" to indicate possession instead of a contraction.
2022-07-30 15:10:59 +00:00
kku77
7524d00ccf
docs: fix minor typos ( #393 )
2022-07-04 13:47:48 +00:00
Tamal H
fcff570fc1
docs: improve grammar ( #362 )
2022-07-04 11:21:47 +00:00
umfy
1ac2166daa
docs: fix cleanup in adding interactivity example ( #333 )
...
The previous solution did not clear interval after the time has passed.
The "now" variable was not being updated in useEffect().
2022-07-04 10:56:14 +00:00
FloweDewolf and Luca Casonato
911c39aa4a
docs: clarify setup steps ( #329 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-07-04 10:30:46 +00:00
PyBaker
8d118a2d30
docs: fix some grammar errors ( #322 )
2022-06-29 18:50:22 +00:00
omar2205
6169b1d783
docs: add note about changing port or host ( #311 )
2022-06-29 18:31:12 +00:00
Pascual Soto Uribe
5633fbae58
docs: fix typo ( #305 )
2022-06-29 18:29:59 +00:00
Ryan Waskiewicz
4d6ddd5b21
docs: fix typos ( #303 )
2022-06-29 20:25:00 +02:00
Nathan Sharpe
ad8aa1cbca
docs: fix a few small typos ( #285 )
2022-06-26 11:34:25 +00:00
Luca Casonato
97238ef5ac
docs: use -r in setup command
2022-06-22 15:23:36 +02:00
Luca Casonato
871985a172
www: add redirect for init script ( #266 )
2022-06-21 15:08:41 +00:00
Luca Casonato
da340daeb2
BREAKING: move a bunch of types into server/ ( #263 )
...
Moved some server only types like `RouteConfig` into server/. They were
previously in runtime/.
2022-06-21 15:21:07 +02:00
Luca Casonato
de6c3f6ed5
chore: remove --no-check flags ( #259 )
...
Since Deno 1.23.0, `--no-check` has become the default type checking
mode for `deno run`. As such, we don't need to specify this flag
anymore.
2022-06-20 12:45:48 +02:00
Luca Casonato
cbbf616a74
chore: version preact explicitly in import map ( #258 )
...
This allows users to control the `preact` version independently of fresh
itself.
2022-06-20 12:37:24 +02:00
tanquar
b9e6385b35
docs: remove extraneous "is" ( #248 )
2022-06-20 11:44:56 +02:00
tanquar
61b71c6720
docs: grammatical correction, and remove unused import ( #249 )
2022-06-18 15:09:48 +00:00
Luca Casonato
84a4305eeb
docs: add link to --watch docs in getting started ( #244 )
2022-06-17 15:49:18 +02:00
Luca Casonato
836cc24bdd
feat: remove fresh cli, do manifest generation in process ( #223 )
...
This commit removes the `fresh` cli, replacing it with a small bootstrap script,
and JIT generation of the manifest that happens in process during development.
2022-06-14 09:39:38 +02:00
Michael Stillwell
ae37dc50a8
docs: architechture -> architecture typo ( #228 )
2022-06-13 23:51:37 +00:00
Horjea Cosmin
2ce7186ce5
docs: remove curly braces in import for Countdown ( #229 )
...
Since Countdown is a default export, putting curly braces here will raise an error
2022-06-13 23:49:52 +00:00
Evan Fleming
b7460fcbc1
docs: fix function name on dynamic routes page ( #215 )
2022-05-30 00:01:58 +02:00
3ff689d8f9
docs: fix some typos ( #211 )
...
Co-authored-by: hashrock <hashrock@users.noreply.github.com >
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-05-28 22:51:39 +02:00
Luca Casonato
80598d07fd
feat: use import maps instead of deps files ( #209 )
...
This commit updates fresh to use import maps instead of deps files in generated projects.
2022-05-23 19:35:15 +02:00
Luca Casonato
fd6724c050
chore: rename *_deps.ts -> deps.*.ts ( #206 )
...
As per David's suggestion.
2022-05-23 16:05:33 +02:00
Luca Casonato
2a2b948a58
docs: add descriptions to all pages ( #195 )
2022-05-17 02:19:32 +02:00
Luca Casonato
12a9839cf2
docs: add a link explaining pascal case
2022-04-23 20:53:07 +02:00
Yongwook Choi
49d2e54335
feat: add deno task config in fresh init bootstrapped projects ( #143 )
2022-04-23 15:16:31 +02:00