Git Product home page Git Product logo

Comments (4)

nicoespeon avatar nicoespeon commented on August 20, 2024 1

@tjx666 indeed. Both work well enough to make a generator. I wanted to try hygen with Abracadabra and it did the job. Plop.js would have worked too.

If you are dealing with a big monorepo, then maybe hygen is the better choice since it was made for speed & scale it seems: jondot/hygen#1 (comment)

from abracadabra.

nicoespeon avatar nicoespeon commented on August 20, 2024

I've set up hygen & created a basic refactoring generator.

What's left to do:

  • Create ADR to explain the choice
  • Document usage

Nice to have:

  • Dynamic prompt instead of CLI parameters
  • Ask for ErrorReason details in prompt, so we can create it instead of putting TODOs in generated code

from abracadabra.

nicoespeon avatar nicoespeon commented on August 20, 2024

This can be done with yarn new.

Context has been documented in this ADR.

IMO, this will be enough for now. We'll make it evolve if necessary, upon usage.

from abracadabra.

tjx666 avatar tjx666 commented on August 20, 2024

@nicoespeon I see you had ever contributed to plop. What's you opinion about plop vs hygen now?
I'm choosing a generator framework to generate new package for big monorepo project.

from abracadabra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.