Admin dashboard plugin for Medusa e-commerce platform providing web interface for managing products, orders, customers, and store configuration.
—
Pending
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Pending
The risk profile of this skill
Command-line interface for building, developing, and bundling the admin dashboard and extensions. Provides tools for both development and production workflows.
Builds the admin dashboard for production deployment with optimization and asset compilation.
/**
* Build the admin dashboard for production
* @param options - Build configuration options
*/
function build(options: BuildOptions): Promise<void>;
interface BuildOptions extends AdminOptions {
/** Build for deployment to external host */
deployment?: boolean;
}Usage:
# Basic build
medusa-admin build
# Build with custom path
medusa-admin build --path /admin
# Build with custom backend URL
medusa-admin build --backend http://localhost:9000
# Build for external deployment
medusa-admin build --deployment --backend https://api.mystore.comStarts the admin dashboard in development mode with hot-reload and webpack dev server integration.
/**
* Start admin dashboard in development mode
* @param options - Development server options
*/
function develop(options: DevelopArgs): Promise<void>;
interface DevelopArgs extends AdminOptions {
/** Port for development server */
port: number;
}Usage:
# Start development server
medusa-admin develop
# Start with custom port
medusa-admin develop --port 3000
# Start with custom backend and path
medusa-admin develop --port 3000 --backend http://localhost:9000 --path /adminBundles admin extensions (routes, widgets, settings) for plugins using Rollup with TypeScript compilation.
/**
* Bundle extensions to the admin dashboard
*/
function bundle(): Promise<void>;Usage:
# Bundle admin extensions
medusa-admin bundleRequirements for bundling:
src/admin directory with extensionspackage.json with valid package nameCreates the main CLI program with all available commands.
/**
* Creates the main CLI program with all available commands
* @returns Commander.js program instance
*/
function createCli(): Promise<Command>;The build process involves several steps:
Development mode provides:
The bundle command processes admin extensions:
src/admin for routes, widgets, and settingsdist/adminSupported Extension Types:
CLI commands provide detailed error reporting: