@nx/next を 23.x から 24.x へアップグレード
@nx/next 23.3.1 と 24.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 5 |
| 変更されたシグネチャ | 2 |
| 削除されたクラス/インターフェースのメンバー | 0 |
| 変更されたクラス/インターフェースのメンバー | 0 |
| 新たに非推奨 | 2 |
| 要件の変更(engines、peer 依存関係) | 1 |
| 新しいエクスポート | 0 |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
@nx/next/src/utils/deprecation | warnNextExecutorGenerating | function | (): void |
@nx/next/src/utils/deprecation | warnNextBuildExecutorDeprecation | function | (): void |
@nx/next/src/utils/deprecation | warnNextServerExecutorDeprecation | function | (): void |
@nx/next/src/utils/deprecation | NEXT_BUILD_EXECUTOR_DEPRECATION_MESSAGE | variable | "The `@nx/next:build` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/next:convert-to-inferred` to migrate to the `@nx/next/plugin` inferred targets. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details." |
@nx/next/src/utils/deprecation | NEXT_SERVER_EXECUTOR_DEPRECATION_MESSAGE | variable | "The `@nx/next:server` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/next:convert-to-inferred` to migrate to the `@nx/next/plugin` inferred targets. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details." |
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
@nx/next · withNx | (_nextConfig?: WithNxOptions | undefined, context?: WithNxContext | undefined): NextConfigFn | (config?: WithNxOptions | undefined, _context?: WithNxContext | undefined): NextConfigFn |
@nx/next · composePlugins | (...plugins: (NextPlugin | NextPluginThatReturnsConfigFn)[]): (baseConfig: NextConfig) => NextConfigFn | (..._plugins: (NextPlugin | NextPluginThatReturnsConfigFn)[]): (baseConfig: NextConfig) => NextConfigFn |
削除されたクラス/インターフェースのメンバー
検出されませんでした。
変更されたクラス/インターフェースのメンバー
検出されませんでした。
新たに非推奨
| export | @deprecated |
|---|---|
@nx/next · withNx | Export the Next.js config directly and compose any other wrappers yourself. This inert stub will be removed in Nx v25. |
@nx/next · composePlugins | Export the Next.js config directly and compose any other wrappers yourself. This inert stub will be removed in Nx v25. |
要件の変更(engines、peer 依存関係)
| 変更前 | 変更後 | |
|---|---|---|
peerDependencies.@nx/webpack | 23.3.1 | 24.0.0 |
このデータを 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/next を 23 から 24 にアップグレードする際の破壊的変更は?
@nx/next 23.3.1 と 24.0.0 の間で、Vigia は削除されたエクスポートを 5 件、変更されたシグネチャを 2 件、削除または変更されたクラス/インターフェースのメンバーを 0 件検出しました。
@nx/next 24 で非推奨になったものは?
@nx/next 24.0.0 では 2 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/next/upgrade?from=23.3.1&to=24.0.0