Giter VIP home page Giter VIP logo

bifrost.js's Introduction

如何更新并上传@bifrost-finance 包到 npm.js 网站上供下载

准备工作

如果 bifrost 项目里定义的类型有更新,则需要分别更新前端的类型定义文件和后端的 metadata 文件。

必要时,需升级 polkadot.js 版本,与后端版本同步。

包的上传操作

  1. 在项目根目录下,输入命令行: yarn update-metadata 更新metadata。
  2. 在项目根目录下,输入命令行:lerna version --skip-git ,创建新的版本编码。
  3. 在项目根目录下,输入命令行:yarn build 。这个命令,把整个工程的 ts 文件生成可执行的 js 文件,放在各个包的 build 文件夹下。
  4. 分别进入到 api、type-definitions、types 文件夹下的 build 文件夹内,输入命令 npm publish,输入前面 lerna 生成的版本号,并填入 npmjs 的密码,即可把新版本发布上去,供他人下载和使用。如:用 cd bifrost.js/packages/types/build,进入 types 下面的 build 文件夹,然后 yarn publish 进行发布。

bifrost.js's People

Contributors

herryho avatar actions-user avatar killbond007 avatar chengljn avatar ark930 avatar github-actions[bot] avatar awesomepan avatar allenpocketgamer avatar dependabot[bot] avatar

Stargazers

Mykhailo avatar Zubair Quraishi avatar Andrey avatar lurpis avatar

Watchers

James Cloos avatar  avatar  avatar TOBIAS KJELLGREN  avatar

bifrost.js's Issues

Missing dependencies

In the types-definition package @open-web3/orml-type-definitions is a devDependency but is used as a dependency so when installing the package it will fail to build with typescript (and possibly at runtime)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.