-
-
Notifications
You must be signed in to change notification settings - Fork 336
feat(node): Custom HMR Bundler Runtime & Client #3849
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
Draft
ScriptedAlchemy
wants to merge
30
commits into
module-reloaders
Choose a base branch
from
module-reladers-continues
base: module-reloaders
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…3821) Co-authored-by: Hanric <hanric.zhang@gmail.com>
…g edge cases and performance scenarios
🦋 Changeset detectedLatest commit: 356d3dd The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@ScriptedAlchemyBot review |
…lities - Convert MCP host from TypeScript to JavaScript for simplified runtime - Update webpack config to handle JS modules with Module Federation - Add debug logging and MCP host verification functionality - Create debug log tracking for development workflow - Configure proper build and serve targets for development 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Set config.output.publicPath = 'auto' to fix manifest plugin issue - Host now properly attempts to load remotes via HTTP - Identified root cause: remotes missing @module-federation/runtime-core dependency 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Fix MCP registry to call tool handlers directly instead of using server.request() - Add auto-shutdown after demo completion for better development workflow - Enable successful tool execution for filesystem, database, and git operations - Resolve "Not connected" errors by bypassing network transport layer 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts: # packages/node/src/runtimePlugin.ts # pnpm-lock.yaml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces significant improvements to the HMR (Hot Module Replacement) debugging system, transitioning from a backend-dependent approach to a flexible, provider-based architecture. It includes refactoring of the runtime state, new update provider options, enhanced force update capabilities, and expanded testing and development scripts.
Refactoring and Architecture Changes:
apps/vm-hotreload/full-demo/basic_debugging/README.md
, apps/vm-hotreload/full-demo/basic_debugging/README.mdR1-R218)createHMRRuntime
to initializecurrentUpdate
,currentUpdateRemovedChunks
, andcurrentUpdateRuntime
with more appropriate default values. (apps/vm-hotreload/full-demo/basic_debugging/hmr-runtime.js
, apps/vm-hotreload/full-demo/basic_debugging/hmr-runtime.jsL618-R620)Enhanced Force Update Capabilities:
apps/vm-hotreload/full-demo/basic_debugging/README.md
, apps/vm-hotreload/full-demo/basic_debugging/README.mdR1-R218)New Examples and Documentation:
apps/vm-hotreload/full-demo/basic_debugging/example-usage.js
, apps/vm-hotreload/full-demo/basic_debugging/example-usage.jsR1-R205)Expanded Development and Testing Scripts:
package.json
scripts to include unit, integration, end-to-end, and HMR client-specific tests, along with sequential and watch modes for testing. (apps/vm-hotreload/full-demo/basic_debugging/package.json
, apps/vm-hotreload/full-demo/basic_debugging/package.jsonL7-R20)Related Issue
Types of changes
Checklist