Commit 5c500da
committed
refactor(runtime): consolidate package resolution and resource embedding
Move package resolution utilities to shared/runtime directory and implement new resource embedding system using Bun's native file embedding. Remove old embedded resource generation system and update build scripts to use the new approach.
The changes include:
- New pkg.ts, root.ts, and embed.ts modules in shared/runtime
- Removal of old embedded resource generation scripts and utilities
- Updates to build scripts to use Bun's file embedding
- Migration of all package.json/root resolution imports to new location1 parent 6688a0e commit 5c500da
File tree
22 files changed
+247
-619
lines changed- scripts
- src
- cli
- commands
- tui
- context
- routes
- runtime
- services/workspace
- workflows
- templates
- utils
22 files changed
+247
-619
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| |||
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 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
48 | 89 | | |
49 | 90 | | |
50 | 91 | | |
| |||
170 | 211 | | |
171 | 212 | | |
172 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
173 | 217 | | |
174 | 218 | | |
175 | 219 | | |
176 | 220 | | |
177 | | - | |
| 221 | + | |
178 | 222 | | |
179 | 223 | | |
180 | 224 | | |
181 | 225 | | |
| 226 | + | |
182 | 227 | | |
183 | 228 | | |
184 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
185 | 233 | | |
186 | 234 | | |
187 | 235 | | |
| |||
198 | 246 | | |
199 | 247 | | |
200 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
201 | 252 | | |
202 | 253 | | |
203 | 254 | | |
204 | 255 | | |
205 | | - | |
| 256 | + | |
206 | 257 | | |
207 | 258 | | |
208 | 259 | | |
| |||
252 | 303 | | |
253 | 304 | | |
254 | 305 | | |
255 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
256 | 309 | | |
257 | | - | |
| 310 | + | |
| 311 | + | |
258 | 312 | | |
259 | 313 | | |
260 | 314 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments