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

integration templates (community templates?) #14

Open
sor4chi opened this issue Jan 2, 2024 · 4 comments
Open

integration templates (community templates?) #14

sor4chi opened this issue Jan 2, 2024 · 4 comments

Comments

@sor4chi
Copy link
Contributor

sor4chi commented Jan 2, 2024

This is just my proposal and I would like opinions and discussion.

Right now, I think create hono basically serves as a basic foundation for each runtime.

I am wondering if this could be extended to allow access to community templates authenticated by Hono org or to provide samples of various integrations.

For example, vite has a lead from create-vite to create-vite-extra and create-electron-vite, and also provides a runtime that extends the base template and an integration template with other frameworks.

@yusukebe
Copy link
Member

yusukebe commented Jan 2, 2024

@sor4chi

That's interesting, but first, something like create-hono-extra doesn't exist right now, so I think we can't proceed. If someone creates such a thing, it could be integrated into create hono.

@sor4chi
Copy link
Contributor Author

sor4chi commented Feb 2, 2024

Since we want to use the Create Hono Hook mechanism like %%PROJECT_NAME%%, we may consider a simpler method, such as npm create hono [external-repository-url] to bring an external repository at the same time as the create-hono hook.

@yusukebe
Copy link
Member

yusukebe commented Feb 2, 2024

@sor4chi

Sounds good. I like that with like a --external option:

npm create hono --external https://github.com/....

@sor4chi
Copy link
Contributor Author

sor4chi commented Feb 4, 2024

That looks better.

I'm sure that as more Hooks are added to create-hono in the future, the community template can follow suit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants