Repository navigation
Commit cf37297
authored
feat(mcpp.plugins): 0.5.0, an island's entry points in the module's namespace (#372)
`docs/42` states one rule for both lanes: the module name and the namespace are
one identifier path. The shader lane followed it and `mcpp.tools.island` did
not, emitting every entry point at global scope, so `import app.kernels` bought
a file name and nothing else. A root's directories now extend the namespace
exactly as a payload tree's do.
The API says roots rather than files: `options::roots` names the directories
implementations live under and `options::layout_root` names the one whose
structure decides where entry points live. `options::strip_prefix` emits a
short spelling beside the authored name, which stays canonical because it is
the symbol.
Breaking for a consumer of `tools-island`, and `latest` moves anyway: every
published consumer pins an exact version, and the three examples in mcpp that
use the generator move to 0.5.0 in the same batch.
The floor stays at mcpp 2026.9.8.1. This changes what the package generates,
not what it asks the engine for.
The CN asset is the same bytes as the GitHub source archive of tag v0.5.0,
sha256 ec11aa99e84d8d003afff9d93a9e76d8b84926ab2586058ee5d51344559777b9,
verified by downloading it back after the upload.1 parent cfd5a54 commit cf37297
1 file changed
Lines changed: 46 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
265 | 286 | | |
266 | 287 | | |
267 | 288 | | |
| |||
275 | 296 | | |
276 | 297 | | |
277 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
278 | 306 | | |
279 | 307 | | |
280 | 308 | | |
| |||
352 | 380 | | |
353 | 381 | | |
354 | 382 | | |
355 | | - | |
| 383 | + | |
356 | 384 | | |
357 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
358 | 393 | | |
359 | 394 | | |
360 | 395 | | |
| |||
432 | 467 | | |
433 | 468 | | |
434 | 469 | | |
435 | | - | |
| 470 | + | |
436 | 471 | | |
437 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
438 | 480 | | |
439 | 481 | | |
440 | 482 | | |
| |||
512 | 554 | | |
513 | 555 | | |
514 | 556 | | |
515 | | - | |
| 557 | + | |
516 | 558 | | |
517 | 559 | | |
518 | 560 | | |
| |||
0 commit comments