Skip to content

clean up release tooling#3177

Merged
turadg merged 6 commits intomasterfrom
ta/release-tooling
Apr 14, 2026
Merged

clean up release tooling#3177
turadg merged 6 commits intomasterfrom
ta/release-tooling

Conversation

@turadg
Copy link
Copy Markdown
Member

@turadg turadg commented Apr 13, 2026

Description

Clean up release tooling dependencies:

  • Bump @changesets/cli from ^2.29.8 to ^2.30.0
  • Bump @changesets/changelog-github from ^0.5.2 to ^0.6.0
  • Bump lerna from ^8.1.8 to ^8.2.4
  • Remove obsolete conventional-changelog-conventionalcommits dependency (was in dependencies instead of devDependencies and is no longer used)
  • Remove obsolete .yarn/patches/ for @lerna/version and @lerna/conventional-commits (patches targeted v5.6.2, current lerna is v8.x)

Security Considerations

No new authorities or trust boundaries. Dependency bumps are minor/patch versions.

Scaling Considerations

No impact.

Documentation Considerations

None.

Testing Considerations

CI should verify that yarn install resolves cleanly and existing release scripts still work.

Compatibility Considerations

No breaking changes. The removed patches targeted Lerna 5.x which is no longer in use.

Upgrade Considerations

None.

Copilot AI review requested due to automatic review settings April 13, 2026 19:03
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 13, 2026

⚠️ No Changeset found

Latest commit: 15fa040

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up and modernizes the release tooling dependency set by updating Changesets/Lerna versions and removing legacy dependencies/patches that targeted older Lerna releases.

Changes:

  • Bump @changesets/cli and @changesets/changelog-github to newer minor versions.
  • Bump lerna to ^8.2.4 and refresh the lockfile accordingly.
  • Remove obsolete conventional-changelog-conventionalcommits and Yarn patch files/resolutions that targeted Lerna 5.6.2.

Reviewed changes

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

File Description
package.json Updates dev dependency versions; removes conventional-changelog-conventionalcommits and old Yarn patch resolutions.
yarn.lock Lockfile refresh for bumped Changesets/Lerna and removal of now-unused packages.
.yarn/patches/@lerna-version-npm-5.6.2-ce2d9cb2f5.patch Deletes obsolete patch for Lerna 5.x.
.yarn/patches/@lerna-conventional-commits-npm-5.6.2-a373ba4bc0.patch Deletes obsolete patch for Lerna 5.x.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 62 to 66
"test262": "yarn workspaces foreach --all run test262",
"build": "yarn workspaces foreach --all run build",
"build-ts": "tsc --build tsconfig.build.json"
},
"dependencies": {
"conventional-changelog-conventionalcommits": "^4.6.0"
},
"prettier": {
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

conventional-changelog-conventionalcommits is removed here, but lerna.json still sets command.version.changelogPreset to "conventionalcommits". Lerna typically resolves that preset by requiring conventional-changelog-conventionalcommits, so lerna version/conventional-changelog generation may fail at runtime once this dep is gone. Either keep this package as a devDependency, or update lerna.json to use a preset that is actually available (e.g. one Lerna bundles) or remove the changelogPreset override.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@boneskull we version by Changesets now instead of Lerna, right? Maybe there's more to clean up in lerna.json.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Right, we don't need that config for Lerna any longer. All that Lerna's doing is lerna publish from-package which determines which packages need publishing and routes them thru yarn publish.

Related: LavaMoat/LavaMoat#1888

This PR should get @lavamoat/laverna in shape so that it can fully replace lerna in Endo.

Copy link
Copy Markdown
Member

@boneskull boneskull left a comment

Choose a reason for hiding this comment

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

This is good, with the caveat that lerna.json may need pruning.

All that Lerna's doing now is `lerna publish from-package` which determines which packages need publishing and routes them thru `yarn publish`.

�[1m$ �[22myarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] [--require #0] <scriptName> ....
@turadg turadg enabled auto-merge April 14, 2026 16:40
@turadg turadg merged commit 2463298 into master Apr 14, 2026
25 of 26 checks passed
@turadg turadg deleted the ta/release-tooling branch April 14, 2026 16:46
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.

3 participants