Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented May 20, 2025

Description

Add a new "Roo Code Nightly" app that uses the "Roo Code" production app but overrides package.json to set a new name, version, etc. I also added a utility package so we can share common esbuild functions.


Important

Introduces Roo Code Nightly app with custom build configurations and shared esbuild utilities.

  • New App:
    • Adds Roo Code Nightly app in apps/vscode-nightly with custom package.json and package.nightly.json.
    • Overrides package.json values for name, version, etc., using esbuild.mjs.
  • Build Process:
    • Introduces @roo-code/build package for shared esbuild functions like getGitSha, copyPaths, copyLocales, copyWasms, and generatePackageJson.
    • Updates vite.config.ts to handle nightly mode, setting output directory and environment variables.
  • Scripts and Configurations:
    • Adds build:nightly script in root package.json.
    • Configures ESLint for vscode-nightly and build packages.
  • Miscellaneous:
    • Updates src/extension.ts to log package details on activation.
    • Modifies About.tsx in webview-ui to display version and git SHA.

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

@cte cte requested a review from mrubens as a May 20, 2025 20:41
@cte cte changed the title Monorepo Roo Code Nightly May 20, 2025
@cte cte force-pushed the cte/roo-code-nightly branch from cfd7143 to 038f2c0 Compare May 20, 2025 21:09
@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap May 20, 2025
@KJ7LNW
Copy link
Contributor

KJ7LNW commented May 21, 2025

please put ~8 digits of commit hash into the version like 3.17.9-abcef12

@mrubens
Copy link
Collaborator

mrubens commented May 21, 2025

please put ~8 digits of commit hash into the version like 3.17.9-abcef12

I love this idea. I wonder what the format needs to be though. https://code.visualstudio.com/api/references/extension-manifest says version needs to be a "SemVer compatible version". Does that mean 3.17.9+abcdef12?

@KJ7LNW
Copy link
Contributor

KJ7LNW commented May 21, 2025

please put ~8 digits of commit hash into the version like 3.17.9-abcef12

I love this idea. I wonder what the format needs to be though. https://code.visualstudio.com/api/references/extension-manifest says version needs to be a "SemVer compatible version". Does that mean 3.17.9+abcdef12?

Maybe? Whatever builds successfully info a .vsix and shows at the bottom of About Roo is sufficent, and it'll help if users/contributors report issuers.

@KJ7LNW
Copy link
Contributor

KJ7LNW commented May 21, 2025

please put ~8 digits of commit hash into the version like 3.17.9-abcef12

I love this idea. I wonder what the format needs to be though. https://code.visualstudio.com/api/references/extension-manifest says version needs to be a "SemVer compatible version". Does that mean 3.17.9+abcdef12?

Maybe? Whatever builds successfully info a .vsix and shows at the bottom of About Roo is sufficent, and it'll help if users/contributors report issuers.

Oh! Marketplace will want sequential order, but hashes are random, so try this:

3.17.9.YYMMDD+hash

@cte
Copy link
Collaborator Author

cte commented May 21, 2025

I can just inject the SHA in an ENV var using esbuild, so I'm not sure I need to touch the VSCode version at all. Is there an advantage to using the version? It seems easier to just have the changeset cli manage the version as part of CI.

@KJ7LNW
Copy link
Contributor

KJ7LNW commented May 21, 2025

If the commit hash shows up here, then that is all I am trying to accomplish so that users can report exactly the version they are using if there is a problem:

image

@cte
Copy link
Collaborator Author

cte commented May 21, 2025

498365c (#3761):

Screenshot 2025-05-21 at 1 36 00 AM

@cte cte merged commit b8cce24 into cte/monorepo May 21, 2025
@cte cte deleted the cte/roo-code-nightly branch May 21, 2025 18:54
@github-project-automation github-project-automation bot moved this from PR [Pre Approval Review] to Done in Roo Code Roadmap May 21, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 21, 2025
SmartManoj pushed a commit to SmartManoj/Raa-Code that referenced this pull request Jun 13, 2025
* changeset version bump

* Updating CHANGELOG.md format

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants