Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: enable turborepo (#9275)

Max Deichmann20cc20f9085b
diff --git a/.npmrc b/.npmrc
index 1e29ed6170..b160e7a418 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1,3 +1,5 @@
public-hoist-pattern[]=*prisma*
# for turbopack, ongoing issue see: https://github.com/vercel/next.js/issues/68805
public-hoist-pattern[]=@aws-sdk/client-s3
+public-hoist-pattern[]=*import-in-the-middle*
+public-hoist-pattern[]=*require-in-the-middle*
diff --git a/web/next.config.mjs b/web/next.config.mjs
index 71a029d910..71c868d711 100644
--- a/web/next.config.mjs
+++ b/web/next.config.mjs
@@ -245,7 +245,7 @@ const sentryConfig = withSentryConfig(nextConfig, {
// Enable bundle analyzer in analyze mode, otherwise use standard config
const withBundleAnalyzer = bundleAnalyzer({
enabled: process.env.ANALYZE === "true",
- openAnalyzer: false, // Open analyzer in browser
+ openAnalyzer: true, // Open analyzer in browser
});
export default withBundleAnalyzer(sentryConfig);
diff --git a/web/package.json b/web/package.json
index d2e2b7549e..365f64911b 100644
--- a/web/package.json
+++ b/web/package.json
@@ -8,7 +8,7 @@
},
"scripts": {
"build": "INLINE_RUNTIME_CHUNK=false dotenv -e ../.env -- next build",
- "dev": "dotenv -e ../.env -- next dev",
+ "dev": "dotenv -e ../.env -- next dev --turbopack",
"dev:http": "dotenv -e ../.env -- next dev --experimental-https --experimental-https-key ./localhost+1-key.pem --experimental-https-cert ./localhost+1.pem",
"lint": "dotenv -e ../.env -- next lint --max-warnings 0",
"lint:fix": "dotenv -e ../.env -- next lint --fix",
@@ -19,7 +19,8 @@
"test-client": "cross-env NODE_OPTIONS='--no-experimental-require-module' dotenv -e ../.env.test -e ../.env -- jest --verbose --runInBand --detectOpenHandles --selectProjects client",
"test:watch": "cross-env NODE_OPTIONS='--no-experimental-require-module' dotenv -e ../.env.test -e ../.env -- jest --watch --runInBand",
"test:e2e": "dotenv -e ../.env.test -e ../.env -- playwright test --reporter=line",
- "test:e2e:server": "cross-env NODE_OPTIONS='--no-experimental-require-module' dotenv -e ../.env.test -e ../.env -- jest --runInBand --detectOpenHandles --verbose --selectProjects e2e-server"
+ "test:e2e:server": "cross-env NODE_OPTIONS='--no-experimental-require-module' dotenv -e ../.env.test -e ../.env -- jest --runInBand --detectOpenHandles --verbose --selectProjects e2e-server",
+ "build-trace": "dotenv -e ../.env -- next internal trace .next/trace-turbopack"
},
"dependencies": {
"@anthropic-ai/tokenizer": "^0.0.4",
@@ -210,4 +211,4 @@
"@types/react-dom": "19.1.9"
}
}
-}
+}
\ No newline at end of file