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

Monorepo [1/?] - move precommit scripts to root #5998

Merged
merged 48 commits into from
Jun 5, 2024

Conversation

tjzel
Copy link
Contributor

@tjzel tjzel commented May 9, 2024

About

This pull request is a part of the effort of migrating to monorepo structure:

Summary

This particular pull requests moves the precommit husky script to the root directory to enable it. It also extracts lint-staged configuration from packages/react-native-reanimated to a separate file for it to be less polluted.

Test plan

The script should be working as expected. Try it by cloning the monorepo and doing something bad in the code.

@tjzel tjzel requested review from tomekzaw and piaskowyk May 9, 2024 17:11
@tjzel tjzel requested a review from kmagiera as a code owner May 9, 2024 17:32
@tjzel tjzel changed the title Monorepo - move precommit scripts to root Monorepo [1/?] - move precommit scripts to root May 15, 2024
Base automatically changed from @tjzel/monorepo-github-actions to @tjzel/monorepo June 5, 2024 13:27
@tjzel tjzel merged commit 8c381e0 into @tjzel/monorepo Jun 5, 2024
8 checks passed
@tjzel tjzel deleted the @tjzel/monorepo-husky-and-precommit branch June 5, 2024 13:28
tjzel added a commit that referenced this pull request Jun 5, 2024
…code and paper example (#5999)

## Summary

## About

This pull request is a part of the effort of migrating to monorepo
structure:
- #5992
- #5993
- #5998

## Summary

This particular pull request moves `app` directory to a package called
`reanimated-app` and `Example` directory to `reanimated-paper-example`
package. It also makes use of hoisted `node_modules` for those two
packages and `react-native-reanimated`.

## Test plan

Run `reanimated-paper-example` on both iOS and Android to see that it
works.
tjzel added a commit that referenced this pull request Jun 5, 2024
…code and paper example (#5999)

This pull request is a part of the effort of migrating to monorepo
structure:
- #5992
- #5993
- #5998

This particular pull request moves `app` directory to a package called
`reanimated-app` and `Example` directory to `reanimated-paper-example`
package. It also makes use of hoisted `node_modules` for those two
packages and `react-native-reanimated`.

Run `reanimated-paper-example` on both iOS and Android to see that it
works.
tjzel added a commit that referenced this pull request Jun 5, 2024
## About

This pull request is a part of the effort of migrating to monorepo
structure:
- #5992
- #5993
- #5998
- #5999
- #6008
- #6020
- #6023
- #6029
- #6051
- #6053 

## Summary

This particular pull request takes removes `reanimated2` directory from
`src`.

## Test plan

Example apps should work as expected.

---------

Co-authored-by: Krzysztof Piaskowy <krzysztof.piaskowy@swmansion.com>
Co-authored-by: Michał Bert <michal.bert@swmansion.com>
@tjzel tjzel mentioned this pull request Jul 8, 2024
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.

None yet

2 participants