Commit 7ad19c7
committed
feat: Migrate to Fresh 2.2.0 stable
- Upgrade Fresh from 2.0.0-alpha.34 to 2.2.0 (stable)
- Upgrade Preact to 10.27.2 and @preact/signals to 2.5.0
- Add app.fsRoutes() to enable file-system based routing
- Update Builder pattern in dev.ts for Fresh 2.x compatibility
- Extend jsxPrecompileSkipElements with all required HTML elements
- Fix fuse.js import version (7.0.0)
- Auto-fix formatting across islands and routes
- Regenerate deno.lock for Fresh 2.x dependencies
- Add cover images (cover.png, cover.svg)
Breaking Changes:
- Fresh 2.x requires explicit app.fsRoutes() call
- Builder.listen() now expects async function returning app
- jsxPrecompileSkipElements must include full element list
All routes, islands, and features tested and working.
Server runs successfully on http://localhost:8000/1 parent b8d75f1 commit 7ad19c7
45 files changed
Lines changed: 1832 additions & 2207 deletions
File tree
- components
- islands
- routes
- api
- blog
- docs
- std
- static
- content/docs
- api
- examples
- images
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 9 | + | |
| 10 | + | |
20 | 11 | | |
21 | 12 | | |
22 | 13 | | |
23 | | - | |
| 14 | + | |
24 | 15 | | |
25 | | - | |
| 16 | + | |
26 | 17 | | |
27 | | - | |
| 18 | + | |
28 | 19 | | |
29 | 20 | | |
30 | 21 | | |
31 | 22 | | |
32 | 23 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 24 | + | |
39 | 25 | | |
40 | 26 | | |
41 | 27 | | |
| |||
44 | 30 | | |
45 | 31 | | |
46 | 32 | | |
47 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
| |||
0 commit comments