open-rpc / playground

A place to play around with OpenRPC. https://playground.open-rpc.org
https://playground.open-rpc.org
Apache License 2.0
40 stars 25 forks source link

Monorepo Setup for Open-RPC Repositories #608

Open BelfordZ opened 1 month ago

BelfordZ commented 1 month ago

Monorepo Setup for Open-RPC Repositories

We are moving to a monorepo setup to simplify dependency management, build processes, and ensure common versions of shared tools (like TypeScript, Jest, React). The following repositories will be merged into a single monorepo:

Goal

The objective is to set up a monorepo that:

  1. Unifies package management using npm workspaces.
  2. Automates builds and publishing with Turborepo for efficient builds.
  3. Supports conventional commits for automated versioning and changelog generation using Lerna.
  4. Publishes packages to both npm and GitHub releases.
  5. Provides a clean CI/CD pipeline using GitHub Actions.

Tasks

1. Monorepo Initialization

2. Turborepo Setup

3. Lerna Setup for Versioning and Changelogs

4. Automating npm & GitHub Releases

5. GitHub Actions for CI/CD

6. Testing the Monorepo

Acceptance Criteria

Please use this issue to track progress and ask questions. Let's make sure we streamline the workflow while maintaining clean, maintainable code.