Conversation
Add support for CSV-based recipe installation by generating recipes-v5.csv with all available recipes (maven, npm, pip ecosystems). Match the Moderne CLI column format: ecosystem, packageName, requestedVersion, version, name, displayName, description, recipeCount, categories with descriptions, options with examples, and data tables with column definitions. Add a CSV Installation section to the version docs with download link.
|
Still need to verify the file generated, and placement in rewrite-docs. |
|
I'm not quite happy with duplicating the CSV write logic here; I worry that it might turn out to be fragile or wrong, especially if we are to encourage folks to use this format for new CLI installations. I'd briefly explored whether we could reuse Perhaps we can explore alternatives, like a job that periodically loads all recipes using |
Use the Moderne CLI itself to install all recipe modules into a local marketplace and export recipes-v5.csv, rather than re-implementing CSV generation in Kotlin. This keeps the CSV format in sync with the CLI and removes 210 lines of custom serialization code.
Summary
Add CSV marketplace support for the Moderne CLI by generating
recipes-v5.csvwith all available recipes across maven, npm, and pip ecosystems. Includes comprehensive metadata matching the Moderne CLI CSV format specification.Changes
The CSV includes all recipes (open-source and proprietary) with proper RFC 4180 escaping and structured JSON metadata.