Skip to content

cawabunga-bytes/demo-mono-sdk

Repository files navigation

Defuse Protocol Monorepo

This is a monorepo for Defuse Protocol packages managed with Turborepo and Changesets.

Packages

Development

Prerequisites

  • Bun (v1.2.13 or later)

Setup

# Install dependencies
bun install

Build

# Build all packages
bun run build

Development Mode

# Run all packages in dev mode
bun run dev

Lint

# Lint all packages
bun run lint

Format

# Format all packages
bun run format

Release Process

This repository uses Changesets to manage versions, create changelogs, and publish to npm.

Creating a changeset

When making changes that should be released, create a changeset:

bun run changeset

This will prompt you to:

  1. Select the packages you've modified
  2. Choose the semver increment (patch, minor, major)
  3. Add a description of the changes

The changeset will be committed to your branch as a markdown file in the .changeset directory.

Releasing

Releases are managed through GitHub Actions. To create a release:

  1. Make sure all your changesets are merged to main
  2. Go to the "Actions" tab in GitHub
  3. Select the "Release" workflow
  4. Click "Run workflow"
  5. Select "main" branch
  6. Click "Run workflow"

This will create a PR that:

  • Updates package versions based on changesets
  • Updates the CHANGELOG.md files
  • Removes the changeset files

Once that PR is merged, the GitHub Action will automatically:

  • Build the packages
  • Publish to npm

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors