Commit Graph
78 Commits
Author SHA1 Message Date
Luca Casonato dc47c9387b fix: rm trailing / in preact-rts import map entry (#722) 2022-09-08 12:45:21 +00:00
Luca Casonato ca6d011d5c www: fix @preact/signals version (#720) 2022-09-08 10:03:57 +00:00
Luca Casonato 560f1eec20 docs: add "Concepts: Updating" page 2022-09-08 11:53:38 +02:00
Luca Casonato b7f0d5c860 feat: install @preact/signals by default (#710) 2022-09-08 01:00:05 +02:00
Luca Casonato 01052b31aa chore: update preact-render-to-string (#707) 2022-09-07 15:06:24 +02:00
Luca Casonato b19c4bb041 feat: add update.ts script (#706)
This commit adds an update.ts tool that makes it easy to upgrade
existing Fresh projects to the latest version of Fresh. This tool
updates dependency versions in the import map, and includes some code
mods:

1. update projects from classic JSX to automatic JSX
2. update projects from legacy twind integration to twind plugin

Both of these code mods get you about 95% of the way there most of the
time. Users might still need to do some manual work to get their
projects fully updated.
2022-09-07 09:36:23 +00:00
Luca CasonatoandElias Sjögreen 1b3c9f2569 fix(plugin/twind): load configuration as module (#705)
This commit loads the Twind configuration as an actual module rather
than evaluating it on the server and then serializing. This allows usage
of unserializable plugin functions.

Co-authored-by: Elias Sjögreen <eliassjogreen1@gmail.com>
2022-09-07 00:44:46 +02:00
hashrockandLuca Casonato 8e9658cae5 www: add showcase page (#699)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-09-06 15:28:20 +02:00
Lino Le Van 28ae07da35 www: bump x/gfm version to aid translation software (#700) 2022-09-06 12:19:39 +00:00
Luca Casonato b12867a582 feat: support JSX automatic mode (#610)
This commit adds support for JSX automatic mode instead of the default
mode that requires the presence of the JSX pragma in each file.

This commit also adds the config file to the `fresh.gen.ts` manifest,
which is used to determine if the client emit should use automatic mode.

The minimum Deno version has also been bumped to 1.25.0.
2022-08-26 11:03:00 +02:00
Luca Casonato bbe4277acb chore: update puppeteer (#659) 2022-08-25 15:26:44 +02:00
hashrock 1adbb030cd add "Made with Fresh" badges (#649)
this adds simple badges in README.
2022-08-25 19:22:20 +09:00
Luca Casonato 3d682d98cb chore: update preact & preact-render-to-string (#651)
preact@10.10.6 & preact-render-to-string@5.2.2
2022-08-23 22:09:06 +00:00
Benny Yen d798db2a5f www: use frontmatter parser from std (#621) 2022-08-23 13:26:44 +00:00
Roj 67b82d538b fix: add reference to dom.iterable (#641)
This fixes TypeScript errors with things like `URLSearchParams.entries`.
2022-08-23 13:26:21 +00:00
Michael Pfisterandhashrock 3431555f95 Add 404 and 500 page #446 (#624)
* Add 404 and 500 page

Co-authored-by: hashrock <hashrock@users.noreply.github.com>
2022-08-16 23:52:06 +09:00
Michael Pfister 55f657827f fix: add missing icon bg colors on mobile (#609)
* Docs: Fix Small Grammar Issue

* fix missing label bg colors on mobile

* add missing icon bg colors on mobile

* Rearrange icon bg-colors for mobile
2022-08-11 21:02:11 +09:00
c7cbd23052 www: new landing page (#602)
* design: add icons to features

* www: update intro layout

* www: add copy button

* www: create CopyArea island

* www: update info style

* www: add showcase

* Update www/routes/index.tsx

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>

* www: set text-center to feature descriptions

* www: remove showcase image tabindex

add hover feedback to the showcase tiles

* www: add deno install / update links

* www: left align the feature descriptions on small screens

* www: fix broken getting started layout on mobile

* www: always show the copy buttons

* www: add some additional vertical spacing

* improve screenshots

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-08-10 14:50:29 +09:00
Luca Casonato 660e0f5fef feat: twind plugin (#513)
This adds a first-party twind plugin to use twind for styling.
2022-08-09 21:41:11 +02:00
Kid 5b9ce720d0 chore: remove deno.unstable references (#600) 2022-08-08 23:19:26 +02:00
Luca Casonato ba20756c17 chore: update deps (#561)
Update std, esbuild, and preact.
2022-07-30 17:29:29 +02:00
Tim Smith a6aac89663 www: fix capitalization in footer (#524) 2022-07-30 15:12:41 +00:00
Luca Casonato b39608890e chore: run deno fmt with new deno version (#562) 2022-07-30 14:59:35 +00:00
X 85687b6c78 chore: update preact-render-to-string import to use esm.sh ?external query (#499) 2022-07-12 15:32:36 +02:00
Nyx Iskandar 38c1a2f426 www: rename my-app to my-project in landing page (#439) 2022-07-06 12:25:13 +02:00
Luca Casonato 87da68b8a7 chore: update preact + twind (#410) 2022-07-04 15:25:32 +00:00
M. Zakiyuddin Munziri f5b8c940e8 www: fix footer github link to denoland repo (#219) (#296) 2022-06-28 19:42:39 +02:00
Luca Casonato 27b67b47e1 docs: remove pre-1.0 warning (#293) 2022-06-28 15:38:30 +02:00
Luca Casonato 34fc5514f9 chore: update twind import map defaults in init.ts (#291) 2022-06-27 14:35:34 +02:00
Tommy Dew 76d5423b90 www: fix counter example zooming when double clicked on mobile devices (#277) 2022-06-23 09:35:04 +00:00
Luca Casonato 97238ef5ac docs: use -r in setup command 2022-06-22 15:23:36 +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 b1d4eb3da0 www: redirect init script to deno.land/x/fresh 2022-06-22 12:14:23 +02:00
Luca Casonato 871985a172 www: add redirect for init script (#266) 2022-06-21 15:08:41 +00:00
Luca Casonato 1a10cbda3a www: serve fresh code at /@:version/:path* (#265) 2022-06-21 16:52:58 +02: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 70d1838cad BREAKING: make render fn an option on start (#260)
This commit removes the `_render.{tj}s{x}?` file in favor of a `render` option on the `start` call in `main.ts`.
2022-06-20 13:40:23 +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
Ward Cunningham 3e001fe242 www: use unicode arrows for navigation buttons in docs (#250)
Prefer unicode arrows to those made of ascii art.
2022-06-20 11:53:41 +02:00
Sindre Bøyum af9c7d4eb9 www: use tabular-nums on Counter count (#242)
`font-variant-numeric: tabular-nums` make each number glyph take up
the same amount of space, which in turn makes the add and subtract
buttons move less about when altering the count.
2022-06-16 21:44:29 +00:00
Luca Casonato 3be31d5eb0 www: fix minimum Deno version to 1.22.3 2022-06-14 09:57:36 +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
Shivam Dua 97f426b524 www: fix webp image source (#222) 2022-06-02 19:52:38 +02:00
Luca Casonato 782f4e5766 www: update eta from May 2022 to "very soon" (#216) 2022-05-29 23:45:44 +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
Sylvain Cau e8b1e229b3 feat: automatically apply asset caching to img src and srcset (#184) 2022-05-19 19:19:59 +02:00