Revert "Migrates to use module federation for plugins"#62
Conversation
This reverts commit 6c48325.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Caution Review failedThe pull request is closed. WalkthroughThe pull request encompasses a comprehensive refactoring of the backend and frontend build configurations, service implementations, and plugin architecture. The Dockerfile build process is simplified, dependencies are restructured, and several outdated tests and configuration files have been removed. Major updates include a switch to Bun for both building and database operations, new plugin integrations for content transformation and distribution, and a re-engineered server initialization using the Elysia framework. Documentation and configuration files have been updated accordingly. Changes
Sequence Diagram(s)sequenceDiagram
participant User as Client
participant Main as Application (Elysia)
participant TS as TwitterService
participant DS as DistributionService
participant PL as Plugin Loader
User->>Main: Send API Request
Main->>TS: Initialize Twitter Service
Main->>DS: Initialize Distribution Service
DS->>PL: Load plugins (GPTTransformer, NotionPlugin, RSSPlugin, etc.)
PL-->>DS: Return plugin instances
Main->>User: Respond to API Request
Possibly related PRs
Poem
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
* Migrates to use module federation for plugins (#61) * Adds module federation support for distributor + transformer plugins (#55) * adds memory bank and plugin loader * adds plugin service * wip * working distributor plugins w/ module federation, some TOODs * working, nice, clean plugin service * fmt * addresses comments * set the correct remotes * update memory bank and documentation * implements transform plugins * update memories * fmt * fmt * fix docs for ai-transform * fmt * remove broken link * fix docs * fmt * passing tests * adds tests * adds multi item error * add necessary dependencies for better-sqlite-3 * remove libsql and copy over frontend dist * install @libsql/client * adds externals * fmt * use node for building * convert to better-sqlite-3 * improve docker image * fmt * Revert "Migrates to use module federation for plugins (#61)" (#62) This reverts commit 6c48325. * Migrates plugins to use module federation (#63) * Adds module federation support for distributor + transformer plugins (#55) * adds memory bank and plugin loader * adds plugin service * wip * working distributor plugins w/ module federation, some TOODs * working, nice, clean plugin service * fmt * addresses comments * set the correct remotes * update memory bank and documentation * implements transform plugins * update memories * fmt * fmt * fix docs for ai-transform * fmt * remove broken link * fix docs * fmt * passing tests * adds tests * adds multi item error * add necessary dependencies for better-sqlite-3 * remove libsql and copy over frontend dist * install @libsql/client * adds externals * fmt * use node for building * convert to better-sqlite-3 * improve docker image * fmt * migrate to hono and node * clean up * nodemon * fmt * replace bun * fix bun command * fix npm command * fix scripts * npx * correct command * node module hoisting * fix packages * fmt * package.json * wip for good deploy * fmt * normalizes db async * fmt * fix dist * working plugins * fmt
Reverts #61
Summary by CodeRabbit
New Features
Refactor
Documentation
Chores