Vydrajs/vydra — reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript framework called Vydra JS for making composable microfrontends with Web Components and Lit.
I want it to feel like a small modern frontend toolkit where separate micro apps can run independently, have their own routes and lifecycle, and talk to each other through an event bus instead of being tightly connected. It should include the main packages for core dependency injection and lifecycle helpers, routing, pub/sub events, reactive forms with validation, an HTTP client, and basic internationalization.
Please also add a CLI so someone can create a new app, generate components, run a dev server, and build for production. Include a simple example app or usage sample that shows a page using dependency injection, a form, routing, and sending an event. Keep everything type safe, documented enough to understand, and organized as a monorepo. Look up current docs online if you need to.
Want more depth? Deep Reverse