MCPcopy
hub / github.com/shadcn-ui/ui / createInitializedRadixProject

Function createInitializedRadixProject

packages/tests/src/tests/apply.test.ts:73–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73async function createInitializedRadixProject() {
74 const fixturePath = await createFixtureTestDirectory("next-app")
75 await npxShadcn(fixturePath, ["init", "--preset", "a0", "--base", "radix"])
76 await npxShadcn(fixturePath, ["add", "button"])
77 return fixturePath
78}
79
80function getMonorepoPresetConfig(config: {
81 style: string

Callers 1

apply.test.tsFile · 0.85

Calls 2

npxShadcnFunction · 0.90

Tested by

no test coverage detected