Hi fellow developers,
While managing a portfolio of 30+ Mendix apps—ranging from legacy Mx7 to modern Mx10—I realized that manual dependency management simply doesn’t scale.
Building on the great work from Cinq’s mendix-userlib-cleaner, I’ve developed a Userlib Cleanup Suite that supports Mendix projects from Mx7 through Mx11.
The suite automatically parses your project’s .mpr file to detect the Mendix version and then selects the most appropriate cleanup engine from its library of optimized scripts.
What this project adds beyond Cinq’s cleaner:
Zero‑config detecting: Automatically identifies your Mendix version using the project file—no configuration needed.
Optimized cleanup engines (Mx7–Mx11): Includes tailored cleanup engines for each major Mendix version to ensure accurate, safe cleanup.
Vendorlib support for Mx10–Mx11: Handles both userlib and the newer vendorlib structure introduced in modern Mendix versions.
Automatic backups (with revert): No files are permanently deleted. All removed libraries are stored in a timestamped ZIP.Use --revert to restore changes from any cleanup run.
I’ve open‑sourced the entire project so the community can contribute ideas, improvements, or additional cleanup logic. GitHub repository : Mendix-userlib-cleanup-suite