diff --git a/apps/design-system/package.json b/apps/design-system/package.json index e6acd2763ef..197bb8d13bc 100644 --- a/apps/design-system/package.json +++ b/apps/design-system/package.json @@ -6,7 +6,7 @@ "scripts": { "preinstall": "npx only-allow pnpm", "dev": "next dev --turbopack --port 3003", - "build": "pnpm run content:build && pnpm run build:registry && next build", + "build": "pnpm run content:build && pnpm run build:registry && next build --turbopack", "build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && prettier --log-level silent --write \"registry/**/*.{ts,tsx,mdx}\" --cache", "start": "next start", "lint": "next lint", diff --git a/apps/docs/package.json b/apps/docs/package.json index fbf1faf4bab..4f90273c395 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "scripts": { - "build": "next build", + "build": "next build --turbopack", "build:analyze": "ANALYZE=true next build", "build:llms": "tsx --conditions=react-server ./scripts/llms.ts", "build:sitemap": "tsx ./internals/generate-sitemap.ts", diff --git a/apps/studio/package.json b/apps/studio/package.json index 4320f6d587b..9470adae74f 100644 --- a/apps/studio/package.json +++ b/apps/studio/package.json @@ -5,7 +5,7 @@ "scripts": { "preinstall": "npx only-allow pnpm", "dev": "next dev --turbopack -p 8082", - "build": "next build && ./../../scripts/upload-static-assets.sh", + "build": "next build --turbopack && ./../../scripts/upload-static-assets.sh", "start": "next start", "lint": "next lint", "clean": "rimraf node_modules tsconfig.tsbuildinfo .next .turbo", diff --git a/apps/ui-library/package.json b/apps/ui-library/package.json index 00a3f742a97..acf53e60d3b 100644 --- a/apps/ui-library/package.json +++ b/apps/ui-library/package.json @@ -6,7 +6,7 @@ "scripts": { "preinstall": "npx only-allow pnpm", "dev": "next dev --port 3004", - "build": "pnpm run content:build && pnpm run build:registry && pnpm run build:llms && next build", + "build": "pnpm run content:build && pnpm run build:registry && pnpm run build:llms && next build --turbopack", "build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && prettier --cache --write registry.json && rimraf -G public/r && shadcn build && tsx scripts/clean-registry.ts", "build:llms": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-llms-txt.ts", "start": "next start", diff --git a/apps/www/package.json b/apps/www/package.json index e6b7b16de46..877058e6b41 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -6,7 +6,7 @@ "scripts": { "preinstall": "npx only-allow pnpm", "dev": "pnpm run content:build && next --port 3000", - "build": "pnpm run content:build && next build", + "build": "pnpm run content:build && next build --turbopack", "export": "next export", "start": "next start", "lint": "next lint",