这是indexloc提供的服务,不要输入任何密码
Skip to content

feat(codemod): update $schema when versioned #10319

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

Merged
merged 2 commits into from
Apr 11, 2025
Merged

feat(codemod): update $schema when versioned #10319

merged 2 commits into from
Apr 11, 2025

Conversation

anthonyshew
Copy link
Contributor

@anthonyshew anthonyshew commented Apr 9, 2025

Description

Closes #8585

Testing Instructions

Wrote some tests and tried it on our repo manually.

Copy link

vercel bot commented Apr 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 5:14pm

@anthonyshew anthonyshew merged commit ae98596 into main Apr 11, 2025
43 checks passed
@anthonyshew anthonyshew deleted the shew/90c84 branch April 11, 2025 13:56
@FlorianWendelborn
Copy link

FlorianWendelborn commented Jun 21, 2025

For some reason this didn’t work for my recent upgrade. This was my manual diff, which looks like it should’ve been happening automatically.

{
-	"$schema": "https://turbo.build/schema.v1.json",
+	"$schema": "https://turbo.build/schema.v2.json",
	"extends": ["//"],
	"tasks": {

Sadly private repo. This is the version I used:

npx @turbo/codemod@latest --version
2.5.4

EDIT: Found a reproduce, try upgrading this: https://github.com/skyblock-finance/skyblock-finance-opensource/tree/847865398162ece9f5665d38da41406534d203c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation pkg: turbo-codemod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@turbo/codemod does not update $schema version
3 participants