snapshot-labs / sx-monorepo

Snapshot X monorepo
https://docs.snapshotx.xyz
MIT License
11 stars 10 forks source link

Test CI Discord

Snapshot X monorepository

This is an Snapshot X monorepository.

Apps and Packages

Usage

Project setup

yarn

Compiles and hot-reloads for development

yarn dev

# if you want to run full stack (including backend services)
yarn dev:full

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Runs tests

yarn test

Verifies TypeScript code

yarn typecheck

Versioning packages

Packages are versioned using changesets. In most cases all you need to do is when adding new changes to versioned packages (right now it's just sx.js) is to execute yarn changeset, specify package you updated, version bump per semver and description of your changes. Then commit generated files in your PR.

Once merged changesets actions will create PR that can be used to release and publish those packages.