pragmatic-drag-and-drop
pragmatic-drag-and-drop copied to clipboard
The codemod client doesn't appear to give an option for adoption-from-rbd-13
npx @atlaskit/codemod-cli --parser {tsx|babylon} --extensions ts,tsx,js
I am getting this message
π Atlassian-Frontend codemod library @ 0.26.3 π No codemods available. Please make sure you have the latest version of the packages you are trying to upgrade before running the codemod
I have already installed @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration
Yes, I have the same issueβ¦
Have you tried using @latest? npx @atlaskit/codemod-cli@latest
π Atlassian-Frontend codemod library @ 0.27.0 π No codemods available. Please make sure you have the latest version of the packages you are trying to upgrade before running the codemod
I have the same issue.
Tried to use latest as alexreardon suggested but nothing changed
Any news?
Hey folks, just to confirm:
- You have added
@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migrationas a package dependency (as per https://atlassian.design/components/pragmatic-drag-and-drop/optional-packages/react-beautiful-dnd-migration/code) - From your package root, you have run:
npx @atlaskit/codemod-cli --parser tsx --extensions ts,tsx,js [relativePath]
e.g.
npx @atlaskit/codemod-cli --parser tsx --extensions ts,tsx,js ./src
I tried reproducing this, and I can see this list of codemods:
The one you'd want is @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration: 0.1.0-adoption-from-rbd-13.
If you're still having issues, can you send a screenshot of what you're seeing?
same issue
just same issue
version info
- react:
18.3.1 - @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration:
2.0.2 - npm:
10.5.0 - npx:
10.5.0
add package
and run
@michaelabrahamian same issue
same issue... any update?
Same issue.
For anyone else with this issue, I found the same when working in a monorepo. I assumed I'd need to carry out this procedure in my storybook package where the react-beautiful-dnd library was being used.
Instead I tried this from the project root, and gave it the full path to the src folder in my storybook package. This then correctly gave me the option to use the required migrations:
@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration: utils
@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration: 0.1.0-adoption-from-rbd-13
@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration: 0.1.0-adoption-from-rbd-12
e.g. yarn dlx @atlaskit/codemod-cli --parser tsx --extensions ts,tsx,js packages/storybook/src
same issue
same issue
same issue