Skip to content

Conversation

kraenhansen
Copy link
Collaborator

@kraenhansen kraenhansen commented Jun 19, 2025

Merging this PR will:

  • Add a --vebose option to the cmake-rn which will use "inherit" instead of output buffering, add a prefix to output when spawning and and silence Ora spinners. I suggest enabling this by default on CI.

@kraenhansen kraenhansen self-assigned this Jun 19, 2025
Copy link

changeset-bot bot commented Jun 19, 2025

⚠️ No Changeset found

Latest commit: 64827a5

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.

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

@kraenhansen kraenhansen force-pushed the kh/cmake-rn/verbose branch from 932d57f to 5cb8fe8 Compare June 19, 2025 12:44
@kraenhansen kraenhansen changed the title Add verbose option to cmake-rn Add --verbose option to cmake-rn Jun 19, 2025
@kraenhansen kraenhansen requested a review from Copilot June 19, 2025 13:58
Copy link
Contributor

@Copilot 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 adds a new --verbose option to cmake‐rn to allow more detailed output during builds, update dependency versions for bufout, and silence Ora spinners when verbose output is enabled.

  • Introduces a new verbose option in packages/cmake-rn/src/cli.ts that switches spawn output from buffered to inherit and provides an output prefix.
  • Updates bufout dependency versions in package.json files.

Reviewed Changes

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

File Description
packages/host/package.json Updated bufout dependency version
packages/ferric/package.json Updated bufout dependency version
packages/cmake-rn/src/cli.ts Added --verbose option; modified spawn calls to conditionally control output and spinner silence
packages/cmake-rn/package.json Updated bufout dependency version

// Configure every triplet project
await oraPromise(Promise.all(tripletContext.map(configureProject)), {
text: "Configuring projects",
isSilent: globalContext.verbose,
Copy link
Preview

Copilot AI Jun 19, 2025

Choose a reason for hiding this comment

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

The spinner configuration uses globalContext.verbose while the spawn calls use a locally destructured verbose flag. For consistency and clearer behavior, consider using one source for the verbose flag throughout the file.

Copilot uses AI. Check for mistakes.

@kraenhansen kraenhansen added the CMake RN Our `cmake` wrapping CLI label Jun 19, 2025
This was referenced Jun 19, 2025
@kraenhansen kraenhansen merged commit ece778a into main Jun 20, 2025
4 checks passed
@kraenhansen kraenhansen deleted the kh/cmake-rn/verbose branch June 20, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake RN Our `cmake` wrapping CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant