react-native-walkthrough-tooltip icon indicating copy to clipboard operation
react-native-walkthrough-tooltip copied to clipboard

How do I run this package locally?

Open bigyank opened this issue 2 years ago • 1 comments

I tried cloning the repo and did yarn link and unlink but It didn't work, there must be some steps I am missing in between, can someone helo me, please!

bigyank avatar Sep 25 '21 09:09 bigyank

@bigyank, I had a similar issue which I resolved the other day. What you want to do is fork the repo here on GitHub. Then in the package.json for your example/playground app, add react-native-walkthrough-tooltip and replace the version number with a reference to your github link. the line in your package.json will look like:

"react-native-walkthrough-tooltip": "git+https://[email protected]/yourUserName/react-native-walkthrough-tooltip.git#86c118480538d51791b597f8d413e50326742bd9",

Make sure to specify which specific commit you want to reference. Then run $ npm install or $ yarn install.

Note: There will be two repos on your machine. One will be react-native-walkthrough-tooltip. And the second repo will be your example/playground app which will import your fork of react-native-walkthrough-tooltip which you can use for testing your changes.

topherPedersen avatar Jul 25 '22 20:07 topherPedersen