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

Function createInitializedRtlProject

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

Source from the content-addressed store, hash-verified

17}
18
19async function createInitializedRtlProject() {
20 const fixturePath = await createFixtureTestDirectory("next-app")
21 await npxShadcn(fixturePath, ["init", "--defaults", "--rtl"])
22 await npxShadcn(fixturePath, ["add", "button"])
23 return fixturePath
24}
25
26async function createInitializedViteRtlProject() {
27 const fixturePath = await createFixtureTestDirectory("vite-app")

Callers 1

apply.test.tsFile · 0.85

Calls 2

npxShadcnFunction · 0.90

Tested by

no test coverage detected