File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -190,14 +190,16 @@ scope](https://www.npmjs.com/search?q=scope%3Afirebase) on NPM.
190
190
191
191
### Testing the SDK Locally
192
192
193
- Please be sure to build your repo before proceeding any further.
193
+ Please be sure to build your SDK changes and install your dependencies before proceeding any further.
194
194
In order to manually test your SDK changes locally, you must use [ yarn link] ( https://classic.yarnpkg.com/en/docs/cli/link ) :
195
195
196
196
``` shell
197
197
$ cd packages/firebase
198
198
$ yarn link # initialize the linking to the other folder
199
- $ cd ../< my-test-app-dir> # cd into your personal project directory
200
- $ yarn link firebase # tell yarn to use the locally built firebase SDK instead
199
+ $ cd packages/< my-product> # Example: $ cd packages/database
200
+ $ yarn link # link your product to make it available elsewhere
201
+ $ cd < my-test-app-dir> # cd into your personal project directory
202
+ $ yarn link firebase firebase/< my-product> # tell yarn to use the locally built firebase SDK instead
201
203
```
202
204
203
205
This will create a symlink and point your ` <my-test-app-dir> ` to the locally built version of the firebase SDK.
You can’t perform that action at this time.
0 commit comments