-
-
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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Open
dcramer
wants to merge
13
commits into
master
Choose a base branch
from
cursor/add-turborepo-support-for-faster-builds-d1d9
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
23a230d
Add Turborepo configuration and scripts for improved monorepo management
cursoragent 6435a89
Specify yarn version in package manager field
cursoragent be55fb8
Add Turbo cache and update workflows to use Turbo commands
cursoragent b1d11ff
Update turbo.json with additional environment variables and task conf…
cursoragent 6e6a426
Add Algolia and Google environment variables to Turborepo config
cursoragent 23b7059
Checkpoint before follow-up message
cursoragent 976cda0
Checkpoint before follow-up message
cursoragent 217baf8
Checkpoint before follow-up message
cursoragent 604bddc
Checkpoint before follow-up message
cursoragent fccc0a5
Checkpoint before follow-up message
cursoragent 69fdff2
Checkpoint before follow-up message
cursoragent d2a9f6e
Update Sentry configuration and dependencies to resolve type conflicts
cursoragent 0bbaf70
Update Sentry, Ariakit, and other dependencies to latest versions
cursoragent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,3 +98,7 @@ public/mdx-images/* | |
# yalc | ||
.yalc | ||
yalc.lock | ||
|
||
# turborepo | ||
.turbo | ||
.turborc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"tasks": { | ||
"build": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"outputs": [ | ||
".next/**", | ||
"!.next/cache/**", | ||
"dist/**" | ||
], | ||
"env": [ | ||
"NODE_ENV", | ||
"NEXT_PUBLIC_*", | ||
"SENTRY_DSN", | ||
"CI", | ||
"CODECOV_TOKEN", | ||
"VERCEL_URL", | ||
"OPENAPI_LOCAL_PATH", | ||
"GATSBY_ENV", | ||
"GATSBY_HIDE_SANDBOX", | ||
"ESBUILD_BINARY_PATH", | ||
"ALGOLIA_APP_ID", | ||
"ALGOLIA_API_KEY", | ||
"DOCS_INDEX_NAME", | ||
"DEVELOP_DOCS_INDEX_NAME", | ||
"ALOGOLIA_SKIP_ON_ERROR", | ||
"GOOGLE_CLIENT_ID", | ||
"GOOGLE_CLIENT_SECRET", | ||
"GOOGLE_PROJECT_ID", | ||
"GOOGLE_CLIENT_EMAIL", | ||
"GOOGLE_PRIVATE_KEY", | ||
"GOOGLE_BUCKET_NAME" | ||
] | ||
}, | ||
"build:developer-docs": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"outputs": [ | ||
".next/**", | ||
"!.next/cache/**", | ||
"dist/**" | ||
], | ||
"env": [ | ||
"NODE_ENV", | ||
"NEXT_PUBLIC_*", | ||
"SENTRY_DSN", | ||
"CI", | ||
"CODECOV_TOKEN", | ||
"VERCEL_URL", | ||
"OPENAPI_LOCAL_PATH", | ||
"GATSBY_ENV", | ||
"GATSBY_HIDE_SANDBOX", | ||
"ESBUILD_BINARY_PATH", | ||
"ALGOLIA_APP_ID", | ||
"ALGOLIA_API_KEY", | ||
"DOCS_INDEX_NAME", | ||
"DEVELOP_DOCS_INDEX_NAME", | ||
"ALOGOLIA_SKIP_ON_ERROR", | ||
"GOOGLE_CLIENT_ID", | ||
"GOOGLE_CLIENT_SECRET", | ||
"GOOGLE_PROJECT_ID", | ||
"GOOGLE_CLIENT_EMAIL", | ||
"GOOGLE_PRIVATE_KEY", | ||
"GOOGLE_BUCKET_NAME" | ||
] | ||
}, | ||
"dev": { | ||
"cache": false, | ||
"persistent": true, | ||
"env": [ | ||
"NODE_ENV", | ||
"NEXT_PUBLIC_*", | ||
"SENTRY_DSN", | ||
"VERCEL_URL", | ||
"OPENAPI_LOCAL_PATH", | ||
"GATSBY_ENV", | ||
"GATSBY_HIDE_SANDBOX", | ||
"GOOGLE_CLIENT_ID", | ||
"GOOGLE_CLIENT_SECRET", | ||
"GOOGLE_PROJECT_ID", | ||
"GOOGLE_CLIENT_EMAIL", | ||
"GOOGLE_PRIVATE_KEY", | ||
"GOOGLE_BUCKET_NAME" | ||
] | ||
}, | ||
"dev:developer-docs": { | ||
"cache": false, | ||
"persistent": true, | ||
"env": [ | ||
"NODE_ENV", | ||
"NEXT_PUBLIC_*", | ||
"SENTRY_DSN", | ||
"VERCEL_URL", | ||
"OPENAPI_LOCAL_PATH", | ||
"GATSBY_ENV", | ||
"GATSBY_HIDE_SANDBOX", | ||
"GOOGLE_CLIENT_ID", | ||
"GOOGLE_CLIENT_SECRET", | ||
"GOOGLE_PROJECT_ID", | ||
"GOOGLE_CLIENT_EMAIL", | ||
"GOOGLE_PRIVATE_KEY", | ||
"GOOGLE_BUCKET_NAME" | ||
] | ||
}, | ||
"start": { | ||
"dependsOn": [ | ||
"build" | ||
], | ||
"cache": false, | ||
"persistent": true | ||
}, | ||
"lint": { | ||
"outputs": [] | ||
}, | ||
"lint:ts": { | ||
"outputs": [] | ||
}, | ||
"lint:docs": { | ||
"outputs": [] | ||
}, | ||
"lint:eslint": { | ||
"outputs": [] | ||
}, | ||
"lint:eslint:fix": { | ||
"cache": false, | ||
"outputs": [] | ||
}, | ||
"lint:prettier": { | ||
"outputs": [] | ||
}, | ||
"lint:prettier:fix": { | ||
"cache": false, | ||
"outputs": [] | ||
}, | ||
"lint:fix": { | ||
"cache": false, | ||
"outputs": [] | ||
}, | ||
"test": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"outputs": [ | ||
"coverage/**" | ||
], | ||
"inputs": [ | ||
"src/**/*.{ts,tsx,js,jsx}", | ||
"test/**/*.{ts,tsx,js,jsx}", | ||
"**/*.test.*", | ||
"**/*.spec.*" | ||
], | ||
"env": [ | ||
"NODE_ENV" | ||
] | ||
}, | ||
"test:ci": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"outputs": [ | ||
"coverage/**" | ||
], | ||
"inputs": [ | ||
"src/**/*.{ts,tsx,js,jsx}", | ||
"test/**/*.{ts,tsx,js,jsx}", | ||
"**/*.test.*", | ||
"**/*.spec.*" | ||
], | ||
"env": [ | ||
"NODE_ENV" | ||
] | ||
}, | ||
"enforce-redirects": { | ||
"cache": false | ||
}, | ||
"migrate:dev": { | ||
"cache": false | ||
} | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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?