Skip to content

chore: restructure as multi-language SDK monorepo#13

Merged
akshitsinha merged 11 commits into
mainfrom
asinha/monorepo
May 14, 2026
Merged

chore: restructure as multi-language SDK monorepo#13
akshitsinha merged 11 commits into
mainfrom
asinha/monorepo

Conversation

@akshitsinha
Copy link
Copy Markdown
Member

Reorganizes the repo to support multiple language SDKs while keeping one synchronized release.

Layout

  • Moved TypeScript SDK from packages/flagship to packages/typescript.

Release flow (Changesets)

  • One release PR for all SDKs: chore(release): version SDK packages.
  • .github/changeset-version.ts now:
    1. Validates pending changesets (unknown packages and non-SDK-only changesets fail fast).
    2. Expands any SDK changeset to bump every SDK with the highest declared bump.
    3. Runs pnpm changeset version.
    4. Strict-syncs pyproject.toml/Cargo.toml versions; fails if a native manifest is missing a version = "..." line.
  • privatePackages: { version: true, tag: true } so non-npm SDKs get versioned and tagged; language-specific publish workflows can subscribe to those tags.

CI

  • New Changesets PR job runs pnpm run changeset:validate.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 12, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/flagship@13

commit: 0963354

@akshitsinha akshitsinha marked this pull request as ready for review May 12, 2026 08:51
@akshitsinha akshitsinha requested a review from roerohan as a code owner May 12, 2026 08:51
@akshitsinha akshitsinha merged commit 139ec19 into main May 14, 2026
12 checks passed
@akshitsinha akshitsinha deleted the asinha/monorepo branch May 14, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants