From af79276f7e43ccb40059f7db67f9ff42afa0e174 Mon Sep 17 00:00:00 2001 From: shadcn Date: Mon, 29 Jun 2026 19:54:41 +0400 Subject: [PATCH] fix(v4): build @shadcn/react before registry build (#11049) The v4 app imports @shadcn/react/message-scroller, which resolves via the package's built dist. CI is a fresh clone and registry:build only built shadcn, so the import was unresolved and the dev server never compiled, timing out the test job. Build @shadcn/react first. Co-authored-by: Claude Opus 4.8 (1M context) --- apps/v4/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/v4/package.json b/apps/v4/package.json index 2a1e326ebd..5e069627cd 100644 --- a/apps/v4/package.json +++ b/apps/v4/package.json @@ -15,7 +15,7 @@ "format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache", "icons:dev": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-icons.ts --watch", "icons:build": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-icons.ts", - "registry:build": "pnpm --filter=shadcn build && bun run ./scripts/build-registry.mts", + "registry:build": "pnpm --filter=@shadcn/react build && pnpm --filter=shadcn build && bun run ./scripts/build-registry.mts", "registry:capture": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/capture-registry.mts", "explore:capture": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/capture-explore.mts", "validate:registries": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/validate-registries.mts",