Skip to content

Conversation

@anthonyshew
Copy link

@anthonyshew anthonyshew commented Jan 22, 2026

Summary

  • Use turbo run consistently in root package.json scripts (recommended for written code vs interactive use)
  • Update schema URL to turborepo.dev/schema.v2.json
  • Move eslint.config.mjs and jest.*.ts from globalDependencies to task-level inputs, reducing unnecessary cache invalidation for build tasks
  • Enable caching for lint:publint and lint:attw tasks (previously cache: false was wasteful since these tasks are deterministic)

Testing

These are configuration-only changes. Verify by running:

turbo run build --dry
turbo run lint --dry
turbo run test --dry

AI usage

Chat transcript: https://opncd.ai/share/ZVGq9lQl

- Use 'turbo run' consistently in root package.json scripts
- Update schema URL to turborepo.dev/schema.v2.json
- Move eslint.config.mjs and jest.*.ts from globalDependencies to task-level inputs (reduces unnecessary cache invalidation for build tasks)
- Enable caching for lint:publint and lint:attw tasks
@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2026

⚠️ No Changeset found

Latest commit: a49d91c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

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

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link

vercel bot commented Jan 22, 2026

@anthonyshew is attempting to deploy a commit to the Clerk Production Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

Walkthrough

The pull request updates the Turbo configuration and npm scripts. In package.json, two npm scripts are updated to use the "turbo run" syntax for bundlewatch and clean commands. In turbo.json, the schema reference is updated to a newer version. Global dependencies entries are removed, and task configurations are modified to use explicit inputs and outputs instead of relying on some cache settings. The test and lint tasks are updated to include root-level configuration files in their inputs, while lint:publint and lint:attw are updated with new input definitions and other configuration changes.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: optimizing Turborepo configuration by standardizing turbo commands, updating schema, and improving task caching strategy.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant