Skip to content

Commit

Permalink
fix(graph): fix outdated imports to nx graph
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed May 11, 2023
1 parent 48ce672 commit 27f1dc5
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion graph/client/src/app/feature-projects/projects-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/app/feature-tasks/tasks-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/app/fetch-project-graph-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/app/hooks/use-environment-config.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/app/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/app/local-project-graph-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/app/mock-project-graph-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/app/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion graph/client/src/globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 27f1dc5

Please sign in to comment.