CLI: force release

This commit is contained in:
Fuma Nama
2025-12-21 12:33:17 +08:00
parent 9a3e2e893a
commit 389e68b33e
2 changed files with 7 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@fumadocs/cli': minor
---
Fumadocs UI 16.3
+2 -3
View File
@@ -61,13 +61,12 @@ export async function customise(client: RegistryClient) {
},
);
const registry = UIRegistries[config.uiLibrary];
if (result.target === 'docs') {
const targets = [];
if (result.mode === 'minimal') {
targets.push('fumadocs/ui/layouts/docs-min');
} else {
const registry = UIRegistries[config.uiLibrary];
targets.push(
result.mode === 'full-default'
? `${registry}/layouts/docs`
@@ -94,7 +93,7 @@ export async function customise(client: RegistryClient) {
}
if (result.target === 'home') {
await install(['layouts/home'], installer);
await install([`${registry}/layouts/home`], installer);
printNext(['fumadocs-ui/layouts/home', `@/components/layout/home`]);
}