Skip to content

Conversation

@msluszniak
Copy link
Member

Description

This PR removes warnings while installing dependencies using yarn. Before this change there were some warnings about typescript dependency:

➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Project validation
➤ YN0057: │ react-native-executorch: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 504ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ computer-vision@workspace:apps/computer-vision doesn't provide typescript (pe8761), requested by react-native-wheel-scrollview-picker.
➤ YN0002: │ speech-to-text@workspace:apps/speech-to-text doesn't provide typescript (pf5fda), requested by react-native-wheel-scrollview-picker.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 502ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 239ms
➤ YN0000: · Done with warnings in 1s 341ms

after the change, it looks like this:

➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Project validation
➤ YN0057: │ llm: Resolutions field will be ignored
➤ YN0057: │ react-native-executorch: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 383ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 239ms

Apart from that, I change monorepo package.json to include all example apps from apps directory all in one.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (improves or adds clarity to existing documentation)

Tested on

  • iOS
  • Android

Testing instructions

Screenshots

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

@msluszniak msluszniak changed the title @ms/remove warnings from yarn Remove warnings from yarn & refactor monorepo's package.json Jun 7, 2025
@msluszniak
Copy link
Member Author

msluszniak commented Jun 9, 2025

I need to downgrade typescript here to version < 5.6 since eslint does not work with version higher than that. Therefore, it might cause a problem when changing documentation after installing demo apps.

Copy link
Contributor

Choose a reason for hiding this comment

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

This change can stay

@pweglik
Copy link
Contributor

pweglik commented Jun 9, 2025

Hey, I don't think it's neccessary, we're working on removing dependecy from Scroll picker anyway, and it's really weird choice of them to put typescript in peer dependencies. This way we don't have to maintain typescript version in every package.json - after your changes we'd need to do that

@msluszniak
Copy link
Member Author

msluszniak commented Jun 9, 2025

Ok, So I think that it would be reasonable to keep only change from package.json, merge it and create separate issue with removing dependecy from Scroll picker to not forget about it. WDYT? @pweglik

@pweglik
Copy link
Contributor

pweglik commented Jun 9, 2025

Yeah, let's do it - we already track scroll piker change with this issue so no need to create another one: #224 that @mlodyjesienin takes care of right now

@msluszniak msluszniak changed the title Remove warnings from yarn & refactor monorepo's package.json Refactor monorepo's package.json Jun 9, 2025
@msluszniak msluszniak requested a review from pweglik June 9, 2025 15:38
@msluszniak msluszniak merged commit 6e945b0 into main Jun 10, 2025
2 checks passed
@msluszniak msluszniak deleted the @ms/remove-warnings-from-yarn branch June 10, 2025 09:52
mkopcins pushed a commit that referenced this pull request Oct 15, 2025
## Description

This PR removes warnings while installing dependencies using `yarn`.
Before this change there were some warnings about `typescript`
dependency:
```
➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Project validation
➤ YN0057: │ react-native-executorch: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 504ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ computer-vision@workspace:apps/computer-vision doesn't provide typescript (pe8761), requested by react-native-wheel-scrollview-picker.
➤ YN0002: │ speech-to-text@workspace:apps/speech-to-text doesn't provide typescript (pf5fda), requested by react-native-wheel-scrollview-picker.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 502ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 239ms
➤ YN0000: · Done with warnings in 1s 341ms
```
after the change, it looks like this:
```
➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Project validation
➤ YN0057: │ llm: Resolutions field will be ignored
➤ YN0057: │ react-native-executorch: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 383ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 239ms
```

Apart from that, I change monorepo `package.json` to include all example
apps from `apps` directory all in one.

### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation update (improves or adds clarity to existing
documentation)

### Tested on

- [x] iOS
- [x] Android

### Testing instructions

<!-- Provide step-by-step instructions on how to test your changes.
Include setup details if necessary. -->

### Screenshots

<!-- Add screenshots here, if applicable -->

### Related issues

<!-- Link related issues here using #issue-number -->

### Checklist

- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have updated the documentation accordingly
- [x] My changes generate no new warnings

### Additional notes

<!-- Include any additional information, assumptions, or context that
reviewers might need to understand this PR. -->

---------

Co-authored-by: Mateusz Sluszniak <[email protected]>
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.

3 participants