refactor(repo): switch to monorepo architecture #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Goals
The goal of this PR is to restructure the repository into two distinct folders to improve organization, scalability, and maintainability:
apps/
This folder will contain:
docs/).example/).packages/
react-native-ficus-uipackage, keeping it as it is currently published on npm.react-native-ficus-ui.tsconfig, Prettier, ESLint) for all apps and packages within the repository.Did some cleaning of the eslint config:
start-ui-webconfigurationMotivations
This restructuring is driven by several key benefits:
Better Code Organization & Dependency Management
Modular & Scalable UI Library
Improved Developer Experience
Streamlined Package & Release Management
Next Structural Steps (for Future PRs)
package.jsonfiles.These improvements will lay the groundwork for ongoing development, including bug fixes and feature additions.
Breaking changes
Allegedly, the only breaking changes are the dependencies being moved to peerDependencies, as done in #42
Remaining Tasks
CONTRIBUTING.md.package.json.Issue:
pnpm devcommand is not working because of dependcies not being transpiled properly. Thepnpm build&&pnpm startstill work.This PR is a critical first step in making the repository more structured, scalable, and developer-friendly. Looking forward to your feedback!