diff --git a/packages/workspace/src/utils/app-root.ts b/packages/workspace/src/utils/app-root.ts deleted file mode 100644 index 1946df9020..0000000000 --- a/packages/workspace/src/utils/app-root.ts +++ /dev/null @@ -1,2 +0,0 @@ -// TODO(v15): Remove this file -export { appRootPath, workspaceRoot } from '@nrwl/devkit'; diff --git a/packages/workspace/src/utils/runtime-lint-utils.ts b/packages/workspace/src/utils/runtime-lint-utils.ts index 95b5180557..f7c30f4b2f 100644 --- a/packages/workspace/src/utils/runtime-lint-utils.ts +++ b/packages/workspace/src/utils/runtime-lint-utils.ts @@ -8,9 +8,9 @@ import { parseJson, ProjectGraphExternalNode, joinPathFragments, + workspaceRoot, } from '@nrwl/devkit'; import { join } from 'path'; -import { workspaceRoot } from './app-root'; import { getPath, pathExists } from './graph-utils'; import { existsSync } from 'fs'; import { readFileIfExisting } from 'nx/src/project-graph/file-utils'; diff --git a/scripts/documentation/internal-link-checker.ts b/scripts/documentation/internal-link-checker.ts index 39a9af8ee0..f38ee2ba5e 100644 --- a/scripts/documentation/internal-link-checker.ts +++ b/scripts/documentation/internal-link-checker.ts @@ -1,4 +1,4 @@ -import { workspaceRoot } from '@nrwl/workspace/src/utils/app-root'; +import { workspaceRoot } from '@nrwl/devkit'; import { XMLParser } from 'fast-xml-parser'; import * as glob from 'glob'; import { readFileSync } from 'node:fs';