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:
parent
23de788b5e
commit
e5570a7997
@ -1,2 +0,0 @@
|
|||||||
// TODO(v15): Remove this file
|
|
||||||
export { appRootPath, workspaceRoot } from '@nrwl/devkit';
|
|
||||||
@ -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';
|
||||||
|
|||||||
@ -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';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user