Main entry point for the complete code generation process.
Orchestrates the entire pipeline from database schema analysis to final code output. The process is highly configurable through the configuration file and can be partially skipped for faster iteration during development.
Process Flow:
If true, skips all database-related operations (metadata management, SQL generation). Useful for faster UI-only regeneration.
Promise that resolves when generation is complete
Error if any critical step fails
Sets up the SQL Server data source and initializes the MemberJunction core metadata. This method establishes the database connection pool and configures the data provider that will be used throughout the code generation process.
Override this method to customize the data source setup process for different database providers or connection configurations.
Promise resolving to the configured SQLServerDataProvider instance
Error if connection setup fails
Main orchestrator class for the MemberJunction code generation process.
This class coordinates a comprehensive code generation pipeline that transforms database schemas into a complete, type-safe, full-stack application. The process includes:
Pipeline Steps:
Customization: You can sub-class this class and override specific methods to customize the code generation process for your specific needs.
Example