@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 |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
@nx/react | hostGenerator | function | (host: Tree, schema: Schema): Promise<GeneratorCallback> |
@nx/react | remoteGenerator | function | (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 · withModuleFederation | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
@nx/react/module-federation · withModuleFederationForSSR | any | (..._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 |
削除されたクラス/インターフェースのメンバー
| member | import | 変更前 |
|---|---|---|
ReactRouterPluginOptions.typecheckTargetName | @nx/react/router-plugin | string | undefined |
変更されたクラス/インターフェースのメンバー
検出されませんでした。
新たに非推奨
| export | @deprecated |
|---|---|
@nx/react/module-federation · withModuleFederation | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
@nx/react/module-federation · withModuleFederationForSSR | Removed 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-federation | 23.3.1 | — |
peerDependencies.http-proxy-middleware | ^3.0.7 | — |
新しいエクスポート (1)
| import | export | kind |
|---|---|---|
@nx/react/internal | applyReactConfig | function |
このデータを 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