weaver-protos-js 1.5.6
Install from the command line:
Learn more about npm packages
$ npm install @hyperledger-labs/weaver-protos-js@1.5.6
Install via package.json:
"@hyperledger-labs/weaver-protos-js": "1.5.6"
About this version
- Create a Personal Access Token from Github with write/read/delete access to packages. Refer Creating a Personal Access Token for help.
- Create a copy of
.npmrc.templateas.npmrc. - Replace in copied
.npmrcfile with your personal access token. - Run
npm publishto publish package to github packages.
NOTE: Always publish to your fork first, and only after testing it well, then
after PR approval, publish it to hyperledger-labs/weaver-dlt-interoperability.
To publish to your fork, modify in package.json:
...
"publishConfig": {
"registry": "https://npm.pkg.github.com/<your-git-name>"
}
and then follow above 4 steps.
- Create a Personal Access Token from Github with read access to packages. Refer Creating a Personal Access Token for help.
- Create a copy of
.npmrc.templateas.npmrc. - Replace in copied
.npmrcfile with your personal access token. - Now put this
.npmrcfile in your application in same level as package.json. - Now you can run
npm install @hyperledger-labs/weaver-protos-jsin your application directory to install the latest version.