Skip to content

fix(dts-plugin): fix Windows type generation#4382

Merged
ScriptedAlchemy merged 10 commits intomainfrom
cursor/shared-property-configuration-3ee2
Feb 9, 2026
Merged

fix(dts-plugin): fix Windows type generation#4382
ScriptedAlchemy merged 10 commits intomainfrom
cursor/shared-property-configuration-3ee2

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

@ScriptedAlchemy ScriptedAlchemy commented Feb 8, 2026

Description

Fixes Windows failures in @module-federation/dts-plugin by invoking the compiler with execFile and passing arguments as an array, avoiding single-quote path issues in cmd.exe. The displayed command now uses a safely quoted project path for copy/paste.

Related Issue

#4272

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@cursor
Copy link
Copy Markdown

cursor bot commented Feb 8, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 8, 2026

🦋 Changeset detected

Latest commit: 3940efe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 43 packages
Name Type
@module-federation/dts-plugin Patch
@module-federation/cli Patch
@module-federation/enhanced Patch
@module-federation/manifest Patch
@module-federation/rspack Patch
@module-federation/modern-js-v3 Patch
@module-federation/modern-js Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/rsbuild-plugin Patch
@module-federation/rspress-plugin Patch
@module-federation/storybook-addon Patch
shared-tree-shaking-no-server-host Patch
shared-tree-shaking-no-server-provider Patch
shared-tree-shaking-with-server-host Patch
shared-tree-shaking-with-server-provider Patch
remote5 Patch
remote6 Patch
website-new Patch
@module-federation/runtime Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/sdk Patch
@module-federation/runtime-tools Patch
@module-federation/managers Patch
@module-federation/third-party-dts-extractor Patch
@module-federation/devtools Patch
@module-federation/bridge-react Patch
@module-federation/bridge-vue3 Patch
@module-federation/bridge-shared Patch
@module-federation/bridge-react-webpack-plugin Patch
@module-federation/retry-plugin Patch
@module-federation/data-prefetch Patch
@module-federation/error-codes Patch
@module-federation/inject-external-runtime-core-plugin Patch
@module-federation/runtime-core Patch
create-module-federation Patch
@module-federation/treeshake-server Patch
@module-federation/treeshake-frontend Patch
@module-federation/metro Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/esbuild Patch
@module-federation/utilities Patch

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

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 8, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 3940efe
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/698973a7c19ae10008db8d41
😎 Deploy Preview https://deploy-preview-4382--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 8, 2026

Bundle Size Report

1 package(s) changed, 37 unchanged.

Package Total dist Delta ESM gzip Delta
dts-plugin 625.6 kB +7.1 kB (+1.1%) 23.4 kB +371 B (+1.6%)

Total dist: 6.38 MB (+7.1 kB (+0.1%))
Total ESM gzip: 163.0 kB (+371 B (+0.2%))

@ScriptedAlchemy ScriptedAlchemy changed the title Shared property configuration fix(dts-plugin): restore Windows type generation and stabilize actionlint Feb 8, 2026
@ScriptedAlchemy ScriptedAlchemy marked this pull request as ready for review February 9, 2026 04:26
@ScriptedAlchemy ScriptedAlchemy changed the title fix(dts-plugin): restore Windows type generation and stabilize actionlint fix(dts-plugin): fix Windows type generation Feb 9, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c48bf69b0c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

ScriptedAlchemy and others added 4 commits February 8, 2026 20:33
Document the Windows type generation fix in a changeset for release notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
…m:module-federation/core into cursor/shared-property-configuration-3ee2
Split compilerInstance into argv tokens for execFile and cover it
with a unit test.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ScriptedAlchemy ScriptedAlchemy merged commit d1e6488 into main Feb 9, 2026
23 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the cursor/shared-property-configuration-3ee2 branch February 9, 2026 06:57
@2heal1 2heal1 mentioned this pull request Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants