Upgrade to patternfly-6 alpha. pf-codemods not working #7020
Replies: 2 comments 9 replies
-
Hello @ShivamG0217, I'm not able to reproduce your issue, can you link your codebase, ideally in the state you're currently trying to run the codemods in? |
Beta Was this translation helpful? Give feedback.
-
I'm facing a similar issue on our project. The codemod cretaes the cache-file but exits without error code and without fixing/linting the files. You won't be able to install it as is, since we are using a licenced package that can't be placed on github. I'm running on W11, and tried to run the codemod both in bash and powershell, and I'm on LTS Node version. |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I'm facing an issue while upgrading a Patternfly 5 project to Patternfly 6 alpha. I've followed the upgrade guide and updated the dependencies accordingly. However, when running pf-codemods with the --v6 flag, I'm not getting any output in the console. There are no errors, just a blank result.
Are there any specific steps or configurations I should be aware of for Patternfly 6 alpha upgrades?
Below is the result when I ran it for the first time, after that I am just getting blank output.
I have also tried the above command giving the full path of the src folder still didnt got any result.
Addition to this I can see a cache file is getting generated in the root folder of my project, On checking that I can see it contain all the filepath of the files that are in my src folder along with some json data as given below.
Beta Was this translation helpful? Give feedback.
All reactions