-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add Turborepo configuration and scripts for improved monorepo management #13951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add Turborepo configuration and scripts for improved monorepo management #13951
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Bundle ReportChanges will increase total bundle size by 847.76kB (4.04%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
Files in
App Routes Affected:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
App Routes Affected:
|
"@sentry/core": "9.27.0", | ||
"@sentry/types": "9.27.0" | ||
"@sentry/types": "9.27.0", | ||
"@sentry/nextjs": "9.27.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hrm why wasnt nextjs already in here? i think this package.json is actually for the main docs site?
I implemented Turborepo support to optimize build times across the monorepo. I added
[email protected]
as a dev dependency and created aturbo.json
configuration file with optimized task definitions for build, dev, lint, and test commands. In the rootpackage.json
, I added new turbo-specific scripts (turbo:dev
,turbo:build
,turbo:lint
,turbo:test
) and set thepackageManager
field to[email protected]
. I configured caching by adding.turbo
to.gitignore
. Theturbo.json
includes task configurations with proper dependency chains, output caching for.next/**
anddist/**
directories, and environment variable handling. The setup enables parallel task execution and intelligent caching across workspaces, significantly improving build performance especially for unchanged code.