Publishing a Strapi plugin to npm and the Marketplace

A plugin that works in your test app still needs packaging, verification, a release process and a support policy before other teams can install it safely. This page covers what that release work involves and what to decide before handing it to a partner.

On this page

Publishing a Strapi plugin to npm and the Marketplace: when a team needs this work

A team needs this work when a Strapi plugin it built for one project must be installed in other projects, or when it should be listed for other teams or customers to find. Publishing means packaging the plugin so another Strapi project can install it from npm or a private registry, verifying that the package works in a clean test app, releasing a versioned build, listing it in the Strapi Marketplace where that fits, and supporting users as Strapi moves between versions. Copying the folder between repositories works for one team for a while, but it stops scaling once the plugin has more than one consumer, which is when the packaging and release discipline becomes necessary.

The licensing position shapes the scope. The Community Edition of Strapi is released under the MIT Expat license, as stated in the Strapi LICENSE file, so a plugin built on Community Edition APIs can be distributed under terms the author chooses, subject to the rules of the destination. Code in the ee directories belongs to the Enterprise Edition and is governed by a separate Strapi license, so it is not part of a standard npm release of a plugin. Before you package anything, confirm with your legal or licensing contact which parts of the codebase are Community Edition, whether any dependency or copied snippet carries a different license, and whether the Marketplace listing terms apply to your distribution model. Those answers decide who can receive the package and whether it can be published publicly at all.

Publishing is a recurring commitment, not a one-time upload. Each Strapi minor release can change the admin or server APIs your plugin depends on, so the team that publishes must also decide which Strapi versions it will test against and how long it will support each release line. Ask the team that will own the plugin to name who responds to bug reports, who runs the verification steps before each release, and how they will tell users that a new version drops support for an older Strapi version. Those owners, their time, and the test environments they maintain are the real cost drivers, and they should appear in any scope or quote before the work starts.

What a Strapi plugin release covers

A plugin release is more than a published package. Each component below can fail on its own, and a gap in one shows up later as a broken install or an upgrade that stalls a customer. Work through them in order before any version reaches users.

Package contents and metadata

The package needs the right files, a correct name, a version, entry points and declared peer dependencies on the Strapi packages it uses. Check the package.json fields that tell Strapi and npm what the plugin exports and which Strapi versions it expects. Confirm that the published files include the built output and exclude source, test fixtures and local secrets.

Strapi license

Build output

The plugin ships compiled server and admin code, so the build must run cleanly from a fresh checkout. Confirm that the output matches the module formats Strapi loads and that the admin bundle builds against the Strapi version you target. A build that only works on a developer machine with cached dependencies will fail for every user who installs the package.

Verification in a clean Strapi 5 app

Install the packed plugin into a new Strapi 5 project that has never seen your source tree, then start the app and exercise every admin page, route and content type. Test on the Node.js and database combinations your listing claims, because Strapi 5 supports a defined set of each. Record the versions tested so the release notes can say exactly what was verified.

npm publication

Publishing to npm makes the package public and permanent at a given version, so the release steps should be scripted and reviewed before the publish command runs. Decide who holds publish rights, how two-factor authentication is enforced and how a bad release is deprecated rather than silently replaced. Confirm the license field matches the license you chose for the code.

Marketplace listing

The Strapi Marketplace presents plugins to prospective buyers and users, and each listing needs its own description, screenshots, compatibility details and contact information. Listing criteria were not supplied for this page, so confirm the review process, required assets, pricing model and any Enterprise or Community categories directly with Strapi before you plan a launch date.

Ongoing version support

Every new Strapi 5 minor release is a chance for a plugin to break, so plan who watches the release feed, runs the test app against new versions and publishes compatibility updates. Decide which Strapi versions you will still support and tell users in the changelog. Ask whether your support commitment covers older Strapi 5 minors and how long you will keep fixing bugs in a release line.

Which release path fits the plugin

A private npm package or a Git dependency keeps the plugin inside one organization. Your own team maintains it, and the people who install it are the ones you already trust with the code. This path suits internal plugins that encode company content rules, approval flows or integrations that no outside user needs. Because nobody outside the organization sees the package, the license question still matters for your own records, but the publishing risk is mostly about access.

  • Maintainer: Your internal engineering team owns releases, versions and bug fixes for every Strapi project that consumes the package.
  • Access controls: Confirm which registry or repository accounts can read and publish, and how CI systems authenticate without shared personal tokens.
  • License file: Add a license file that states the terms for internal use, even when the package never leaves the organization.
  • Support expectations: Agree in writing who answers installation and upgrade questions, and which Strapi versions the team supports.
  • Git dependencies: Pin a tag or commit so builds do not change when the default branch moves.

Before you choose this path, check that every consuming project can reach the registry or repository from its build environment, including offline or restricted networks.

How the release sequence runs from build to first install

The sequence moves a plugin from a confirmed license and clean package metadata to a verified build that installs in a fresh Strapi project before any public listing goes live. Each step closes with a artifact the release owner can inspect.

  1. Confirm license and package ownership

    Before any code is packaged, the plugin owner checks the license file, the copyright holder, and whether any code sits under an Enterprise directory with a separate Strapi license. Community Edition code can be released under the terms the owner chooses, but code that depends on Enterprise features cannot be redistributed under an open license. The output is a short written record of the license, the npm scope and the accountable maintainer, signed off by whoever owns the release decision.

  2. Set package metadata and entry points

    The release owner fills in the package name, version, keywords, repository, supported Strapi peer range and the entry points that Strapi loads for server and admin code. Files that should not ship, such as test fixtures and local configuration, are excluded from the published package. The check is a dry-run package listing that shows only the intended files and a metadata review against the plugin's declared Strapi compatibility.

  3. Build and link to a test app

    The developer builds the plugin and links it into a local Strapi test project so the admin panel and server code run as they will for users. Build output is compared with the source to catch missing exports or stale bundles. The step is complete when the test app starts, the plugin appears in the admin menu and its server routes respond, with the start log and a screenshot kept with the release notes.

  4. Verify against each claimed Strapi version

    The team runs the build and its tests against every Strapi version listed in the peer range, using the Strapi releases the plugin says it supports. Strapi 5 minor releases ship frequently, so the matrix should name exact versions tested, not a range. The output is a compatibility matrix recording the Strapi version, Node.js version, database and pass or fail result for each combination, with any unsupported combinations removed from the declared range.

  5. Publish a pre-release or private build

    The release owner publishes a pre-release tag or a private package to a registry the test team can reach, without making it the default install. This lets an installer outside the development environment test the artifact as users receive it. The step is done when the package resolves from the registry, its version and tag are recorded, and the release owner can roll back the pre-release tag if verification fails.

  6. Run a first install in a fresh project

    A tester who did not write the plugin creates a new Strapi project on a clean machine or container, installs the pre-release package with the package manager, enables it and completes the first-run steps in the admin panel. The install should use the database and Node.js versions named in the compatibility matrix. The output is an install log with no unresolved peer dependency warnings, plus a short record of any manual steps that a user would need to repeat.

  7. Tag the release and publish to npm

    Once the fresh install passes, the owner creates a version tag in the source repository that matches the published package version, then publishes the stable release to npm. The release notes state the tested Strapi versions, breaking changes and migration steps. The check is that the npm registry shows the expected version and that the tag in the repository points to the same commit as the published build.

  8. Submit the Marketplace listing

    With the npm release live, the owner prepares the Marketplace submission using the package details, documentation, screenshots and the compatibility matrix, then submits it for Strapi's review. Requirements and review criteria should be confirmed in the current Strapi documentation before submission, since they are not part of this sequence's fixed facts. The sequence is complete when the submission is accepted for review and the owner records who will answer user questions and handle version updates.

Supporting users across Strapi 5 minor releases and v4 end of life

Strapi 5 minor releases arrive frequently, so a plugin that declares its compatibility loosely will drift out of step with the core within weeks. The supplied release record shows v5.56.0 on September 30, 2026, v5.57.0 on October 7, 2026 and v5.58.0 on October 14, 2026, which is roughly one minor per week. Declare the Strapi range your plugin actually supports in peerDependencies in package.json, for example @strapi/strapi set to a ^5.x range you have tested, and avoid an open-ended range that accepts releases you have never run. Keep the range narrow enough that a user installing against a future minor sees a clear version warning rather than a silent break. Review the range each time you cut a release, and record in your changelog which core minor you tested against.

Strapi v4 reached end of life on April 30, 2026, and its final release, 4.26.2, arrived on June 9, 2026 with no further updates. Before you decide whether to publish a v4 branch, ask your users or your support inbox which Strapi major they run. If a meaningful group is still on v4, maintain a separate branch with its own peerDependencies range and a published npm dist-tag, so v4 users are not forced onto v5 code they cannot load. If your support base is already on v5, state the v4 cutoff in the README and stop accepting v4 bug reports. Either way, the v5 migration guide is the document your users will need, so link to it from your release notes rather than writing your own version of it.

Test against the current Strapi 5 minor line and against every Node.js version that Strapi 5 supports, because the installation requirements list only Active or Maintenance LTS releases. Add a CI matrix that installs a fresh Strapi 5 test app at the newest minor, runs your plugin's build and verification steps, and repeats the run on each supported Node.js version. Confirm the supported Node.js list and database versions against the installation requirements at release time, since they change. Run a scheduled job against the latest minor each week so that a breaking core release surfaces in your pipeline before your users find it. Treat a failing matrix cell as a release blocker for the range you declared.

What drives the cost and time of a plugin release

This table maps each effort driver to why it changes the work of a plugin release and how to keep it under control. Read it before scoping, because the driver you can narrow earliest is usually the cheapest saving. The main takeaway is that the number of Strapi versions and databases you claim multiplies test and support work more than any single feature does.

DriverWhy it changes effortHow to reduce it
Admin and server surfacesEach admin page, settings section, injection zone, route, controller and service needs build, verification and release testing. Surfaces that touch both admin and server double the checks.Ship the smallest feature set for the first release. Defer optional admin pages to a later version.
Document Service and content typesPlugin content types and calls to the Document Service must be tested against Strapi 5 document behavior, including draft and published states. Custom data access adds review and test cases.Use the Document Service APIs documented for Strapi 5 instead of custom database queries. Limit plugin content types to what the feature needs.
Strapi versions claimedEvery supported Strapi 5 minor release you list in the package metadata becomes a test target. Releases have shipped roughly weekly, so the matrix grows quickly without a policy.Set a written support policy that names the Strapi versions you test against and the cadence for dropping old ones. Confirm the current release list before each release.
Database coverageStrapi 5 supports PostgreSQL, MySQL, MariaDB and SQLite, each with its own version floor. Claiming all four means running the suite on each, and query behavior can differ between them.Declare only the databases you have tested. Ask users which databases they run before adding a fourth engine to the matrix.
Enterprise dependenciesFeatures that rely on Enterprise plugins or license-gated code need a licensed test environment, registry access in CI and checks for offline builds. Each one adds setup and support questions.Keep the core plugin on the Community Edition where possible. Isolate Enterprise-only features behind a clearly separated module with its own tests.
Automated test depthUnit, integration and end-to-end tests against a real Strapi test app take time to write and maintain. Thin coverage shifts the cost to user bug reports after release.Cover server logic and permission checks first, then add admin end-to-end tests for the critical flows. Run the same suite in CI for every supported version.
Release and marketplace reviewPackaging, npm publishing, version tags, changelog entries and any Marketplace listing requirements each add steps. Changes to listing content after a release need their own check.Automate build, pack and publish steps in CI. Confirm current Marketplace submission requirements with Strapi before scheduling a release.
Ongoing user supportEach Strapi minor release can break a plugin, and users on older versions still file issues. Support load grows with the number of versions and installations you cover.Define the support window in advance. Ask whether a retainer or a scheduled compatibility check fits your release cadence.

How a plugin moves from source to a user's Strapi project

The path starts in the plugin's source repository, where the code is built and then verified inside a test Strapi 5 app before anything is released. From there the package goes to npm, and the team chooses whether it stays private for their own organization or is listed publicly in the Strapi Marketplace. Customer projects install the release, and issues they report flow back into the repository as fixes for the next release. Check each hand-off: the build output, the test app's Strapi version, and the package's listed Strapi compatibility.

Path from plugin source to a customer's Strapi project, with the public and private release choice.

Common questions before hiring help to publish a plugin

What does it cost to publish a Strapi plugin to npm and the Marketplace?

DeployOpen does not publish a price list, and a quote follows from the written scope. The main cost drivers are the plugin's size, the number of Strapi versions it must support and verify against, the admin and server surface that needs testing, and the work to prepare the npm package and Marketplace listing. Initial packaging and release are one-time costs. Version verification and support recur as Strapi ships new releases. When you ask for a quote, request a list of deliverables, the Strapi versions covered, the test apps used for verification, and a clear statement of which npm and Marketplace accounts you will own.

How long does it take to release a Strapi plugin?

The duration depends on how much of the plugin is ready and how many Strapi versions it must work with. A plugin with clean code, a passing build and a test app already in place moves faster than one that needs refactoring, admin page fixes or compatibility work. The schedule also depends on how quickly your team can answer questions about behavior, approve the license and supply accounts. Strapi 5 minor releases have shipped roughly weekly, so verification against the latest 5.x line should be part of the plan, not a single final check. Ask for a timeline tied to the agreed scope and to named review points.

What must our team supply before a plugin release starts?

Your team must confirm code ownership, meaning who holds the repository and has the right to publish it. You also need a license decision. Strapi's Community Edition is under the MIT Expat license, so confirm which license your plugin will carry and that it fits your obligations. Other inputs include test Strapi environments that match the versions you plan to support, named maintainer contacts who can answer questions and approve releases, and access to the npm and Marketplace accounts. Confirm the Marketplace submission requirements with Strapi before work starts, because they can change.

Can one internal engineer publish a Strapi plugin alone?

Yes, an engineer who already knows Strapi and npm packaging can publish a plugin without outside help. The work includes building the plugin with the Plugin SDK, linking it to a test app, verifying the admin and server behavior, setting versions, writing release notes and submitting the npm package and Marketplace listing. The risk is concentration: if one person holds the knowledge, releases and Strapi upgrades can stall when that person is unavailable. A fixed-scope engagement can cover the first release and leave your engineer with written steps, a verification checklist and a repeatable release process.

How do Strapi version changes affect a published plugin's support?

Each Strapi release can change APIs or admin behavior that your plugin depends on, so support means testing against new versions and publishing compatible updates. Strapi v4 reached end of life on April 30, 2026, and its final release, 4.26.2, arrived on June 9, 2026. A plugin that still targets v4 needs a clear support statement for its users. Strapi v5.58.0 was published on October 14, 2026, and minor releases follow each other closely, so decide which Strapi versions your plugin supports, document them in the package, and test each release against that list. Review the Strapi GitHub releases page as part of your regular check.

Can an Enterprise plugin be published publicly on npm?

Probably not without a license review. Strapi's Community Edition is under the MIT Expat license, but code in the ee directories belongs to the Enterprise Edition and is covered by a separate Strapi license. A plugin that includes or depends on Enterprise code may not be redistributable on a public registry. Before any public release, confirm the license terms in the Strapi LICENSE file and check with Strapi and your legal counsel. If the plugin only uses the Community Edition, the public release path is simpler, but the boundary should be documented in the code and the package.

What does a support retainer cover after a plugin is released?

A support retainer covers ongoing work after the first release, such as triaging bug reports, publishing patches, testing new Strapi minor releases against your supported version list and updating the package when a dependency or API changes. Retainers are arranged separately from the initial fixed-scope release. Ask for the response expectations in writing, the Strapi versions covered, how releases are approved and who receives notices. DeployOpen does not promise outcomes or fixed response times unless they are written into the agreed scope, so check every term before you sign.

What the team keeps after the release

The handover should leave the client with everything needed to keep the plugin alive after the first release. That means the source repository with write access granted to named maintainers, the npm package with publishing rights held by more than one person, and a written release checklist that covers the build, the verification run against a test Strapi app, the version bump, the npm publish, and the Marketplace submission. Confirm who owns the npm scope and the Marketplace account before work starts, and confirm that those accounts sit under a company identity rather than one developer's personal login. If the scope or account is later transferred, plugin ownership and listing history can become a dispute, so write the owner into the handover record.

The second part of the handover is the material that lets someone other than the author support users. Hand over a compatibility matrix that lists which Strapi 5 minor releases the plugin has been verified against, the Node.js and database versions it was tested with, the test scripts and fixtures, a changelog, and migration notes for every breaking change. Name the support contacts and the escalation path for bug reports. Agree a retest plan for each new Strapi minor release, since Strapi 5 minors have shipped roughly weekly in 2026, so the matrix will go stale quickly without a named owner who runs the tests and updates the entry.

Ask the delivery team to show, in writing, how the retest is run, how long it takes, and who approves a new matrix entry, and ask for those answers in the quote as well. Confirm whether support after release is included in the fixed scope or sold as a retainer, because retesting against every new Strapi release is recurring work that someone must pay for. The client's own team should be able to run the release checklist without the original author in the room. If it cannot, the handover is not finished.

How DeployOpen scopes and delivers plugin publishing work

DeployOpen approaches publishing a Strapi plugin as a fixed-scope release project: the package, its verification against the Strapi versions you support, the npm and Marketplace listing, and the support path after launch. Work is agreed in writing before it starts, and the same steps apply whether the plugin is public or kept inside your organization.

How we scope

  • Confirm which Strapi 5 versions the plugin must support, and which are out of scope, before any packaging starts
  • Agree whether the plugin is published to npm, listed in the Strapi Marketplace, kept private, or a combination
  • Record the release checklist, verification steps and support window in the written scope, with a quote following from it

How we build

  • Review package metadata, entry points, license declaration and included files so the published tarball contains only what users need
  • Test the plugin in a linked Strapi 5 test application on each supported version, covering install, build and admin load
  • Run the build and verification steps from a clean environment so the release can be reproduced by your own team later

How we hand over

  • Deliver a release runbook covering versioning, npm publishing, tagging and the steps for each new Strapi minor release
  • Document the Marketplace listing content, compatibility statement and the support matrix users will see
  • Transfer npm and Marketplace account ownership and access to your team, with a walkthrough of the release process

How we support

  • Offer ongoing support and compatibility checks against new Strapi 5 releases as a retainer, if your scope needs it
  • Retest the plugin when Strapi ships changes that affect its APIs, admin extensions or supported Node.js and database versions
  • Agree in writing who answers user issues, how fixes are released and how deprecations are communicated

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.