fix(nx-plugin): remove function copyNodeModules from ensureNxProject to prevent @nrwl modules ov (#2931)
The function `copyNodeModules` deletes a plugin inside `node_modules/@nrwl` if it's being developed under `@nrwl` workspace. The function runs as part of `ensureNxProject` and is safe to remove as @nrwl related modules will be installed as dependencies from npm.
This commit is contained in:
parent
e06822da7e
commit
b55a1a96dd
@ -74,5 +74,4 @@ export function ensureNxProject(
|
|||||||
): void {
|
): void {
|
||||||
ensureDirSync(tmpProjPath());
|
ensureDirSync(tmpProjPath());
|
||||||
newNxProject(npmPackageName, pluginDistPath);
|
newNxProject(npmPackageName, pluginDistPath);
|
||||||
copyNodeModules(['@nrwl']);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user