You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notably, npm link creates a global link. That is, if someone wants a local setup working on two versions, they'd have to run the linking step when switching. Using file paths is more brittle to where the repos are with respect to each other, but it is a local link, so if you're maintaining two repo clones with distinct artifact states, as long as they're on the same chain, you can switch between them without modifying anything.
Just food for thought here---I have a mild bias for using a directory reference vs npm link for this reason, but it may not ultimately apply in the context of everything else we do.
Currently, we've got multiple ways of linking packages between local repos:
npm link
local-setup/install-keep-dashboard.sh
Lines 37 to 51 in d29abdf
Replacing
node_modules
contentlocal-setup/install-keep-ecdsa.sh
Lines 52 to 53 in d29abdf
Replacing the dependency path in
package.json
local-setup/install-tbtc-dapp.sh
Line 32 in d29abdf
We should be consistent across install scripts (preferably use the first way).
The text was updated successfully, but these errors were encountered: