From 2aaa3f1cee68d82b224592fbc3a004bbb3fb751b Mon Sep 17 00:00:00 2001 From: Miroslav Jonas Date: Thu, 11 May 2023 16:55:28 +0200 Subject: [PATCH] fix(graph): fix outdated imports to nx graph --- graph/client/src/app/feature-projects/projects-sidebar.tsx | 2 +- graph/client/src/app/feature-tasks/tasks-sidebar.tsx | 2 +- graph/client/src/app/fetch-project-graph-service.ts | 2 +- graph/client/src/app/hooks/use-environment-config.ts | 2 +- graph/client/src/app/interfaces.ts | 2 +- graph/client/src/app/local-project-graph-service.ts | 2 +- graph/client/src/app/mock-project-graph-service.ts | 2 +- graph/client/src/app/routes.tsx | 2 +- graph/client/src/globals.d.ts | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/graph/client/src/app/feature-projects/projects-sidebar.tsx b/graph/client/src/app/feature-projects/projects-sidebar.tsx index 105b974f4bea2..8dc7ae3ee18c3 100644 --- a/graph/client/src/app/feature-projects/projects-sidebar.tsx +++ b/graph/client/src/app/feature-projects/projects-sidebar.tsx @@ -25,7 +25,7 @@ import { getProjectGraphService } from '../machines/get-services'; import { useIntervalWhen } from '../hooks/use-interval-when'; /* eslint-disable @nx/enforce-module-boundaries */ // nx-ignore-next-line -import { ProjectGraphClientResponse } from 'nx/src/command-line/dep-graph'; +import { ProjectGraphClientResponse } from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { useNavigate, diff --git a/graph/client/src/app/feature-tasks/tasks-sidebar.tsx b/graph/client/src/app/feature-tasks/tasks-sidebar.tsx index 68038e20b7dc9..cc39cb0031b4d 100644 --- a/graph/client/src/app/feature-tasks/tasks-sidebar.tsx +++ b/graph/client/src/app/feature-tasks/tasks-sidebar.tsx @@ -10,7 +10,7 @@ import { import type { ProjectGraphClientResponse, TaskGraphClientResponse, -} from 'nx/src/command-line/dep-graph'; +} from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { getGraphService } from '../machines/graph.service'; import { useEffect, useMemo } from 'react'; diff --git a/graph/client/src/app/fetch-project-graph-service.ts b/graph/client/src/app/fetch-project-graph-service.ts index 03fb5f7027528..d74b0e560a64d 100644 --- a/graph/client/src/app/fetch-project-graph-service.ts +++ b/graph/client/src/app/fetch-project-graph-service.ts @@ -3,7 +3,7 @@ import type { ProjectGraphClientResponse, TaskGraphClientResponse, -} from 'nx/src/command-line/dep-graph'; +} from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { ProjectGraphService } from './interfaces'; diff --git a/graph/client/src/app/hooks/use-environment-config.ts b/graph/client/src/app/hooks/use-environment-config.ts index c6cc217ecc058..373204a3c90a4 100644 --- a/graph/client/src/app/hooks/use-environment-config.ts +++ b/graph/client/src/app/hooks/use-environment-config.ts @@ -1,6 +1,6 @@ /* eslint-disable @nx/enforce-module-boundaries */ // nx-ignore-next-line -import type { ProjectGraphClientResponse } from 'nx/src/command-line/dep-graph'; +import type { ProjectGraphClientResponse } from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { useRef } from 'react'; import { AppConfig } from '../interfaces'; diff --git a/graph/client/src/app/interfaces.ts b/graph/client/src/app/interfaces.ts index 0708bb29ac94b..7c7f31c758290 100644 --- a/graph/client/src/app/interfaces.ts +++ b/graph/client/src/app/interfaces.ts @@ -3,7 +3,7 @@ import type { ProjectGraphClientResponse, TaskGraphClientResponse, -} from 'nx/src/command-line/dep-graph'; +} from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ export interface WorkspaceData { diff --git a/graph/client/src/app/local-project-graph-service.ts b/graph/client/src/app/local-project-graph-service.ts index 132443b89f4fd..5b43fd8fd07df 100644 --- a/graph/client/src/app/local-project-graph-service.ts +++ b/graph/client/src/app/local-project-graph-service.ts @@ -3,7 +3,7 @@ import type { ProjectGraphClientResponse, TaskGraphClientResponse, -} from 'nx/src/command-line/dep-graph'; +} from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { ProjectGraphService } from './interfaces'; diff --git a/graph/client/src/app/mock-project-graph-service.ts b/graph/client/src/app/mock-project-graph-service.ts index fbc91cf779eae..61f5e5905b9d9 100644 --- a/graph/client/src/app/mock-project-graph-service.ts +++ b/graph/client/src/app/mock-project-graph-service.ts @@ -9,7 +9,7 @@ import type { import type { ProjectGraphClientResponse, TaskGraphClientResponse, -} from 'nx/src/command-line/dep-graph'; +} from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { ProjectGraphService } from '../app/interfaces'; diff --git a/graph/client/src/app/routes.tsx b/graph/client/src/app/routes.tsx index 08105249c8407..137cf6c14a134 100644 --- a/graph/client/src/app/routes.tsx +++ b/graph/client/src/app/routes.tsx @@ -5,7 +5,7 @@ import { TasksSidebar } from './feature-tasks/tasks-sidebar'; import { getEnvironmentConfig } from './hooks/use-environment-config'; /* eslint-disable @nx/enforce-module-boundaries */ // nx-ignore-next-line -import { ProjectGraphClientResponse } from 'nx/src/command-line/dep-graph'; +import { ProjectGraphClientResponse } from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { getProjectGraphDataService } from './hooks/get-project-graph-data-service'; import { TasksSidebarErrorBoundary } from './feature-tasks/tasks-sidebar-error-boundary'; diff --git a/graph/client/src/globals.d.ts b/graph/client/src/globals.d.ts index b9216e0014988..1c9a21540d3b8 100644 --- a/graph/client/src/globals.d.ts +++ b/graph/client/src/globals.d.ts @@ -3,7 +3,7 @@ import type { ProjectGraphClientResponse, TaskGraphClientResponse, -} from 'nx/src/command-line/dep-graph'; +} from 'nx/src/command-line/graph/graph'; /* eslint-enable @nx/enforce-module-boundaries */ import { AppConfig } from './app/interfaces'; import { ExternalApi } from './app/external-api';