Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template Extraction Hooks #354

Closed
lukeed opened this issue Sep 4, 2017 · 0 comments
Closed

Template Extraction Hooks #354

lukeed opened this issue Sep 4, 2017 · 0 comments

Comments

@lukeed
Copy link
Member

lukeed commented Sep 4, 2017

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.

@lukeed lukeed added this to the 2.0 milestone Sep 4, 2017
@reznord reznord removed this from the 2.0 milestone Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants