·
38 commits
to main
since this release
Major Refactor: Extract Live Components to Monorepo
Live Components code has been extracted from core/ into standalone npm packages under the @fluxstack/live scope. This reduces the framework core by ~11,000 lines and allows the Live system to be versioned and published independently.
Changed
- Live Components are now npm packages:
@fluxstack/live,@fluxstack/live-client,@fluxstack/live-react,@fluxstack/live-elysia core/server/live/reduced from full implementation to thin re-exports from@fluxstack/liveand@fluxstack/live-elysiacore/client/reduced from full implementation to re-exports from@fluxstack/live-clientand@fluxstack/live-react- Vite config now includes source aliases for
@fluxstack/live,@fluxstack/live-client, and@fluxstack/live-react(frontend dev uses TypeScript source directly) - Tests migrated to v0.3.0 API:
setLiveComponentContextDI pattern replacesvi.mock, async flush forWsSendBatcher - CI Bun version updated to 1.3.2
Added
- Typed LiveRoom demos:
LivePingPong,LiveSharedCounterwith dedicated Room classes (ChatRoom,CounterRoom,DirectoryRoom,PingRoom) PingPongDemo.tsx,SharedCounterDemo.tsx— new frontend demo componentsLLMD/resources/live-binary-delta.md— binary delta codec documentationplugins/*/bun.lockadded to.gitignore- Bundler now logs stdout/stderr on build failure for CI debugging
Removed
core/server/live/ComponentRegistry.ts,WebSocketConnectionManager.ts,StateSignature.ts,LiveRoomManager.ts,RoomEventBus.ts,RoomStateManager.ts,FileUploadManager.ts,LiveComponentPerformanceMonitor.ts,LiveDebugger.ts,LiveLogger.ts— moved to@fluxstack/livecore/server/live/auth/— moved to@fluxstack/livecore/server/live/__tests__/— moved tofluxstack-livemonorepocore/client/LiveComponentsProvider.tsx,Live.tsx,LiveDebugger.tsx— moved to@fluxstack/live-reactcore/client/hooks/useLiveComponent.ts,useRoom.ts,useRoomProxy.ts,useLiveDebugger.ts,useChunkedUpload.ts,useLiveChunkedUpload.ts,AdaptiveChunkSizer.ts,state-validator.ts— moved to@fluxstack/live-clientcore/build/vite-plugin-live-strip.ts— moved to@fluxstack/liveLiveDebuggerUI and exports (removed entirely, not extracted)LiveChatandLiveTodoListdemo components (replaced by new typed demos)ChatDemo.tsx,TodoListDemo.tsx,LiveDebuggerPanel.tsx— replaced by new demosworkspace.json— stale config referencing non-existent./packages/*
Fixed
- Bun bundler failing on Linux CI with
"Could not resolve: @fluxstack/live"— caused by"bun"export condition in@fluxstack/live@0.3.0pointing to non-existentsrc/(fixed in@fluxstack/live@0.3.1) live-components-generator.tsbasename extraction bug- Vite aliases made conditional for CI compatibility
npm packages published
| Package | Version |
|---|---|
@fluxstack/live |
0.3.1 |
@fluxstack/live-client |
0.3.1 |
@fluxstack/live-react |
0.3.1 |
@fluxstack/live-elysia |
0.2.1 |