Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.45 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.45 KB

Chain Hopper

Getting Started

Clone

yarn install

Useful Commands

  • yarn build - Build all packages including the Bridge site
  • yarn dev - Run all packages locally
  • yarn lint - Lint all packages
  • yarn changeset-create - Generate a changeset
  • yarn clean - Clean up all node_modules and dist folders (runs each package's clean script)

Apps & Packages

This Turborepo includes the following packages and applications:

  • apps/frontend: The bridge site
  • packages/@chain-hopper/sdk: Unified SDK that incorporates Wormhole and Glitter plus potential for integrating others
  • packages/ts-config-chain-hopper: Shared tsconfig.jsons used throughout the Turborepo
  • packages/eslint-config-chain-hopper: Shared eslint config

Yarn Workspaces enables us to "hoist" dependencies that are shared between packages to the root package.json. This means smaller node_modules folders and a better local dev experience. To install a dependency for the entire monorepo, use the -W workspaces flag with yarn add.

Useful links