Skip to content

Codemods-scripts missing in 5.0.0-alpha.14 #5230

@christianhultin

Description

@christianhultin

Describe the bug

Thanks for a great project! It looks like the latest alpha-release (5.0.0-alpha.14) are missing the codemod-scripts-folder

Your minimal, reproducible example

Steps to reproduce

  1. Get the latest alpha release (5.0.0-alpha.14)
  2. Run the following script
npx jscodeshift ./path/to/src/ \
  --extensions=ts,tsx \
  --parser=tsx \
  --transform=./node_modules/@tanstack/react-query/codemods/v5/remove-overloads/remove-overloads.js
  1. Recieve error that file is not found

Expected behavior

File is found :)

How often does this bug happen?

Every time

Screenshots or Videos

Platform

  • OS: Mac

Tanstack Query adapter

react-query

TanStack Query version

5.0.0-alpha.14

TypeScript version

v5.0.3

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv5

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions