Explorer for Polybase - explore blocks, collections and transactions for the decentralized database.
💬 Demo
👾 Discord
In Library A:
-
First, ensure library A is prepared for
npm
usage. You should have apackage.json
in place with a name and version. -
In the directory of library A, run the command
npm link
. This creates a symbolic link in the globalnode_modules
directory to library A.
In Library B:
-
Run the command
npm link A
, replacing "A" with the name you specified for library A in itspackage.json
. This creates a symbolic link from your localnode_modules
to the global one for library A. -
Now, if you run
npm install
, it will also install the dependencies of library A, and since we've linked it locally, it should use the latest code available.
Finally run npm unlink
when done.
Note: In the case of the explorer
repo, library "A" would be any of its locally-changed dependencies (such as @polybase/client
), and library "B" would be explorer
itself.