Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add monorepo setup recipe tailored for Ignite #173

Merged
merged 30 commits into from
Dec 16, 2024
Merged

Conversation

fpena
Copy link
Contributor

@fpena fpena commented Aug 22, 2024

PR Description

This PR introduces a guide for creating a Yarn mono repo tailored for React Native projects using the Ignite framework. The focus is on establishing a mono repo structure that accommodates shared utilities across multiple applications, such as a common ESLint configuration and a shared UI components library.

In detail, the guide includes:

  • Monorepo structure: A well-organized monorepo setup with apps/ and packages/ folders, optimized for shared code and dependencies across multiple projects.
  • React Native App setup with Ignite.
  • Add a shared ESLint configuration package.
  • Add a shared UI components package.

Lastly, there's a document with guidance on choosing the right mono repo strategy, including when to adopt or avoid a mono repo, standard tools (Yarn Workspaces, Nx, Turborepo), and typical setups that align with specific project needs.

@fpena fpena changed the title [DRAFT] Monorepo setup Add monorepo setup guide for Ignite Aug 22, 2024
@fpena fpena changed the title Add monorepo setup guide for Ignite Add monorepo setup recipe tailored for Ignite Aug 22, 2024
Copy link
Member

@ryanlntn ryanlntn left a comment

Choose a reason for hiding this comment

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

🚀🚀

Copy link
Contributor

@trevor-coleman trevor-coleman left a comment

Choose a reason for hiding this comment

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

Looks great!

Copy link
Contributor

@joshuayoes joshuayoes left a comment

Choose a reason for hiding this comment

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

These are phenomenal guides @fpena. This has been a big topic to cover but you've have done a great job capturing all of our feedback and more.

I look forward to linking to these articles in community discussions.

@jamonholmgren
Copy link
Member

I’ve given some feedback to Felipe in Slack, so once he’s addressed that and I’ve had a chance to review, then we can ship this!

@fpena
Copy link
Contributor Author

fpena commented Nov 29, 2024

As suggested by @jamonholmgren, created PR for part 1 of these pair of guides.

Copy link
Member

@jamonholmgren jamonholmgren left a comment

Choose a reason for hiding this comment

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

Just some small tweaks and then ready to ship, but I really love this iteration, great job @fpena!

docs/recipes/SettingUpYarnMonorepo.md Outdated Show resolved Hide resolved
docs/recipes/SettingUpYarnMonorepo.md Outdated Show resolved Hide resolved
docs/recipes/SettingUpYarnMonorepo.md Outdated Show resolved Hide resolved
docs/recipes/SettingUpYarnMonorepo.md Outdated Show resolved Hide resolved
docs/recipes/SettingUpYarnMonorepo.md Outdated Show resolved Hide resolved
docs/recipes/SettingUpYarnMonorepo.md Outdated Show resolved Hide resolved
docs/recipes/SettingUpYarnMonorepo.md Outdated Show resolved Hide resolved
@fpena fpena merged commit 7263952 into main Dec 16, 2024
1 check passed
@fpena fpena deleted the fpena/add-monorepo-doc branch December 16, 2024 17:03
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.

Cannot run Ignite RN app in yarn monorepo Docs: Monorepo setup guide
5 participants