By default the library is referenced as a prebuilt artifact in a GitHub release. Packages are NOT published to npm. The default dependency path in package.json is:
To work with local copy you may change the path to:
In order to create the packed file run
npm pack in the lib-jitsi-meet project directory.
To make the project you must force it to take the sources as 'npm update':
npm install lib-jitsi-meet --force && make
Or if you are making only changes to the library:
npm install lib-jitsi-meet --force && make deploy-lib-jitsi-meet
Alternative way is to use npm link.
It allows to link
lib-jitsi-meet dependency to local source in few steps:
#### create global symlink for lib-jitsi-meet package
#### create symlink from the local node_modules folder to the global lib-jitsi-meet symlink
npm link lib-jitsi-meet
Linking will not work when building the mobile applications.
After changes in your local
lib-jitsi-meet repository, you can rebuild it with
npm run build and your
jitsi-meet repository will use that modified library:
npm run build
If you do not want to use local repository anymore you should run:
npm unlink lib-jitsi-meet