From 01641fe6730924f2737b8509ab7c00515ac81247 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sat, 27 May 2017 11:17:49 +0200 Subject: [PATCH] FIX documentation --- lib/codemod/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/codemod/README.md b/lib/codemod/README.md index f1f84352c6e..0247661cb5c 100644 --- a/lib/codemod/README.md +++ b/lib/codemod/README.md @@ -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: @@ -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: