-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
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
cd $WORKDIR/keep-core/solidity npm link cd $WORKDIR/keep-ecdsa/solidity npm link cd $WORKDIR/tbtc/solidity npm link printf "${LOG_START}Updating Keep Dashboard configuration...${LOG_END}" cd $WORKDIR/keep-core/solidity/dashboard npm link @keep-network/keep-core npm link @keep-network/keep-ecdsa npm link @keep-network/tbtc -
Replacing
node_modules
content
local-setup/install-keep-ecdsa.sh
Lines 52 to 53 in d29abdf
rm -rf keep-ecdsa/solidity/node_modules/@keep-network/keep-core cp -R keep-core/solidity/. keep-ecdsa/solidity/node_modules/@keep-network/keep-core -
Replacing the dependency path in
package.json
local-setup/install-tbtc-dapp.sh
Line 32 in d29abdf
TBTC_DIR="$WORKDIR/tbtc/solidity" jq '.dependencies."@keep-network/tbtc" = env.TBTC_DIR' package.json > package.json.tmp && mv package.json.tmp package.json
We should be consistent across install scripts (preferably use the first way).
Metadata
Metadata
Assignees
Labels
No labels