Skip to content

Commit

Permalink
Output codemod deps to nested node_modules dir
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldelcore committed Jun 20, 2022
1 parent 0b8af0e commit fb7c59a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/yellow-snails-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@codeshift/cli': patch
---

dependencies installed by the CLI will now be output to a nested node_modules dir instead of .plugin_packages
2 changes: 1 addition & 1 deletion packages/cli/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { getTransformPrompt } from './prompt';

export default async function main(paths: string[], flags: Flags) {
const packageManager = new PluginManager({
pluginsPath: path.join(__dirname, '.plugin_packages'),
pluginsPath: path.join(__dirname, 'node_modules'),
});

let transforms: string[] = [];
Expand Down

0 comments on commit fb7c59a

Please sign in to comment.