Skip to content

Consider replacing the generator template engine with plop #2443

@joshuayoes

Description

@joshuayoes

One of the nice features of Ignite is being able to use EJS to create components via the CLI.

However, the current implementation has a few drawbacks:

  • CLI commands cannot accept new props without a release
  • The CLI is coupled to existing folders

See plop library for more info https://github.com/plopjs/plop

Pros of moving to plop:

  • generator commands live in project and can change with time instead of being tied to boilerplate structure
  • The project seems more mature, more features, more docs
  • plop seems to have feature parity with ignite generators
  • easier to maintain since it is an external library

Cons of moving to plop:

  • we do not maintain it, so if we need different things, we can't control the source code
  • upfront cost of extra work to implement existing functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    cookbook 🧑‍🍳A request on how a specific library or pattern would be implemented within an Ignite projectenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions