nx を 23.x から 24.x へアップグレード
nx 23.3.1 と 24.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 0 |
| 変更されたシグネチャ | 3 |
| 削除されたクラス/インターフェースのメンバー | 12 |
| 変更されたクラス/インターフェースのメンバー | 18 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 0 |
| 新しいエクスポート | 40 |
削除されたエクスポート
検出されませんでした。
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
nx/src/native · expandFilesInput | (workspaceRoot: string, globs: string[]): string[] | (workspaceRoot: string, globs: string[], projectRoots?: string[] | null | undefined): string[] |
nx/src/native/index · expandFilesInput | (workspaceRoot: string, globs: string[]): string[] | (workspaceRoot: string, globs: string[], projectRoots?: string[] | null | undefined): string[] |
nx/src/native/index.js · expandFilesInput | (workspaceRoot: string, globs: string[]): string[] | (workspaceRoot: string, globs: string[], projectRoots?: string[] | null | undefined): string[] |
削除されたクラス/インターフェースのメンバー
| member | import | 変更前 |
|---|---|---|
InvocationRecord.parentPid | nx/src/native | number |
TaskInvocationTracker.getInvocationChain | nx/src/native | (): InvocationRecord[] |
TaskUltracacheSettings.ignoredReads | nx/src/native | string[] | undefined |
TaskUltracacheSettings.ignoredWrites | nx/src/native | string[] | undefined |
InvocationRecord.parentPid | nx/src/native/index | number |
TaskInvocationTracker.getInvocationChain | nx/src/native/index | (): InvocationRecord[] |
TaskUltracacheSettings.ignoredReads | nx/src/native/index | string[] | undefined |
TaskUltracacheSettings.ignoredWrites | nx/src/native/index | string[] | undefined |
InvocationRecord.parentPid | nx/src/native/index.js | number |
TaskInvocationTracker.getInvocationChain | nx/src/native/index.js | (): InvocationRecord[] |
TaskUltracacheSettings.ignoredReads | nx/src/native/index.js | string[] | undefined |
TaskUltracacheSettings.ignoredWrites | nx/src/native/index.js | string[] | undefined |
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
TaskGraph.dependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
TaskGraph.continuousDependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
AppLifeCycle.constructor | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, isCloudEnabled?: boolean | null | undefined): AppLifeCycle | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, readyDependencies: Record<string, string[]>, isCloudEnabled?: boolean | null | undefined): AppLifeCycle |
TaskInvocationTracker.constructor | (db: ExternalObject<NxDbConnection>, rootPid: number): TaskInvocationTracker | (db: ExternalObject<NxDbConnection>, rootPid: number, ancestorPids: number[]): TaskInvocationTracker |
TaskInvocationTracker.registerTask | (parentPid: number, taskId: string): void | (pid: number, taskId: string, overridesHash: string): InvocationRecord[] | null |
TaskInvocationTracker.unregisterTask | (taskId: string): void | (pid: number, taskId: string): void |
TaskGraph.dependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
TaskGraph.continuousDependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
AppLifeCycle.constructor | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, isCloudEnabled?: boolean | null | undefined): AppLifeCycle | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, readyDependencies: Record<string, string[]>, isCloudEnabled?: boolean | null | undefined): AppLifeCycle |
TaskInvocationTracker.constructor | (db: ExternalObject<NxDbConnection>, rootPid: number): TaskInvocationTracker | (db: ExternalObject<NxDbConnection>, rootPid: number, ancestorPids: number[]): TaskInvocationTracker |
TaskInvocationTracker.registerTask | (parentPid: number, taskId: string): void | (pid: number, taskId: string, overridesHash: string): InvocationRecord[] | null |
TaskInvocationTracker.unregisterTask | (taskId: string): void | (pid: number, taskId: string): void |
TaskGraph.dependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
TaskGraph.continuousDependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
AppLifeCycle.constructor | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, isCloudEnabled?: boolean | null | undefined): AppLifeCycle | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, readyDependencies: Record<string, string[]>, isCloudEnabled?: boolean | null | undefined): AppLifeCycle |
TaskInvocationTracker.constructor | (db: ExternalObject<NxDbConnection>, rootPid: number): TaskInvocationTracker | (db: ExternalObject<NxDbConnection>, rootPid: number, ancestorPids: number[]): TaskInvocationTracker |
TaskInvocationTracker.registerTask | (parentPid: number, taskId: string): void | (pid: number, taskId: string, overridesHash: string): InvocationRecord[] | null |
TaskInvocationTracker.unregisterTask | (taskId: string): void | (pid: number, taskId: string): void |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
検出されませんでした。
新しいエクスポート (40)
| import | export | kind |
|---|---|---|
nx/src/native | openUrl | function |
nx/src/native | LogMatcher | class |
nx/src/native | ShebangFile | interface |
nx/src/native | TaskGraphEdge | interface |
nx/src/native | TaskReadiness | enum |
nx/src/native | ReadinessProbe | class |
nx/src/native | SocketDirDetails | interface |
nx/src/native | readShebangHeaders | function |
nx/src/native | ReadinessProbeConfig | interface |
nx/src/native | resolveDaemonSocketPath | function |
nx/src/native | resolvePluginSocketPath | function |
nx/src/native | resolveNxConsoleSocketPath | function |
nx/src/native | resolveForkedProcessSocketPath | function |
nx/src/native/index | openUrl | function |
nx/src/native/index | LogMatcher | class |
nx/src/native/index | ShebangFile | interface |
nx/src/native/index | TaskGraphEdge | interface |
nx/src/native/index | TaskReadiness | enum |
nx/src/native/index | ReadinessProbe | class |
nx/src/native/index | SocketDirDetails | interface |
nx/src/native/index | readShebangHeaders | function |
nx/src/native/index | ReadinessProbeConfig | interface |
nx/src/native/index | resolveDaemonSocketPath | function |
nx/src/native/index | resolvePluginSocketPath | function |
nx/src/native/index | resolveNxConsoleSocketPath | function |
nx/src/native/index | resolveForkedProcessSocketPath | function |
nx/nx-cloud-internals | TASK_GRAPH_FORMAT | variable |
nx/src/native/index.js | openUrl | function |
nx/src/native/index.js | LogMatcher | class |
nx/src/native/index.js | ShebangFile | interface |
nx/src/native/index.js | TaskGraphEdge | interface |
nx/src/native/index.js | TaskReadiness | enum |
nx/src/native/index.js | ReadinessProbe | class |
nx/src/native/index.js | SocketDirDetails | interface |
nx/src/native/index.js | readShebangHeaders | function |
nx/src/native/index.js | ReadinessProbeConfig | interface |
nx/src/native/index.js | resolveDaemonSocketPath | function |
nx/src/native/index.js | resolvePluginSocketPath | function |
nx/src/native/index.js | resolveNxConsoleSocketPath | function |
nx/src/native/index.js | resolveForkedProcessSocketPath | 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 を 23 から 24 にアップグレードする際の破壊的変更は?
nx 23.3.1 と 24.0.0 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 3 件、削除または変更されたクラス/インターフェースのメンバーを 30 件検出しました。
nx 24 で非推奨になったものは?
nx 24.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/nx/upgrade?from=23.3.1&to=24.0.0