Skip to content

Commit

Permalink
fix(nx-plugin): remove function copyNodeModules from `ensureNxProje…
Browse files Browse the repository at this point in the history
…ct` 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.
  • Loading branch information
maxkoretskyi committed Apr 29, 2020
1 parent e06822d commit b55a1a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/nx-plugin/src/utils/testing-utils/nx-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,4 @@ export function ensureNxProject(
): void {
ensureDirSync(tmpProjPath());
newNxProject(npmPackageName, pluginDistPath);
copyNodeModules(['@nrwl']);
}

0 comments on commit b55a1a9

Please sign in to comment.