codemods
codemods copied to clipboard
A set of scripts to help migrate Strapi plugins (and in some cases Strapi applications) from v3 to v4
We originally used the [strapi-starter-gatsby-corporate](https://github.com/strapi/strapi-starter-gatsby-corporate) template to set up our website. This sets up two folders in a single Git repo: `backend` (Strapi) and `frontend` (Gatsby). Now that I'm trying...
## Bug report ### Required System information create table `mapCareers` (`id` int unsigned not null auto_increment primary key, `title` varchar(255) null, `description` longtext null) - ER_TABLE_EXISTS_ERROR: Table 'mapcareers' already exists...
I don't have the exact error in front of me at the moment as I have already worked through it... But when my single type `30-day-dental-health-challenge` was renamed to `dental-health-challenge`...
Hi guys, I just wanted to mention an issue I ran into while using codemods script. After running the `npx @strapi/codemods migrate` command I received an error `Cannot set property...
While migrating my application I got the error: ``` error: Cannot find module '/[...]/strapi-project/config/database.js' Require stack: - /home//.npm/_npx/636cd3a3cca06392/node_modules/@strapi/codemods/lib/v4/migration-helpers/update-application-folder-structure.js - /home//.npm/_npx/636cd3a3cca06392/node_modules/@strapi/codemods/lib/v4/migration-helpers/index.js - /home//.npm/_npx/636cd3a3cca06392/node_modules/@strapi/codemods/lib/v4/index.js - /home//.npm/_npx/636cd3a3cca06392/node_modules/@strapi/codemods/lib/index.js - /home//.npm/_npx/636cd3a3cca06392/node_modules/@strapi/codemods/bin/commands/migrate.js - /home//.npm/_npx/636cd3a3cca06392/node_modules/@strapi/codemods/bin/commands/default-commands.js - /home//.npm/_npx/636cd3a3cca06392/node_modules/@strapi/codemods/bin/cli.js...
There are coding conventions that teams follow that this mod is assuming as THE standard. However, it should be to the engineer what to transform. So give them the option...