Commit cd1aa16
committed
feat: migrate OG generation to takumi-js v2
Drop the @takumi-rs/* v1 packages for takumi-js 2.0.0-beta.10. The v2
package picks its backend from `#backend` import conditions, so workerd
resolves to wasm automatically — removing the manual vite plugin, alias,
and optimizeDeps plumbing that forced the wasm runtime.
Rename `persistentImages` to `images` per the v2 ImageResponse API.
Claude-Session: https://claude.ai/code/session_01MvKWysun1A8RCvfuvqyYiJ1 parent 21d585f commit cd1aa16
4 files changed
Lines changed: 29 additions & 167 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
| |||
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
| 107 | + | |
111 | 108 | | |
112 | 109 | | |
113 | 110 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| |||
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
77 | | - | |
| 74 | + | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
18 | 15 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 16 | | |
24 | 17 | | |
25 | 18 | | |
| |||
37 | 30 | | |
38 | 31 | | |
39 | 32 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 33 | | |
56 | 34 | | |
57 | 35 | | |
| |||
122 | 100 | | |
123 | 101 | | |
124 | 102 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 103 | | |
130 | 104 | | |
131 | 105 | | |
| |||
181 | 155 | | |
182 | 156 | | |
183 | 157 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | 158 | | |
190 | 159 | | |
191 | 160 | | |
| |||
249 | 218 | | |
250 | 219 | | |
251 | 220 | | |
252 | | - | |
253 | 221 | | |
254 | 222 | | |
255 | 223 | | |
| |||
0 commit comments