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#
- Get the latest alpha release (5.0.0-alpha.14)
- 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
- Recieve error that file is not found
Expected behavior#
File is found :)
How often does this bug happen?#
Every time
Screenshots or Videos#
Platform#
Tanstack Query adapter#
react-query
TanStack Query version#
5.0.0-alpha.14
TypeScript version#
v5.0.3
Additional context#
@balazsmatepetro can you have a look please? I think codemods are their own package in the monorepo now, but we wouldn't want them to be their own package on npm. Can we include the codemod files in the framework distributions (react/vue/solid/svelte) so that the command mentioned in the migration guide works ?