Skip to content

Conversation

@unisol1020
Copy link
Contributor

Description:

Add new CLI command 'init' to automate project setup. The command installs required dependencies.
Key features:

  • Installs essential dependencies (nativewind, async-storage, etc.)
  • Configures path aliases
  • Copies utility files
  • Supports overwriting existing files with confirmation prompt

Tested Platforms:

  • Docs
  • Web

Affected Apps/Packages:

  • [apps/cli] - Added new init command
  • [apps/docs] - Updated documentation for initial setup

Usage:

npx @react-native-reusables/cli@latest init [options]

@vercel
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rnr-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 5:43pm
rnr-showcase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 5:43pm

@mrzachnugent
Copy link
Member

Hey @unisol1020 thanks for the PR. I'll try to go over it this weekend.

I noticed that you are using a relative path to the starter-base template. Although that works locally it won't work as an npm package. You will need to add the package as a dependency in the package.json and use the path to the node_modules to use it.

@unisol1020
Copy link
Contributor Author

Hi @mrzachnugent . Sry for this one. I never did it before, so i will check.

Copy link
Member

@mrzachnugent mrzachnugent left a comment

Choose a reason for hiding this comment

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

Hey @unisol1020 Thanks for taking on this big feature. Let me know if anything needs more clarification.

@unisol1020
Copy link
Contributor Author

Hey @mrzachnugent. I will check. TY

@unisol1020
Copy link
Contributor Author

Hey @mrzachnugent . Can u check if it looks good pls

Copy link
Member

@mrzachnugent mrzachnugent left a comment

Choose a reason for hiding this comment

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

@unisol1020 Thank you for contributing, Great job!

@mrzachnugent mrzachnugent merged commit a3cd9cd into founded-labs:main Jan 2, 2025
2 checks passed
@unisol1020
Copy link
Contributor Author

@mrzachnugent may I add dark theme/mode toggle to docs?

@mrzachnugent
Copy link
Member

@unisol1020

Do you mean adding the <ThemeToggle /> component. In that case, you can add it. I think it would be best to add it in the Extras section.

Screenshot 2025-01-03 at 10 52 29 AM

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