Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
blockchain-libs / 0.0.23

blockchain-libs 0.0.23

Install from the command line:
Learn more about npm packages
$ npm install @onekeyhq/blockchain-libs@0.0.23
Install via package.json:
"@onekeyhq/blockchain-libs": "0.0.23"

About this version

Blockchain Libs

I want to develop

  1. Install nodejs, recommend >= 14.x
  2. Install yarn
  3. cd $the_project
  4. yarn

Before start commit

Commit-Message details

A commit message consists of three sections: Header(required), Body(optional)
and Footer(optional).

Header is a single line string which is composed of three parts:
type(required), scope(optional) and subject(required).

<type>(<scope>): <subject>
// An empty line
<body>
// An empty line
<footer>

To avoid automatic line wrapping, always wrap lines of a commit message
to 72 characters.

---
Commit method 1 (manually):
   eg:
      git commit -m "feat: add some new features"
      git commit -m "fix: fix some bugs"

Commit method 2 (interactively):
   brew install commitizen
   cz c

I want to publish new package

  1. npm install -g conventional-changelog-cli
  2. yarn version and input new version, then will update the CHANGELOG.md
  3. git push --tag

I want to use it as a package

  1. Generate PAT
    • Require read:packages permission only
  2. cd $my_own_project
  3. Add the following to your local .npmrc
@onekeyhq:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${MY_PAT}
  1. yarn add @onekeyhq/blockchain-libs

Details


Assets

  • blockchain-libs-0.0.23-npm.tgz

Download activity

  • Total downloads 157
  • Last 30 days 0
  • Last week 0
  • Today 0