weaver-protos-js
/
1.6.0
weaver-protos-js 1.6.0
Install from the command line:
Learn more about npm packages
$ npm install @hyperledger-labs/weaver-protos-js@1.6.0
Install via package.json:
"@hyperledger-labs/weaver-protos-js": "1.6.0"
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.template
as.npmrc
. - Replace in copied
.npmrc
file with your personal access token. - Run
npm publish
to 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.template
as.npmrc
. - Replace in copied
.npmrc
file with your personal access token. - Now put this
.npmrc
file in your application in same level as package.json. - Now you can run
npm install @hyperledger-labs/weaver-protos-js
in your application directory to install the latest version.