fix(graph): fix outdated imports to nx graph (#16954)
This commit is contained in:
parent
92b63969fd
commit
d1ad58e5d0
@ -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,
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -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';
|
||||
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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';
|
||||
|
||||
|
||||
@ -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';
|
||||
|
||||
|
||||
@ -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';
|
||||
|
||||
2
graph/client/src/globals.d.ts
vendored
2
graph/client/src/globals.d.ts
vendored
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user