GithubHelp home page GithubHelp logo

o2-wallets's Introduction

O2-Wallets

Packages @latest Version Size Description
@o2/injected-wallets - - Injected wallet modules
@o2/types - - Shared Typescript types
@o2/common - - Utils common to all packages

Contributing


git clone [email protected]:blocknative/O2-Wallets.git
cd O2-Wallets
yarn
yarn build

At the point the deps are installed and the modules are built and ready for integration.

Local integration

Using yarn link you can integrate these packages locally. First run yarn link in each module:

$(cd packages/types; yarn link)
$(cd packages/common; yarn link)
$(cd packages/injected; yarn link)

Note: the $() syntax allows us to execute the command without changing the current directory.

Now that these packages are linked we can go into our app and link them:

cd my-app
yarn link @o2/injected-wallets
yarn link @o2/common
yarn link @o2/types

Development:

Running yarn dev in the root package will run yarn dev in all subpackages which will rebuild on changes.

Adding shared deps

Adding a “common” dependency to ALL packages

yarn add dep-name -W

Adding a Local Sibling Dependency to a Specific Package:

lerna add sibling-dep --scope=dependant-package

Example:

lerna add @o2/types --scope=@o2/injected-wallets

o2-wallets's People

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.