Skip to content

Commit 09fb08a

Browse files
committed
Add local linking to README
1 parent df12d6c commit 09fb08a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ Once your pull request has been merged to master:
5959
`npm run` + type of release (`patch-release`, `minor-release`, `major-release`)
6060

6161
For example: `npm run patch-release`
62+
63+
Local linking to another project
64+
========
65+
1. Run `npm run build-npm` from the react-bootstrap-datetimepicker console.
66+
2. In your other project's **package.json**,
67+
Use `"@myob/react-bootstrap-datetimepicker": "npm install ../../../../react-bootstrap-datetimepicker"` instead of `"@myob/react-bootstrap-datetimepicker": "0.0.25"` in the dependency list.
68+
*(use npm install + the path to your local react-bootstrap-datetimepicker folder instead of the version number)*
69+
3. Run `npm install @myob/react-bootstrap-datetimepicker` from the same folder level as the package.json.
6270

6371
Update Warning
6472
===============================

0 commit comments

Comments
 (0)