chore(core): remove @nrwl/workspace/src/utils/app-root (#12590)

BREAKING CHANGES: importing @nrwl/workspace/src/utils/app-root will break. It has been deprecated since v13
This commit is contained in:
Jason Jean 2022-10-13 19:38:36 -04:00 committed by GitHub
parent 23de788b5e
commit e5570a7997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View File

@ -1,2 +0,0 @@
// TODO(v15): Remove this file
export { appRootPath, workspaceRoot } from '@nrwl/devkit';

View File

@ -8,9 +8,9 @@ import {
parseJson, parseJson,
ProjectGraphExternalNode, ProjectGraphExternalNode,
joinPathFragments, joinPathFragments,
workspaceRoot,
} from '@nrwl/devkit'; } from '@nrwl/devkit';
import { join } from 'path'; import { join } from 'path';
import { workspaceRoot } from './app-root';
import { getPath, pathExists } from './graph-utils'; import { getPath, pathExists } from './graph-utils';
import { existsSync } from 'fs'; import { existsSync } from 'fs';
import { readFileIfExisting } from 'nx/src/project-graph/file-utils'; import { readFileIfExisting } from 'nx/src/project-graph/file-utils';

View File

@ -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 { XMLParser } from 'fast-xml-parser';
import * as glob from 'glob'; import * as glob from 'glob';
import { readFileSync } from 'node:fs'; import { readFileSync } from 'node:fs';