Skip to content
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

@turbo/codemod does not update $schema version #8585

Open
1 task done
Willem-Jaap opened this issue Jun 24, 2024 · 1 comment
Open
1 task done

@turbo/codemod does not update $schema version #8585

Willem-Jaap opened this issue Jun 24, 2024 · 1 comment
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo

Comments

@Willem-Jaap
Copy link

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

N/A

What package manager are you using / does the bug impact?

npm, pnpm, Yarn v1, Yarn v2/v3/v4 (node_modules linker only)

What operating system are you using?

Linux

Which canary version will you have in your reproduction?

N/A

Describe the Bug

Turbo codemod to version 2 does not update the $schema property to the correct version. If you have the following:

  "$schema": "https://turbo.build/schema.v1.json"

https://turbo.build/repo/docs/getting-started/editor-integration#json-schema-for-turbojson

Expected Behavior

The schema property when at v1 should update to https://turbo.build/schema.json

To Reproduce

Run turbo codemod in a project that has:

  "$schema": "https://turbo.build/schema.v1.json"

Additional context

No response

@Willem-Jaap Willem-Jaap added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo labels Jun 24, 2024
@tyteen4a03
Copy link

+1 - can reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo
Projects
None yet
Development

No branches or pull requests

2 participants