Skip to content

polybase/explorer

Repository files navigation

Polybase Explorer

Explorer for Polybase - explore blocks, collections and transactions for the decentralized database.

Links

📖 Documentation

💬 Demo

👾 Discord

🐦 Twitter

How to validate changes in npm package dependencies locally

In Library A:

  • First, ensure library A is prepared for npm usage. You should have a package.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 global node_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 its package.json. This creates a symbolic link from your local node_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.