Skip to content

Conversation

@konti-aditi
Copy link
Contributor

Date: 15-03-2025

Developer Name: @Aditys018


Issue Ticket Number

#482

Description

Updated readme for the proper setup of CLI and Expo projects, updated package.json to the latest required node version for the smooth functioning of CLI app

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Test Coverage

Screenshot 1

Additional Notes

@coderabbitai
Copy link

coderabbitai bot commented Mar 15, 2025

Summary by CodeRabbit

  • Documentation

    • Enhanced setup instructions with distinct sections for CLI and Expo environments, providing clearer guidance for local development and Git operations.
  • Chores

    • Upgraded the Node version requirement to align with current standards.

Walkthrough

The pull request updates the project documentation and dependency configuration. The README now clearly distinguishes between the CLI and Expo apps, providing separate setup instructions, Git commands, and running instructions for each environment. Prerequisites have been revised, updating the required JDK to version 17 and Node.js to version 18. Additionally, the package.json file's volta configuration now specifies Node.js version 18.18.0 instead of 18.0.0. No modifications were made to public or exported entities.

Changes

File(s) Change Summary
README.md Updated project description; separated setup instructions, Git commands, and running instructions for CLI and Expo apps; revised prerequisites (JDK 17, Node.js 18) to reflect migration from React Native CLI to Expo.
package.json Updated volta Node.js version from 18.0.0 to 18.18.0; Yarn version remains unchanged.

Poem

I'm a rabbit with a joyful hop,
Reviewing docs until I stop!
CLI and Expo now have their clear way,
With updated versions for a brighter day.
Hop along with code so neat—yay!

Tip

⚡🧪 Multi-step agentic review comment chat (experimental)
  • We're introducing multi-step agentic chat in review comments. This experimental feature enhances review discussions with the CodeRabbit agentic chat by enabling advanced interactions, including the ability to create pull requests directly from comments.
    - To enable this feature, set early_access to true under in the settings.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🔭 Outside diff range comments (1)
README.md (1)

90-98: 🧹 Nitpick (assertive)

Git Commands for Local CLI Setup

The Git instructions are straightforward and easy to follow. As an enhancement, ensure that the fenced code block is surrounded by blank lines and includes an appropriate language specifier (e.g., ```bash) to improve readability and conform with markdown best practices.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

92-92: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9e0903f and ea4a21b.

📒 Files selected for processing (2)
  • README.md (6 hunks)
  • package.json (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
README.md

47-47: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


48-48: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


59-59: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


61-61: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


62-62: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


62-62: Bare URL used
null

(MD034, no-bare-urls)


63-63: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


64-64: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


68-68: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


69-69: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


69-69: Bare URL used
null

(MD034, no-bare-urls)


70-70: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


71-71: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


72-72: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


73-73: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


100-100: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


101-101: Fenced code blocks should be surrounded by blank lines
null

(MD031, blanks-around-fences)


101-101: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


129-129: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


131-131: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


132-132: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


133-133: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


135-135: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


137-137: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


138-138: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


139-139: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

🔇 Additional comments (2)
package.json (1)

119-122: Node Version Update Verified

The Volta configuration has been updated to use "node": "18.18.0", which now aligns with the prerequisites described in the README. This update ensures consistency between the documentation and the toolchain requirements.

README.md (1)

12-17: Enhanced Project Description and Migration Clarity

The updated section clearly describes that the repository now includes both a CLI app and an Expo app—and it explains the ongoing migration from React Native CLI to Expo. This added clarity helps users understand the dual setup.

Comment on lines +47 to +48
- JDK ( openjdk 17.0.13 2025-03-15 )
- Node setup ( use version v18.*, tested on v18.18.0)
Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Updated Prerequisites

The prerequisites now specify the updated JDK version (openjdk 17.0.13) and the Node setup (version v18.*, tested on v18.18.0). Consider using a consistent unordered list marker (asterisk) instead of dashes, as recommended by your markdown style guidelines.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

47-47: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


48-48: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

Comment on lines +59 to +65
### Local App setup for CLI

- Set up your local environment for React Native following the environment setup guide.
- Clone the mobile app repository: git clone https://github.com/Real-Dev-Squad/mobile-app.git
- Set up your local environment for React Native CLI following the environment setup guide.
- Clone the mobile app repository from develop branch: git clone https://github.com/Real-Dev-Squad/mobile-app.git
- Run the command: `yarn`
- Start contributing!

Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Local App Setup for CLI

The step-by-step instructions for setting up the CLI app are clear and well organized. To further enhance consistency with the rest of the document, verify that the bullet list style conforms to your project’s markdown guidelines (preferably asterisks).

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

59-59: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


61-61: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


62-62: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


62-62: Bare URL used
null

(MD034, no-bare-urls)


63-63: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


64-64: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

Comment on lines +66 to 76
### Local App setup for Expo

- Set up your local environment for React Native Expo following the environment setup guide.
- Clone the mobile app repository from develop branch: git clone https://github.com/Real-Dev-Squad/mobile-app.git
- Switch to the expo-migration branch
- Make sure you don't have metro.config.js and yarn.lock files from CLI project in expo-migration branch
- Change the directory to RDSExpoApp
- Create Yarn.lock file in RDSExpoApp folder
- Run the command: `yarn`
- Start contributing!

Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Local App Setup for Expo

The new section detailing the setup for the Expo app is comprehensive and clearly distinguishes itself from the CLI instructions. As with the CLI section, consider adopting a consistent bullet style (e.g., asterisks) to align with markdown best practices.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

68-68: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


69-69: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


69-69: Bare URL used
null

(MD034, no-bare-urls)


70-70: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


71-71: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


72-72: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


73-73: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


74-74: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


75-75: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

Comment on lines +100 to +108
## Git commands for local Expo setup
```
git clone https://github.com/Real-Dev-Squad/mobile-app.git

cd RDSExpoApp

yarn


Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Git Commands for Local Expo Setup

The guidance here is clear. However, the inline instruction at line 105 (“- Make sure to remove conflicting CLI project files if present”) appears inside a code block. For clarity, consider prefixing this remark with a shell comment symbol (e.g., #) so that it’s not mistaken for an executable command. Additionally, adding a language specifier to the fenced code block would be beneficial.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

100-100: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


101-101: Fenced code blocks should be surrounded by blank lines
null

(MD031, blanks-around-fences)


101-101: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

Comment on lines +129 to 134
**Running/Development for CLI**

- Start Metro (JavaScript bundler): `yarn react-native start`
- For Android: `yarn react-native run-android`
- For iOS: yarn `react-native run-ios`

Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Formatting Improvement for CLI Development Section

The section title "Running/Development for CLI" is currently styled with bold text. For better semantic clarity and consistency, consider converting it into a proper markdown heading (e.g., using ## Running/Development for CLI).

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

129-129: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


131-131: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


132-132: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


133-133: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

Comment on lines +135 to 141
**Running/Development for Expo**

- Start Metro bundler: `npx expo start`
- For Android: `npx expo run:android`
- For iOS: yarn `npx expo run:ios`

If the above commands fail, try building the Android app from Android Studio and the iOS app from Xcode.
Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Formatting Improvement for Expo Development Section

Similarly, the "Running/Development for Expo" title would be more effective as a markdown heading rather than bold text. Using a heading format will improve the document’s structure and readability.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

135-135: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


137-137: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


138-138: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


139-139: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

@konti-aditi konti-aditi closed this Apr 8, 2025
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.

2 participants