mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-30 16:14:13 +00:00
fix: bugs
This commit is contained in:
@@ -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
|
||||
) {
|
||||
|
||||
@@ -118,7 +118,7 @@ async function updateNextFonts(
|
||||
}
|
||||
}
|
||||
|
||||
async function findLayoutFile(
|
||||
export async function findLayoutFile(
|
||||
config: Config,
|
||||
projectInfo: ProjectInfo
|
||||
): Promise<string | null> {
|
||||
|
||||
Reference in New Issue
Block a user