Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Conversation

@mattjohnsonpint
Copy link
Contributor

  • modus new --prerelease should forward the pre-release flag to the sdk install subcommand when needed
  • modus dev should not require --prerelease if the app is already using a pre-release SDK version

Versioning this as 0.18.0 to align with current cycle

@mattjohnsonpint mattjohnsonpint requested review from a team and Copilot May 17, 2025 00:42
@linear
Copy link

linear bot commented May 17, 2025

Copy link
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 ensures that the pre-release flag is properly passed to subcommands for the "new" and "dev" commands, addressing issues with SDK installation and runtime version retrieval when dealing with pre-release SDK versions.

  • In the "new" command, the pre-release flag is now conditionally appended to the SDK installation arguments.
  • In the "dev" command, the pre-release check is unified into a single variable and used consistently when determining runtime versions.
  • The CHANGELOG has been updated to document the changes in version 0.18.0.

Reviewed Changes

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

File Description
cli/src/commands/new/index.ts Updated to conditionally forward "--prerelease" to the SDK install subcommand.
cli/src/commands/dev/index.ts Unified pre-release flag usage for runtime version checks.
CHANGELOG.md Added changelog entry for the fix.

@trunk-io
Copy link

trunk-io bot commented May 17, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) May 17, 2025 00:43
@mattjohnsonpint mattjohnsonpint disabled auto-merge May 17, 2025 00:45
@mattjohnsonpint mattjohnsonpint marked this pull request as draft May 17, 2025 00:45
@mattjohnsonpint
Copy link
Contributor Author

found another cli thing.... hold this for now

@mattjohnsonpint mattjohnsonpint marked this pull request as ready for review May 17, 2025 01:02
@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) May 17, 2025 01:02
@mattjohnsonpint mattjohnsonpint merged commit 3222dd4 into main May 17, 2025
8 checks passed
@mattjohnsonpint mattjohnsonpint deleted the mjp/hyp-3371-modus-cli-pre-release-bugs branch May 17, 2025 01:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants