Skip to content

refactor: Made react native dependencies optional #735

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

Merged
merged 2 commits into from
Jan 28, 2022

Conversation

shaharyar123
Copy link
Contributor

@shaharyar123 shaharyar123 commented Jan 27, 2022

Summary

Made the following dependencies optional in datafile-manager and event-processor packages.
@react-native-community/async-storage
@react-native-community/netinfo

Test Plan

  • Manually tested thoroughly
  • All tests pass

@react-native-community/async-storage
@react-native-community/netinfo
@coveralls
Copy link

coveralls commented Jan 27, 2022

Coverage Status

Coverage remained the same at 97.184% when pulling cf71029 on sherry/peer-dependency-fix into 8affc03 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.184% when pulling 0ad6fb1 on sherry/peer-dependency-fix into 8affc03 on master.

@zashraf1985 zashraf1985 changed the title peer dependency changes to optional dependency refactor: Made react native dependencies optional Jan 28, 2022
Copy link
Contributor

@zashraf1985 zashraf1985 left a comment

Choose a reason for hiding this comment

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

LGTM!

@zashraf1985 zashraf1985 merged commit 116ee4b into master Jan 28, 2022
@zashraf1985 zashraf1985 deleted the sherry/peer-dependency-fix branch January 28, 2022 20:48
zashraf1985 added a commit that referenced this pull request Jan 31, 2022
zashraf1985 added a commit that referenced this pull request Jan 31, 2022
…and 0.9.4 for `js-sdk-event-processor` (#739)

## Summary
React native dependencies were converted from `peer` to `optional` in `js-sd-datafile-manager` version `0.9.2` and `js-sdk-event-processor` version `0.9.3`. After releasing, it appeared that they did not work as expected. This PR reverts back that change which was made in #735 and updates changelog and npm version to make new releases for both the packages.

## Test plan
- Manually tested.
- All unit tests pass
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.

4 participants