Skip to content

chore: enable yarn deferred versioning - #3436

Draft
zbynekstara wants to merge 1 commit into
clientIO:masterfrom
zbynekstara:yarn-version-on-pr
Draft

chore: enable yarn deferred versioning#3436
zbynekstara wants to merge 1 commit into
clientIO:masterfrom
zbynekstara:yarn-version-on-pr

Conversation

@zbynekstara

@zbynekstara zbynekstara commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Description

Adopt Yarn's deferred versioning so the intended release type (patch / minor / major) for each publishable @joint/* package is declared per pull request instead of being hand-applied at release time.

Contributors run yarn version-check and commit a small .yarn/versions/*.yml file describing their bump; CI blocks PRs that change a publishable package without one. At release a maintainer runs yarn version-apply to apply all accumulated bumps at once (Yarn rewrites cross-package workspace: ranges automatically).

Motivation and Context

Releases are currently fully manual: a maintainer hand-edits each package.json version and the CHANGELOG, then tags and publishes. Nothing records what kind of release a normal PR implies, so the bump decision is deferred to one person at the end and is easy to get wrong. Deferred versioning captures that intent at PR time, i.e. by the author with the most context, and makes the release step mechanical.

@zbynekstara
zbynekstara requested a review from Copilot July 24, 2026 16:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 72 out of 72 changed files in this pull request and generated 1 comment.

Comment thread .yarnrc.yml
# = Everything below is IGNORED (never triggers a bump)

# Tests, mocks, benchmarks, demos, stories (not shipped)
- "**/*.test.{js,ts,mjs}"
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