Skip to content

improvement(cli): automate npm package version bumps - #7127

Merged
TheodoreSpeaks merged 1 commit into
stagingfrom
feat/auto-bump-npms
Aug 26, 2026
Merged

improvement(cli): automate npm package version bumps#7127
TheodoreSpeaks merged 1 commit into
stagingfrom
feat/auto-bump-npms

Conversation

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator

Summary

  • Auto-bump sim and sim-setup from the highest published stable npm version
  • Preserve deliberate higher release versions and fail on registry or lockfile inconsistencies
  • Wire both publish workflows and regression coverage to the shared script

Type of Change

  • Improvement

Testing

  • bun run test:npm-package-versions
  • bun run lint
  • bun run apps/sim/scripts/check-block-registry.ts origin/staging
  • bun run check:audits
  • Verified both package selectors against the public npm registry

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@TheodoreSpeaks
TheodoreSpeaks requested a review from a team as a code owner August 26, 2026 21:24
@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 26, 2026 9:29pm

Request Review

@greptile-apps

greptile-apps Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR automates stable npm version selection for the sim and sim-setup packages and integrates the shared bump script into both publication workflows.

  • Adds registry-aware stable version resolution and coordinated manifest/lockfile updates.
  • Makes duplicate published versions fail publication rather than silently skipping.
  • Adds regression tests and includes them in the root test command.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
scripts/bump-npm-package-versions.ts Adds validated registry version selection and targeted package manifest and lockfile updates.
scripts/bump-npm-package-versions.test.ts Covers stable version resolution, deliberate higher versions, prerelease rejection, and lockfile consistency.
.github/workflows/publish-sim-cli.yml Runs automatic version bumping before validation and publishing while serializing releases.
.github/workflows/publish-sim-setup.yml Runs the shared automatic version bump before setup-package validation and publishing.
package.json Exposes the version-bump command and includes its regression suite in the root test chain.

Reviews (2): Last reviewed commit: "improvement(cli): automate npm package v..." | Re-trigger Greptile

Comment thread scripts/bump-npm-package-versions.test.ts
@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@TheodoreSpeaks
TheodoreSpeaks merged commit af7a12c into staging Aug 26, 2026
30 checks passed
@TheodoreSpeaks
TheodoreSpeaks deleted the feat/auto-bump-npms branch August 26, 2026 22:11
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.

1 participant