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

fix: add react-native.config.js to npm package #1611

Merged
merged 2 commits into from Oct 11, 2022
Merged

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Oct 11, 2022

Description

Autolinking was added with #1585 and it added react-native.config.js file with codegen configuration, but it did not add this file to npm include list causing its absence in final released package...

Fixes #1608

Changes

Added react-native.config.js to npm file list in main package.json

Test code and steps to reproduce

See #1608 for reproductions.

Checklist

  • Ensured that CI passes

@kkafar kkafar changed the base branch from main to @kkafar/fix-fte October 11, 2022 15:42
Base automatically changed from @kkafar/fix-fte to main October 11, 2022 16:06
@kkafar kkafar merged commit ae4758b into main Oct 11, 2022
@kkafar kkafar deleted the @kkafar/fix-1608 branch October 11, 2022 16:35
kkafar added a commit that referenced this pull request Oct 12, 2022
## Description

Fixes #1614

#1611 added `react-native.config.js` file to the library which uses
features supported since `@react-native-cli@9.0.0` thus causing library
fail to link while on Paper with React Native < 0.70.

This fix is borrowed from `react-native-safe-area-context`.

## Changes

Added check for `@react-native-community/cli-platform-android` version
in `react-native.config.js`.

## Test code and steps to reproduce

--

## Checklist

- [x] Ensured that CI passes
@kkafar kkafar self-assigned this Nov 17, 2022
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.

attempt child is not RNScreen type with React Navigation v6.0
1 participant