mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
CLI: force release
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@fumadocs/cli': minor
|
||||
---
|
||||
|
||||
Fumadocs UI 16.3
|
||||
@@ -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`]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user