Commit Graph
235 Commits
Author SHA1 Message Date
Luca Casonato 03aa58df87 fix: prevent folks messing with the fresh manifest (#435)
I am looking at you James.
2022-07-05 19:35:03 +00:00
Darius I. Karel 86daf73d47 fix: display real value for the directory to cd to after init (#415) 2022-07-05 13:35:44 +02:00
Luca Casonato ae9b8aa6b3 1.0.1 2022-07-04 17:28:22 +02:00
Luca Casonato 87da68b8a7 chore: update preact + twind (#410) 2022-07-04 15:25:32 +00:00
Luca Casonato e0e669ef3d tests: fix hanging tests locally (#408)
Also add a test for --vscode for the init script.
2022-07-04 15:16:49 +00:00
Luca Casonato aab8ceb78b fix: layered middleware not working for index page (#407)
This commit fixes layered middleware not being invoked for the the index
page of the layer.

For example: routes/api/_middleware.ts was not being invoked for /api,
only /api/foobar
2022-07-04 15:13:49 +00:00
kku77 7524d00ccf docs: fix minor typos (#393) 2022-07-04 13:47:48 +00:00
Kazuma Ohashi ace9b47a71 chore: fix typo in source code (#365) 2022-07-04 13:42:30 +00:00
Carter Snook 1cb21f7b89 docs: fix incorrect runtime imports (#375) 2022-07-04 15:40:26 +02:00
Steven YungandLuca Casonato b09e033c8e feat: add vscode files on init (#367)
Ask the user if they use VS Code, and if so add the `.vscode/` files.

Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-04 13:17:09 +00:00
Cecil New dcdbd85e3e docs: fix example code in concepts/routes.md (#357) 2022-07-04 11:27:25 +00:00
Tamal H fcff570fc1 docs: improve grammar (#362) 2022-07-04 11:21:47 +00:00
Jevtić NenadandLuca Casonato 9e75a5c065 chore: update README (#346)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-04 11:14:46 +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
cbbcdc7d93 fix: update README.md and init.ts to match the docs (#334)
The setup steps presented between them slightly differed.

Co-authored-by: Rasoul Abdulzahra <rasoul.abdulzahra@aubay.it>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2022-07-04 10:55:48 +00:00
Luca Casonato 9871980613 docs: remove handler functions link (#400) 2022-07-04 10:52:42 +00:00
FloweDewolfandLuca Casonato 911c39aa4a docs: clarify setup steps (#329)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-04 10:30:46 +00:00
omar2205 3569e645a5 fix: update JOKES example to use the array's length (#337) 2022-07-01 01:40:05 +02: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
M. Zakiyuddin Munziri f5b8c940e8 www: fix footer github link to denoland repo (#219) (#296) 2022-06-28 19:42:39 +02:00
Jim Tittsler a25a1b013a docs: fix typos (#295) 2022-06-28 19:42:21 +02:00
Bartek IwańczukandLuca Casonato 0d0a137d6e docs: fix some issues (#294)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-06-28 14:22:14 +00:00
Luca Casonato 989e1775a0 docs: fix formatting 2022-06-28 16:15:24 +02:00
Luca Casonato b69ba3b718 docs: remove styling page 2022-06-28 16:14:10 +02:00
Luca Casonato 8488bf6373 docs: remove route handlers page 2022-06-28 16:06:15 +02:00
Luca Casonato ba94e8aaec 1.0.0 2022-06-28 15:52:37 +02:00
Luca Casonato 4d5f7a38c0 docs: finish up concepts docs (#292) 2022-06-28 15:47:56 +02:00
Luca Casonato 27b67b47e1 docs: remove pre-1.0 warning (#293) 2022-06-28 15:38:30 +02:00
Luca Casonato 216f1dc1fb 1.0.0-rc.6 2022-06-27 14:36:12 +02:00
Luca Casonato 34fc5514f9 chore: update twind import map defaults in init.ts (#291) 2022-06-27 14:35:34 +02:00
Luca Casonato a2c97fdeac 1.0.0-rc.5 2022-06-26 13:39:56 +02:00
Benjamin GeetsandLuca Casonato ef25682725 feat: allow lang configuration (#288)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-06-26 13:37:18 +02:00
Nathan Sharpe ad8aa1cbca docs: fix a few small typos (#285) 2022-06-26 11:34:25 +00:00
Carter Snook 58d45b854d chore: use GitHub-styled warning message (#286) 2022-06-25 21:32:25 +02:00
Luca Casonato fcd27f5b37 1.0.0-rc.4 2022-06-24 14:50:30 +02:00
Luca Casonato 74387ff92b fix: don't reload multiple times on restart (#283) 2022-06-24 14:50:00 +02:00
Luca Casonato 6cb2ebf7d4 chore: check minimum Deno version for init.ts (#282) 2022-06-24 13:55:18 +02:00
satotake f7cc2db225 fix: generate favicon.ico in init script (#278)
Browsers try to get `/favicon.ico` by default. This request enters `[name].tsx`
and returns greet unexpectedly.

To fix this, the favicon is now fetched from `https://fresh.deno.dev` and
saved into the `static` folder in the init script.
2022-06-23 14:38:57 +02:00
Yuki ShindoandLuca Casonato 56ecfcc7ee tests: add case for invalid inputs in fresh-init (#276)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-06-23 11:18:04 +00:00
Tommy Dew 76d5423b90 www: fix counter example zooming when double clicked on mobile devices (#277) 2022-06-23 09:35:04 +00:00
Victor Saase 14e169831e docs: fix some typos (#274) 2022-06-23 09:32:06 +00:00
Luca Casonato 97238ef5ac docs: use -r in setup command 2022-06-22 15:23:36 +02:00
Luca Casonato 02988178a1 1.0.0-rc.3 2022-06-22 15:16:26 +02:00
Luca Casonato 1b3d1319bd chore: update default preact version (#272) 2022-06-22 14:40:37 +02:00
Yusuke Tanaka 56f612c8f3 www: fix footer to the bottom when content is short (#271) 2022-06-22 14:40:29 +02:00
hashrock f9559b1079 www: replace lemon squash illustration with svg (#270) 2022-06-22 14:39:54 +02:00
Luca Casonato 1339a315e6 fix: types in fresh-init --twind's main.ts (#269) 2022-06-22 12:48:27 +02:00