software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.67k stars 1.27k forks source link

Monorepo #5992

Closed tjzel closed 1 month ago

tjzel commented 2 months ago

About

This pull request finally moves Reanimated repo to desired monorepo structure.

The migration process will be divided into steps, so then code review would be feasible.

Summary

This particular pull request does only the following:

When reviewing, please only take those changes into account - clone this repository and browse the files.

After this PR monorepo's functionalities are not utilized. packages/react-native-reanimated still has its own node_modules and yarn.lock, as well as embedded packages. This will be changed in the following PRs.

Also, a number of scripts/CI won't work either due to path differences. This will also be amended in the upcoming PRs.

Test plan

Run yarn in the root of the repository, yarn && yarn build && yarn build:app in packages/react-native-reanimated and build the Example app as usual. It's working as expected.

Steps achieved towards monorepo