Skip to content

Commit fb7c59a

Browse files
committed
Output codemod deps to nested node_modules dir
1 parent 0b8af0e commit fb7c59a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/yellow-snails-exercise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@codeshift/cli': patch
3+
---
4+
5+
dependencies installed by the CLI will now be output to a nested node_modules dir instead of .plugin_packages

packages/cli/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { getTransformPrompt } from './prompt';
1616

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

2222
let transforms: string[] = [];

0 commit comments

Comments
 (0)