Thanks to visit codestin.com
Credit goes to github.com

Skip to content

defuse-protocol/sdk-monorepo

Repository files navigation

Defuse Protocol Monorepo

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

Packages

Development

Prerequisites

Setup

# Install dependencies
pnpm install

Build

# Build all packages
pnpm run build

Development Mode

# Run all packages in dev mode
pnpm run dev

Lint

# Lint all packages
pnpm run lint

Format

# Format all packages
pnpm 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:

pnpm 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 © 2025 NEAR Foundation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11