generator icon indicating copy to clipboard operation
generator copied to clipboard

Incoming changes for generator

Open derberg opened this issue 1 year ago • 3 comments

The purpose of this issue is to kida group all different issues that will change generator in coming months.

These are not new issues, some pretty old, some well discussed. So we just need to group them in a kind of roadmap.

  • Deprecations
    • We need to finally remove ag cli as we already very well support generator in AsyncAPI CLI https://github.com/asyncapi/generator/issues/1008
    • We need to set nunjucks rendering engine for deprecation and decide on details (like when will it be removed). We always wanted to remove it to make code less complex and focus fully on react that is much better than nunjucks. Unfortunately I could not quickly find any record of these old discussions. So we will have to do a deprecation with long time for template developers to plan migration
  • Monorepo
    • Basic monorepo intro work started already and we will have very simple projects included here first, like hooks (filters probably not as they are needed for nunjucks only, might be that some filters will change into reusable helpers for react templates) https://github.com/asyncapi/generator/issues/1044
    • Next big step is to include templates inside this generator monorepo as well. Template developers that want to work outside generator will still be able to do it, we should still support npm-like template installation. The goal is to focus currently very granular community of code generation (spread across different projects) in one repo, and work together on as many reusable helpers and react components as possible to make templates development and maintenance much easier

derberg avatar May 21 '24 16:05 derberg