A note to anyone trying this tutorial.
There is a bug in the generator when generating content-type to plugin folder for the schema.json and updating the index.js. It will not update the content-type folder’s index.js and not creating any content-type’s index.js for export.
Refer: Add a content-type to a plugin - How to create a Strapi v4 plugin