Home / Companies / Strapi / Blog / Post Details
Content Deep Dive

How to create a Strapi v4 plugin
: Publish on npm 6/6

Blog post from Strapi

Post Details
Company
Date Published
Author
Maxime Castres
Word Count
873
Company Posts That Month
22
Language
English
Hacker News Points
-
Post removed?
No
Summary

The article provides a detailed guide on developing, publishing, and maintaining a Strapi plugin, emphasizing the importance of making the plugin available on npm and GitHub before listing it on the Strapi Marketplace. It outlines the steps to initialize a GitHub repository, commit the code, and push it to GitHub, ensuring that only the plugin, not the entire Strapi project, is uploaded. The guide explains the structure and components of a basic package.json file, including details on repository, dependencies, and scope, highlighting the need for a complete README.md to describe the plugin. It also covers the nuances of publishing scoped and unscoped npm packages, with a focus on ensuring that scoped packages are made public using the --access public option. Additionally, the article explains how to update package versions using npm commands and stresses the importance of adhering to guidelines when submitting a plugin to the Strapi Marketplace. The content also briefly introduces Maxime, a developer at Strapi, who is passionate about creating content for the community.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.