Skip to content

chore(*): fix turbo.json for local dev#9004

Merged
wobsoriano merged 2 commits into
mainfrom
kevin/fix-turbo
Jul 13, 2026
Merged

chore(*): fix turbo.json for local dev#9004
wobsoriano merged 2 commits into
mainfrom
kevin/fix-turbo

Conversation

@thiskevinwang

@thiskevinwang thiskevinwang commented Jun 25, 2026

Copy link
Copy Markdown
Member

Description

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • New Features
    • Added dedicated development tasks for core packages to streamline local development with the correct build prerequisites.
  • Bug Fixes
    • Prevented build output directories from being cleared during watch mode, avoiding empty-directory issues during development.
    • Improved watch and publish behavior to ensure rebuilds run smoothly while preserving existing outputs when watching.

@changeset-bot

changeset-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5be3bd5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Jul 13, 2026 4:29pm
swingset Ready Ready Preview, Comment Jul 13, 2026 4:29pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Jun 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@9004

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@9004

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@9004

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@9004

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@9004

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@9004

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@9004

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@9004

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@9004

@clerk/express

npm i https://pkg.pr.new/@clerk/express@9004

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@9004

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@9004

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@9004

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@9004

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@9004

@clerk/react

npm i https://pkg.pr.new/@clerk/react@9004

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@9004

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@9004

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@9004

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@9004

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@9004

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@9004

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@9004

commit: 5be3bd5

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

API Changes Report

Generated by Break Check on 2026-07-13T16:30:17.506Z

Summary

Metric Count
Packages analyzed 19
Packages with changes 0
🔴 Breaking changes 0
🟡 Non-breaking changes 0
🟢 Additions 0

No API Changes Detected

All packages have stable APIs with no detected changes.


Report generated by Break Check

Last ran on 5be3bd5.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 87f88fc15f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread turbo.json
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This change makes the localizations and shared tsdown configs watch-aware, adds uncached Turborepo dev tasks for four packages with build dependencies, and adds a Changesets release file.

Changes

Build configuration and development workflow

Layer / File(s) Summary
Watch-aware clean in tsdown configs
packages/localizations/tsdown.config.mts, packages/shared/tsdown.config.mts
clean now uses !watch; the localizations config also derives shouldPublish from env.publish.
Turbo dev tasks and release metadata
turbo.json, .changeset/wicked-buses-hope.md
Adds four uncached package #dev tasks with relevant build dependencies and introduces a Changesets release file.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: brkalow

Poem

A bunny watched the builds go by,
Kept dist intact beneath the sky,
With dev tasks linked and ready near,
Turbo paths are crisp and clear,
Hop hop—rebuilds now shed no tear 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly reflects the main local-dev turbo configuration change and is concise.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Comment @coderabbitai help to get the list of available commands.

@dmoerner dmoerner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is exactly the fix I was slowly working on locally. Need clean to not clobber each others build directories when starting up multiple concurrent dev servers in local development. And need turbo to pick up the build depends in case you have a stale build from switching between branches.

I think this may need an empty changeset though.

@thiskevinwang thiskevinwang changed the title chore: fix dev / turbo.json chore(dev): fix turbo.json for local dev Jul 13, 2026
@thiskevinwang thiskevinwang changed the title chore(dev): fix turbo.json for local dev chore(*): fix turbo.json for local dev Jul 13, 2026
@wobsoriano wobsoriano merged commit 9c027fa into main Jul 13, 2026
86 of 90 checks passed
@wobsoriano wobsoriano deleted the kevin/fix-turbo branch July 13, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants