Skip to content

[Monorepo] Rename apps#3519

Merged
m-bert merged 16 commits into
@mbert/monorepofrom
@mbert/monorepo-rename-apps
May 21, 2025
Merged

[Monorepo] Rename apps#3519
m-bert merged 16 commits into
@mbert/monorepofrom
@mbert/monorepo-rename-apps

Conversation

@m-bert
Copy link
Copy Markdown
Collaborator

@m-bert m-bert commented May 19, 2025

Description

This PR renames example apps an the ones generated by CLI are not valid (namely name field in package.json cannot be uppercased).

It also:

  • Adds yarn paper script into expo-example app
  • Adds yarn macos into macos-example app
  • Removes selfReferences from common-app as without it macos-example doesn't start (expo seems to handle it better)

Test plan

Checked that example apps work

@m-bert m-bert requested a review from j-piasecki May 19, 2025 10:48
Comment thread apps/common-app/App.tsx
Comment on lines +310 to +316
void AsyncStorage.multiGet([OPEN_LAST_EXAMPLE_KEY, LAST_EXAMPLE_KEY]).then(
([openLastExample, lastExample]) => {
if (openLastExample[1] === 'true' && lastExample[1]) {
navigate(navigation, lastExample[1]);
}

return;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Those are funny changes.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yep, this is because eslint for some reason started yelling at me and I wanted to avoid adding another ignores/warns 😅

@m-bert m-bert merged commit e593b2e into @mbert/monorepo May 21, 2025
10 checks passed
@m-bert m-bert deleted the @mbert/monorepo-rename-apps branch May 21, 2025 10:03
@m-bert m-bert mentioned this pull request May 21, 2025
23 tasks
m-bert added a commit that referenced this pull request May 23, 2025
## Description

This is base PR that migrates our repository into monorepo structure. It creates following structure:

- `/apps` - here we will put our example apps.
- `/packages` - main directory for Gesture Handler package, along with documentation.
- `/scripts` - scripts that are used by _**GestureHandler**_ (for example formatting scripts)

## Steps

<details>
<summary>Here is the list of PRs that fix issues caused by changing structure of the repository:</summary>

1. #3487
2. #3490
3. #3494
4. #3495
5. #3496
6. #3497
7. #3503
8. #3506
9. #3507
10. #3510
11. #3515
12. #3518
13. #3519
14. #3524
15. #3525
16. #3526
18. #3528

</details>

Note that most of them depends on previous ones, so **_they had to be merged in given order_** (at least up to no. 9).

## Test plan

<details>
<summary>Following subjects were tested in order to make sure that everything works after migration:</summary>

### Example apps

- [x] basic-example
  - [x] Android
  - [x] iOS
- [x] expo-example (fabric)
  - [x] Android
  - [x] iOS
  - [x] web (in that case architecture doesn't matter)
- [x] expo-example (paper)
  - [x] Android
  - [x] iOS
- [x] macos-example

### Scripts

- [x] check-android-dirs
- [x] check-rn-versions
- [x] format-android
- [x] format-apple
- [x] codegen-check-consistency
- [x] codegen-sync-archs
- [x] clangd

### Linters

- [x] prettier
- [x] eslint
- [x] lint-staged

### docs

- [x] check documentation

### Build from generated package

- [x] New app builds correctly

</details>
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.

2 participants