What version of @strapi/sdk-plugin are you using?
- npm: 10.9.4
- node: v22.22.1
- React: 18/19 ??
- @strapi/sdk-plugin: 6.0.1
What's Wrong?
When initializing a new plugin using what is recommended in the docs, it seems that things are outdated, some are broken
npx @strapi/sdk-plugin init my-strapi-plugin
These scripts will fail as there are no such command run
"test:ts:front": "run -T tsc -p admin/tsconfig.json",
"test:ts:back": "run -T tsc -p server/tsconfig.json"
Strapi Design System and Icons are using an old version. At the time of this writing the last version is 2.2.0
"@strapi/design-system": "^2.0.0-rc.30",
"@strapi/icons": "^2.0.0-rc.30",
Strapi is still using React 18, and has version 18 installed in the root and in the created plugin, but the version of the types are 19
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
To Reproduce
Create a new plugin using @strapi/sdk-plugin
https://docs.strapi.io/cms/plugins-development/create-a-plugin#creating-the-plugin
Expected Behaviour
All the versions are correct. Scripts can run without failing.
What version of
@strapi/sdk-pluginare you using?What's Wrong?
When initializing a new plugin using what is recommended in the docs, it seems that things are outdated, some are broken
These scripts will fail as there are no such command
runStrapi Design System and Icons are using an old version. At the time of this writing the last version is 2.2.0
Strapi is still using React 18, and has version 18 installed in the root and in the created plugin, but the version of the types are 19
To Reproduce
Create a new plugin using @strapi/sdk-plugin
https://docs.strapi.io/cms/plugins-development/create-a-plugin#creating-the-plugin
Expected Behaviour
All the versions are correct. Scripts can run without failing.