Vigia

@nx/react を 23.x から 24.x へアップグレード

@nx/react 23.3.1 と 24.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス1
削除されたエクスポート2
変更されたシグネチャ4
削除されたクラス/インターフェースのメンバー1
変更されたクラス/インターフェースのメンバー0
新たに非推奨2
要件の変更(engines、peer 依存関係)3
新しいエクスポート1

削除されたインポートパス

削除されたインポートパス
@nx/react/mf

削除されたエクスポート

importexportkind変更前
@nx/reacthostGeneratorfunction(host: Tree, schema: Schema): Promise<GeneratorCallback>
@nx/reactremoteGeneratorfunction(host: Tree, schema: Schema): Promise<GeneratorCallback>

変更されたシグネチャ

export変更前変更後
@nx/react · withReact(pluginOptions?: WithReactOptions | undefined): (config: Configuration, context: NxWebpackExecutionContext) => Configuration(_options?: WithReactOptions | undefined): (config: Configuration, _context?: any) => Configuration
@nx/react/module-federation · withModuleFederationany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/react/module-federation · withModuleFederationForSSRany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/react/plugins/with-react · withReact(pluginOptions?: WithReactOptions | undefined): (config: Configuration, context: NxWebpackExecutionContext) => Configuration(_options?: WithReactOptions | undefined): (config: Configuration, _context?: any) => Configuration

削除されたクラス/インターフェースのメンバー

memberimport変更前
ReactRouterPluginOptions.typecheckTargetName@nx/react/router-pluginstring | undefined

変更されたクラス/インターフェースのメンバー

検出されませんでした。

新たに非推奨

export@deprecated
@nx/react/module-federation · withModuleFederationRemoved in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25.
@nx/react/module-federation · withModuleFederationForSSRRemoved in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25.

要件の変更(engines、peer 依存関係)

変更前変更後
peerDependencies.express^4.21.2—
peerDependencies.@nx/module-federation23.3.1—
peerDependencies.http-proxy-middleware^3.0.7—
新しいエクスポート (1)
importexportkind
@nx/react/internalapplyReactConfigfunction

このデータを AI エージェントに渡す

Vigia は無料の MCP サーバーです。コーディングエージェントがコードを書く前に、バージョン・破壊的変更・脆弱性を確認できます。登録も API キーも不要です。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Cursor に追加VS Code に追加★ GitHub でスターを付ける

その他の MCP クライアント
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

エージェント用スキル (SKILL.md):Vigia を使うタイミングをエージェントに伝えます · プルリクエスト用 GitHub Action

よくある質問

@nx/react を 23 から 24 にアップグレードする際の破壊的変更は?

@nx/react 23.3.1 と 24.0.0 の間で、Vigia は削除されたエクスポートを 2 件、変更されたシグネチャを 4 件、削除または変更されたクラス/インターフェースのメンバーを 1 件検出しました。

@nx/react 24 で非推奨になったものは?

@nx/react 24.0.0 では 2 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

GET https://vigia.coredls.cloud/v1/packages/npm/@nx/react/upgrade?from=23.3.1&to=24.0.0