Updating dependencies takes time. Often it's beneficial to use same dependencies and versions as another package installed. dep-sync's role is to keep local dependencies the same version as another installed package.
To do this dep-sync will use npm list --json --long <package> where <package> is the package to keep some subset of dependencies synced. A config file for dep-sync will be used to configure which package dependencies to install:
dep-syncrc.json
{
"ipfs-core": [
"multiformats"
]
}
In this case the ipfs-core package and version has been manually installed and multiformats will be installed locally using the same version as what's listed in ipfs-core's package.json file.
Updating dependencies takes time. Often it's beneficial to use same dependencies and versions as another package installed.
dep-sync
's role is to keep local dependencies the same version as another installed package.To do this
dep-sync
will usenpm list --json --long <package>
where<package>
is the package to keep some subset of dependencies synced. A config file fordep-sync
will be used to configure which package dependencies to install:dep-syncrc.json
In this case the
ipfs-core
package and version has been manually installed andmultiformats
will be installed locally using the same version as what's listed inipfs-core
's package.json file.