@nx/rspack を 23.x から 24.x へアップグレード
@nx/rspack 23.3.1 と 24.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 2 |
| 変更されたシグネチャ | 10 |
| 削除されたクラス/インターフェースのメンバー | 0 |
| 変更されたクラス/インターフェースのメンバー | 0 |
| 新たに非推奨 | 4 |
| 要件の変更(engines、peer 依存関係) | 0 |
| 新しいエクスポート | 0 |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
@nx/rspack/plugin | createDependencies | variable | CreateDependencies |
@nx/rspack/plugin.js | createDependencies | variable | CreateDependencies |
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
@nx/rspack · withNx | (pluginOptions?: Partial<NxAppRspackPluginOptions> | undefined): NxComposableRspackPlugin | (_options?: Partial<NxAppRspackPluginOptions> | undefined): NxComposableRspackPlugin |
@nx/rspack · withWeb | (pluginOptions?: WithWebOptions | undefined): (config: Configuration, { options, context }: NxRspackExecutionContext) => Configuration | (_options?: WithWebOptions | undefined): NxComposableRspackPlugin |
@nx/rspack · withReact | (opts?: WithReactOptions | undefined): (config: Configuration, { options, context }: NxRspackExecutionContext) => Configuration | (_options?: WithReactOptions | undefined): NxComposableRspackPlugin |
@nx/rspack · composePlugins | (...plugins: (AsyncNxComposableRspackPlugin | NxComposableRspackPlugin | Promise<AsyncNxComposableRspackPlugin | NxComposableRspackPlugin>)[]): ((config: Configuration, ctx: NxRspackExecutionContext) => Promise<Configuration>) & { nxRspackComposablePlugin: boolean; } | (..._plugins: (AsyncNxComposableRspackPlugin | NxComposableRspackPlugin | Promise<AsyncNxComposableRspackPlugin | NxComposableRspackPlugin>)[]): ((config?: any, ctx?: NxRspackExecutionContext | undefined) => Promise<Configuration>) & { nxRspackComposablePlugin: boolean; } |
@nx/rspack · composePluginsSync | (...plugins: NxComposableRspackPlugin[]): ((config: Configuration, ctx: NxRspackExecutionContext) => Configuration) & { nxRspackComposablePlugin: boolean; } | (..._plugins: NxComposableRspackPlugin[]): ((config?: any, ctx?: NxRspackExecutionContext | undefined) => Configuration) & { nxRspackComposablePlugin: boolean; } |
@nx/rspack · getRspackE2EWebServerInfo | (tree: Tree, projectName: string, configFilePath: string, isPluginBeingAdded: boolean, e2ePortOverride?: number | undefined): Promise<any> | (tree: Tree, projectName: string, configFilePath: string, e2ePortOverride?: number | undefined): Promise<any> |
@nx/rspack/module-federation · withModuleFederation | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
@nx/rspack/module-federation · withModuleFederationForSSR | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
@nx/rspack/module-federation.js · withModuleFederation | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
@nx/rspack/module-federation.js · withModuleFederationForSSR | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
削除されたクラス/インターフェースのメンバー
検出されませんでした。
変更されたクラス/インターフェースのメンバー
検出されませんでした。
新たに非推奨
| export | @deprecated |
|---|---|
@nx/rspack/module-federation · withModuleFederation | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
@nx/rspack/module-federation · withModuleFederationForSSR | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
@nx/rspack/module-federation.js · withModuleFederation | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
@nx/rspack/module-federation.js · withModuleFederationForSSR | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
要件の変更(engines、peer 依存関係)
検出されませんでした。
このデータを 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/rspack を 23 から 24 にアップグレードする際の破壊的変更は?
@nx/rspack 23.3.1 と 24.0.0 の間で、Vigia は削除されたエクスポートを 2 件、変更されたシグネチャを 10 件、削除または変更されたクラス/インターフェースのメンバーを 0 件検出しました。
@nx/rspack 24 で非推奨になったものは?
@nx/rspack 24.0.0 では 4 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/rspack/upgrade?from=23.3.1&to=24.0.0