meetjspl / poznan

Wszystkie organizacyjne sprawy Meet.js Poznań
69 stars 1 forks source link

Nx custom generators - a mean to achieve codebase consistency #95

Open wojtrawi opened 1 year ago

wojtrawi commented 1 year ago

Undoubtedly, Nx is a great tool to use on a daily basis when working on enterprise applications. One of its striking features it the ability to perform code scaffolding in a consistent way with the aid of common plugins which include a great number of generators. In addition to that, it’s also possible to create a custom generator that meets your application’s specific needs. In this presentation, I will cover how to write a custom generator from scratch with the aid of tools provided by the Nx. I will focus on generating files from templates and updating existing files in an elegant and maintainable way. I will make use of many relevant helper functions from the Nx devkit package. In addition, I will cover how to compose generators including extending the ones provided by well known plugins such as Angular library / application generators. The insights and a bunch of tips and tricks from a real world application will conclude the presentation.

SebastianPozoga commented 1 year ago

Sound great. We plan next meeting on 10.10.2023 at 18:00. Whether it suits you?

wojtrawi commented 1 year ago

Looks good to me 👌

wojtrawi commented 1 year ago

The topic will be covered later in the future - on 10.10.2023 the topic about the inject function in Angular will be covered.

SebastianPozoga commented 1 year ago

Cześć Czy pasuje Ci termin 14.11.2023 na poprowadzenie prezentacji?