Skip to content

Commit

Permalink
FIX documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed May 27, 2017
1 parent a55a776 commit 01641fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/codemod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ From the directory where you installed both `jscodeshift` and `@storybook/codemo
Example:

```sh
./node_modules/.bin/jscodeshift -t ../react-storybook/lib/codemod/dist/update-organisation-name.js . --ignore-pattern "node_modules|dist"
./node_modules/.bin/jscodeshift -t ./node_modules/@storybook/codemod/dist/update-organisation-name.js . --ignore-pattern "node_modules|dist"
```

Explanation:
Expand All @@ -43,7 +43,7 @@ Explanation:
Updates package names in imports to migrate to the new package names of storybook.

```sh
./node_modules/.bin/jscodeshift -t ../react-storybook/lib/codemod/dist/update-organisation-name.js . --ignore-pattern "node_modules|dist"
./node_modules/.bin/jscodeshift -t ./node_modules/@storybook/codemod/dist/update-organisation-name.js . --ignore-pattern "node_modules|dist"
```

There's a mapping of paths we replace but this example explains the gist of it:
Expand Down

0 comments on commit 01641fe

Please sign in to comment.