fix: bugs

This commit is contained in:
shadcn
2026-02-27 09:30:06 +04:00
parent 646f884e8f
commit cc86750dfb
2 changed files with 3 additions and 2 deletions

View File

@@ -305,9 +305,10 @@ export const init = new Command()
}
}
// Prompt for monorepo if the template supports it.
// Prompt for monorepo if the template supports it (new projects only).
if (
options.monorepo === undefined &&
!hasPackageJson &&
options.template &&
templates[options.template as keyof typeof templates]?.monorepo
) {

View File

@@ -118,7 +118,7 @@ async function updateNextFonts(
}
}
async function findLayoutFile(
export async function findLayoutFile(
config: Config,
projectInfo: ProjectInfo
): Promise<string | null> {