Skip to content

Conversation

@altaywtf
Copy link
Contributor

@altaywtf altaywtf commented Jun 5, 2025

Why

As a recent contributor, I encountered some difficulty in determining the precise versions required to run the project. This PR aims to address this issue by adding version files and providing detailed instructions in the documentation.

How

  • Added .node-version and .ruby-version files to respective directories.
  • Added packageManager to package.json.
  • Updated documentation to mention about relevant tools and versions.
  • Re-ran installation scripts for node, ruby/bundler, and cocoapods.
  • Updated lockfiles accordingly.
  • Also updated workflows to get the node version from the .node-version file.

Test Plan

  • I'm using asdf with asdf-node and asdf-ruby plugins, it's helping a lot for managing these tools with different versions. You may consider giving a try.
  • Alternatively, tools like nvm, fnm, rbenv should also work similarly.

@altaywtf altaywtf requested a review from gabrieldonadel as a code owner June 5, 2025 20:40
@altaywtf altaywtf changed the title feat: improve setup instructions for contributing [workspace] feat: improve setup instructions for contributing Jun 5, 2025
@altaywtf altaywtf force-pushed the feat/improve-setup-instructions branch from 4bb6f6a to 3962e5c Compare June 10, 2025 07:52
@gabrieldonadel gabrieldonadel requested a review from Simek June 10, 2025 12:35
@Simek
Copy link
Contributor

Simek commented Jun 10, 2025

Hey @altaywtf, thanks for bringing up the issues you have encountered, and updating setup a bit! 👍

I'm not a big fan of version files approach, since we don't use them anywhere in Expo repos, let's revert that part. The rest of changes looks great tho! 👌

In near future, I would look at migrating Orbit monorepo to the latests Yarn Berry, there should not be any blockers on this repo, in contrast to the core one. I can also make sure that Node versions are aligned across the codebase.

@altaywtf
Copy link
Contributor Author

altaywtf commented Jun 10, 2025

Hey @altaywtf, thanks for bringing up the issues you have encountered, and updating setup a bit! 👍

I'm not a big fan of version files approach, since we don't use them anywhere in Expo repos, let's revert that part. The rest of changes looks great tho! 👌

In near future, I would look at migrating Orbit monorepo to the latests Yarn Berry, there should not be any blockers on this repo, in contrast to the core one. I can also make sure that Node versions are aligned across the codebase.

thanks @Simek, appreciate your review.

would you like me to remove .node-version and .ruby-version files?

how are we gonna make tools like nvm, rbenv to find out which one to use if we remove them? it's probably OK for node since packageManager + engines might help but for ruby v2-v3 differs a little bit.


updated the PR btw, would u mind having another look?

@altaywtf altaywtf force-pushed the feat/improve-setup-instructions branch from 3962e5c to 75bf318 Compare June 10, 2025 15:13
@altaywtf altaywtf force-pushed the feat/improve-setup-instructions branch from 75bf318 to b7bf714 Compare June 10, 2025 15:14
Copy link
Contributor

@Simek Simek left a comment

Choose a reason for hiding this comment

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

Thanks for all of the updates! 👌

Approving already, just one more nit about recommended way to instal pods for menubar app.

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
@gabrieldonadel gabrieldonadel merged commit 589ccef into expo:main Jun 10, 2025
1 check passed
@altaywtf altaywtf deleted the feat/improve-setup-instructions branch June 10, 2025 18:57
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.

3 participants