Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented May 29, 2025

Description

We weren't substituting roo-cline with roo-code-nightly in the generated package.json file if roo-cline appeared multiple times in a JSON node.


Important

Fix substitution issue in generatePackageJson and update test scripts and configurations for consistent vitest usage.

  • Behavior:
    • Fix substitution issue in generatePackageJson in esbuild.ts to replace all instances of roo-cline with roo-code-nightly.
  • Testing:
    • Update test cases in index.test.ts to verify multiple substitutions in generatePackageJson.
    • Add vitest.config.ts for Vitest configuration.
  • Scripts:
    • Change test script in package.json files to vitest run from vitest --globals --run in build, cloud, telemetry, and types packages.
    • Update comments in test files to reflect new vitest command usage.

This description was created by Ellipsis for fcb60cf. You can customize this summary. It will automatically update as commits are pushed.

@cte cte requested a review from mrubens as a code owner May 29, 2025 05:17
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 29, 2025
@cte cte requested a review from jr May 29, 2025 05:17
@cte
Copy link
Collaborator Author

cte commented May 29, 2025

CC @jr - this fixes the rooCodeCloudEnabled setting for the nightly build.

@cte cte merged commit 9d9880a into main May 29, 2025
14 checks passed
@cte cte deleted the cte/fix-nightly-package-json branch May 29, 2025 05:23
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap May 29, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 29, 2025
SmartManoj pushed a commit to SmartManoj/Raa-Code that referenced this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants