Clone
yarn install
yarn build
- Build all packages including the Bridge siteyarn dev
- Run all packages locallyyarn lint
- Lint all packagesyarn changeset-create
- Generate a changesetyarn clean
- Clean up allnode_modules
anddist
folders (runs each package's clean script)
This Turborepo includes the following packages and applications:
apps/frontend
: The bridge sitepackages/@chain-hopper/sdk
: Unified SDK that incorporates Wormhole and Glitter plus potential for integrating otherspackages/ts-config-chain-hopper
: Sharedtsconfig.json
s used throughout the Turborepopackages/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
.