Skip to content

Conversation

patrycjakalinska
Copy link
Contributor

@patrycjakalinska patrycjakalinska commented Sep 26, 2025

Summary

More well-organized and sorted version of #8298

This PR adds docs as a part of monorepo ecosystem, and makes them use yarn v4.

To-do:

  • fix ymls
  • check if docs publish CI needs to be updated - probably not as it worked locally, but needs to make sure react-native-reanimated is not needed to be build beforehand
  • precommit
  • linting CIs

Test plan

Run yarn start in both monorepos. IMPORTANT! Also run yarn build && yarn serve in reanimated - it won't work in worklets as worklet documentation is done using some special under the table tricks to make it possible for two docs to work in one monorepo. Take a look at CIs changes, as well as new build path of docs.

@patrycjakalinska patrycjakalinska changed the title poc docs: Incorporate docs into monorepo Sep 26, 2025
@patrycjakalinska patrycjakalinska marked this pull request as ready for review September 26, 2025 12:47
@patrycjakalinska patrycjakalinska requested review from tjzel and removed request for kmagiera and tomekzaw September 26, 2025 12:47
Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

Please also make amendments to linting CIs and precommit scripts.

@patrycjakalinska
Copy link
Contributor Author

most of the changes in the CIs were 'cause of importing Reanimated and Worklets directly from monorepo, when we use stable versions from npm we no longer need these additional steps.

Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

Good job!

@patrycjakalinska patrycjakalinska added this pull request to the merge queue Oct 7, 2025
Merged via the queue into main with commit d6cf6cd Oct 7, 2025
13 checks passed
@patrycjakalinska patrycjakalinska deleted the @patrycjakalinska/monorepo-docs-incorporation branch October 7, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants