Skip to content

Template Extraction Hooks #354

@lukeed

Description

@lukeed

During the extraction phase of preact create, template authors should have the ability to request/require additional information in order to scaffold a more powerful boilerplate.

This is inspired by Yeoman & Vue Cli. It would also pair nicely with #353.

Current Ideas

  • Prompts
    • Required?
    • Conditional?
  • Directory Struture
    • Conditional file copies
  • Lifecycle hooks
    • post-install
    • pre-extraction
    • post-extraction
    • ...

Extracted from #329 for clarity.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions