mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-26 22:26:05 +00:00
debug
This commit is contained in:
@@ -453,6 +453,11 @@ export async function runInit(
|
||||
options.isNewProject || projectInfo?.framework.name === "next-app",
|
||||
})
|
||||
|
||||
// Run postInit for new projects without a custom init (e.g. git init).
|
||||
if (selectedTemplate) {
|
||||
await selectedTemplate.postInit({ projectPath: options.cwd })
|
||||
}
|
||||
|
||||
return fullConfig
|
||||
}
|
||||
|
||||
|
||||
@@ -551,7 +551,7 @@ describe("shadcn init - next-monorepo", () => {
|
||||
"--preset",
|
||||
"radix-nova",
|
||||
],
|
||||
{ timeout: 300000 }
|
||||
{ timeout: 300000, debug: true }
|
||||
)
|
||||
expect(result.exitCode).toBe(0)
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@ import { HeadContent, Scripts, createRootRoute } from "@tanstack/react-router"
|
||||
import { TanStackRouterDevtoolsPanel } from "@tanstack/react-router-devtools"
|
||||
import { TanStackDevtools } from "@tanstack/react-devtools"
|
||||
|
||||
import Header from "../components/Header"
|
||||
|
||||
import appCss from "../styles.css?url"
|
||||
|
||||
export const Route = createRootRoute({
|
||||
@@ -37,7 +35,6 @@ function RootDocument({ children }: { children: React.ReactNode }) {
|
||||
<HeadContent />
|
||||
</head>
|
||||
<body>
|
||||
<Header />
|
||||
{children}
|
||||
<TanStackDevtools
|
||||
config={{
|
||||
|
||||
Reference in New Issue
Block a user