Skip to content

Commit fc8927a

Browse files
authored
fix(shadcn): monorepo in nix system (#7962)
* debug: do not cd after init * chore: changeset
1 parent ccfd149 commit fc8927a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/shaggy-terms-doubt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"shadcn": patch
3+
---
4+
5+
fix monorepo init on nix system

packages/shadcn/src/utils/create-project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ async function createMonorepoProject(
245245
await execa("git", ["commit", "-m", "Initial commit"], {
246246
cwd: projectPath,
247247
})
248-
await execa("cd", [cwd])
248+
// await execa("cd", [cwd])
249249

250250
createSpinner?.succeed("Creating a new Next.js monorepo.")
251251
} catch (error) {

0 commit comments

Comments
 (0)