Skip to content

Commit 3f94366

Browse files
committed
[docs] Update the readme blueprint to generate instructions for running a codemod locally
We recently had an engineer who was not familiar with npx and could not figure out how to run a new codemod locally. I've updated the blueprint to make it clear to new users how to run a codemod locally before publishing.
1 parent e0fd446 commit 3f94366

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commands/global/new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports.handler = async function handler(options) {
4040
4141
## Local Usage
4242
\`\`\`
43-
npx ${process.cwd()}/${projectName}${cliPath} <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
43+
node .${cliPath} <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
4444
\`\`\`
4545
4646
## Transforms

0 commit comments

Comments
 (0)