-
Notifications
You must be signed in to change notification settings - Fork 130
refactor: package overhaul #246
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
base: master
Are you sure you want to change the base?
Conversation
58c04c3 to
467e679
Compare
467e679 to
d9b08ac
Compare
| @@ -0,0 +1,42 @@ | |||
| # EXAMPLE USAGE: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mistake? This is a sample lefthook config and not actual config
| @@ -0,0 +1,71 @@ | |||
| import { type ReactNode, useEffect, useRef, useState } from 'react'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer .native.tsx and .tsx instead because .web isn't supported in all bundlers and needs additional config.
| "peerDependencies": { | ||
| "react": ">=16", | ||
| "react-native": ">=0.57" | ||
| "modern-screenshot": "*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason it can't be a regular dep?
| - name: Setup Node.js | ||
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | ||
| with: | ||
| node-version-file: .nvmrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing .nvmrc?
Overview
This PR introduces a big package overhaul.
First of all there is no more JavaScript, everything is migrated to TypeScript, build scripts are using
react-native-builder-bob. The example is now using latest version of React Native.Test Plan
This is only bumping example and changing the build process. Improvements like new architecture support are coming in next PRs