Skip to content

Commit 8d0bf44

Browse files
authored
Removing evcodeshift references
Changing "evcodeshift" to "jscodeshift" in VSCode debugging setup documentation.
1 parent cc9e3d3 commit 8d0bf44

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ It's recommended that you set up your codemod project to all debugging via the V
599599
{
600600
"type": "promptString",
601601
"id": "transformFile",
602-
"description": "evcodeshift transform file",
602+
"description": "jscodeshift transform file",
603603
"default": "transform.js"
604604
}
605605
]
@@ -608,14 +608,14 @@ It's recommended that you set up your codemod project to all debugging via the V
608608

609609
Once this has been added to the configuration
610610

611-
1. Install evcodeshift as a package if you haven't done so already by running the command **npm install --save evcodeshift**. The debug configuration will not work otherwise.
612-
2. Once the evcodeshift local package has been installed, go to the VSCode file tree and select the file on which you want to run the transform. For example, if you wanted to run codemod transforms of foo.js file, you would click on the entry for foo.js file in your project tree.
611+
1. Install jscodeshift as a package if you haven't done so already by running the command **npm install --save jscodeshift**. The debug configuration will not work otherwise.
612+
2. Once the jscodeshift local package has been installed, go to the VSCode file tree and select the file on which you want to run the transform. For example, if you wanted to run codemod transforms of foo.js file, you would click on the entry for foo.js file in your project tree.
613613
3. Select "Debug Transform" from the debugging menu's options menu.
614614
4. Click the **"Start Debugging"** button on the VSCode debugger.
615-
5. You will be then prompted for the name of evcodeshift transform file. Enter in the name of the transform file to use. If no name is given it will default to **transform.js**
615+
5. You will be then prompted for the name of jscodeshift transform file. Enter in the name of the transform file to use. If no name is given it will default to **transform.js**
616616
6. Select the parser to use from the presented selection list of parsers. The transform will otherwise default to using the **babel** parser.
617617
7. The transform will then be run, stopping at any breakpoints that have been set.
618-
8. If there are no errors and the transform is complete, then the results of the transform will be printed in the VSCode debugging console. The file with the contents that have been transformed will not be changed, as the debug configuration makes use the evcodeshift **--dry** option.
618+
8. If there are no errors and the transform is complete, then the results of the transform will be printed in the VSCode debugging console. The file with the contents that have been transformed will not be changed, as the debug configuration makes use the jscodeshift **--dry** option.
619619

620620

621621
### Recipes

0 commit comments

Comments
 (0)