medusa-dev-cli is a command-line interface (CLI) tool designed to provide development-specific helpers for contributors working on the Medusa e-commerce platform. It is part of the larger Medusa monorepo and is primarily intended for tasks like building, watching, and other development workflows within the Medusa ecosystem, rather than for direct programmatic library consumption in end-user projects. The current stable version is 2.13.6, with frequent patch and minor releases aligning with Medusa's rapid development cycle. Its key differentiator is its specific focus on developer experience for core Medusa contributors, providing specialized commands not typically exposed in the main `medusa-cli` for merchant projects. It relies on `ts-node` and `tsconfig-paths` for its execution environment.
npm install medusa-dev-cliNo compatibility data collected yet for this library.
Demonstrates how to invoke a Medusa Developer CLI command ('build') using `npx`.
Ensure `zod` is a compatible dependency in your project if you're directly using `@medusajs/framework` or related packages. Review your `package.json` and `package-lock.json` for potential conflicts.
Immediately upgrade to v2.13.3 or higher to resolve this regression. Avoid using `medusa-dev-cli` v2.13.2 in production or development environments.
Upgrade to v2.13.2 or higher to fix the regression in order listing totals. Re-test any custom order listing logic after upgrade.
Ensure all custom API routes in your Medusa project are properly guarded with validation (e.g., Zod validation) to prevent potential security vulnerabilities. Review any direct MikroORM usage outside of Medusa's core patterns.
When using experimental translation features, be prepared for potential breaking changes in subsequent releases. Refer to the latest Medusa documentation for updates on the translation API.
Ensure you are using v2.12.6 or a later version to avoid build failures related to type generation. If experiencing build issues on older versions, upgrading is the primary recommended fix.
Upgrade `medusa-dev-cli` to v2.13.3 or a newer version to fix the incorrect `req.queryConfig` behavior.
Upgrade `medusa-dev-cli` to v2.12.6 or a later version to resolve known build process regressions.
Review your project's `zod` dependencies and ensure compatibility with the version now integrated into `@medusajs/framework`. Update `zod` if necessary, or check for explicit version locks causing conflicts.