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

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

@Willem-Jaap

Description

@Willem-Jaap

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions