Commit 367fe0b
feat(runtime): mark code-server as optional component
Mark code-server as optional component (required: false) to align with omniroute. This allows code-server to be excluded from default bundled runtime installs and only installed when explicitly requested.
Changes:
- Add required: false to code-server component in manifest
- Update integration tests to verify code-server is not installed by default
- Update unit tests to verify code-server optional behavior
- Update optional install test to include code-server
Co-Authored-By: Hagicode <noreply@hagicode.com>
Signed-off-by: newbe36524 <newbe36524@qq.com>1 parent f955a3d commit 367fe0b
3 files changed
Lines changed: 20 additions & 30 deletions
File tree
- runtime
- scripts
- src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 263 | + | |
282 | 264 | | |
283 | 265 | | |
284 | 266 | | |
| |||
287 | 269 | | |
288 | 270 | | |
289 | 271 | | |
290 | | - | |
291 | | - | |
292 | | - | |
| 272 | + | |
| 273 | + | |
293 | 274 | | |
294 | 275 | | |
295 | 276 | | |
| |||
341 | 322 | | |
342 | 323 | | |
343 | 324 | | |
344 | | - | |
| 325 | + | |
345 | 326 | | |
346 | 327 | | |
347 | 328 | | |
348 | 329 | | |
349 | 330 | | |
350 | 331 | | |
351 | | - | |
| 332 | + | |
352 | 333 | | |
353 | 334 | | |
354 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | | - | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
164 | | - | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | | - | |
| 172 | + | |
| 173 | + | |
169 | 174 | | |
170 | 175 | | |
171 | 176 | | |
| |||
490 | 495 | | |
491 | 496 | | |
492 | 497 | | |
493 | | - | |
| 498 | + | |
494 | 499 | | |
495 | 500 | | |
496 | 501 | | |
| |||
518 | 523 | | |
519 | 524 | | |
520 | 525 | | |
| 526 | + | |
521 | 527 | | |
522 | 528 | | |
523 | 529 | | |
524 | 530 | | |
| 531 | + | |
| 532 | + | |
525 | 533 | | |
526 | 534 | | |
527 | 535 | | |
| |||
0 commit comments