Skip to content

Commit

Permalink
cleanup(core): import from /import instead of /index
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless committed Apr 3, 2024
1 parent 6a20bcc commit a52ad76
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/nx/src/native/tests/hasher.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hashArray, hashFile } from '../index';
import { hashArray, hashFile } from '../import';

import { tmpdir } from 'os';
import { mkdtemp, writeFile } from 'fs-extra';
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/native/tests/planner.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TempFs } from '../../internal-testing-utils/temp-fs';
let tempFs = new TempFs('task-planner');

import { HashPlanner, transferProjectGraph } from '../index';
import { HashPlanner, transferProjectGraph } from '../import';
import { Task, TaskGraph } from '../../config/task-graph';
import { InProcessTaskHasher } from '../../hasher/task-hasher';
import { withEnvironmentVariables } from '../../internal-testing-utils/with-environment';
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/native/tests/watcher.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TempFs } from '../../internal-testing-utils/temp-fs';
import { Watcher } from '../index';
import { Watcher } from '../import';

describe('watcher', () => {
let temp: TempFs;
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/native/tests/workspace_files.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WorkspaceContext } from '../index';
import { WorkspaceContext } from '../import';
import { TempFs } from '../../internal-testing-utils/temp-fs';
import { NxJsonConfiguration } from '../../config/nx-json';
import { dirname, join } from 'path';
Expand Down

0 comments on commit a52ad76

Please sign in to comment.