bundle adapters in hattip
to ease adoption
#177
Replies: 6 comments
-
Hi we're working on a Vite based CLI that will bring a very convenient DX. It's only semi-functional right now but when it's ready in a few days, it will feel like using one of Vite-based metaframeworks like SvelteKit, Rakkas, or Astro, minus the frameworK. There will also be a project initializer ( I'll close this when we release the CLI. |
Beta Was this translation helpful? Give feedback.
-
The CLI won't address the outlined problems :) If the CLI is yet another package on NPM, the downloads will be split among yet another npm package. You can bundle everything hattip related in one npm package to incentivise people to adopt hattip due to higher downloads on NPM. Thinking out loud here on how to drive adoption for hattip |
Beta Was this translation helpful? Give feedback.
-
We've plans to significantly increase the number of HatTip users. I think the number of npm downloads won't be an issue then. |
Beta Was this translation helpful? Give feedback.
-
Yes, but the |
Beta Was this translation helpful? Give feedback.
-
We are interested. Running into multiple issues with express right now. Our architecture is unusual. One server runs everything. Modules export handlers that are imported by the server. So kinda a monolith but not really. Most things are split by module. Large downside:
|
Beta Was this translation helpful? Give feedback.
-
Vite handles linked npm packages as |
Beta Was this translation helpful? Give feedback.
-
Problem
hattip
dependencies slightly lowering DX but, more importantly, spreading the downloads of Hattip across multiple packages.Sugesstion
Bundle all adapters in
hattip
likehattip/adapter/node
.We had a similar discussion for inlang opral/monorepo#460 (comment)
Beta Was this translation helpful? Give feedback.
All reactions