Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork582
Commit375e843
authored
fix(cli): preserve intermediate directories when resolving nested file paths (#1607)
Fixes component installation paths for custom registries with additionalpath levels. Previously, only the last segment of the common root waspreserved, causing intermediate directories to be lost.Example:- Before: components/ai-elements/artifact/Artifact.vue → artifact/Artifact.vue- After: components/ai-elements/artifact/Artifact.vue → ai-elements/artifact/Artifact.vueThe function now uses the component alias from config to correctly resolvepaths for any custom registry structure, not just the default "components"directory.1 parent52a687f commit375e843
1 file changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| 422 | + | |
422 | 423 | | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
426 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
427 | 444 | | |
428 | 445 | | |
429 | 446 | | |
| |||
0 commit comments
Comments
(0)