-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pnpm & react-native is too painful of a combination
- Loading branch information
Sergey Tatarintsev
committed
Apr 26, 2024
1 parent
fec6cb4
commit 51c19a4
Showing
9 changed files
with
1,502 additions
and
14,122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,12 @@ description: Setup Node.js and install dependencies | |
runs: | ||
using: composite | ||
steps: | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: 'pnpm' | ||
cache: 'yarn' | ||
|
||
- name: Install dependencies | ||
run: yarn install --immutable | ||
shell: bash | ||
run: pnpm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,15 +33,16 @@ | |
"expo.js" | ||
], | ||
"scripts": { | ||
"example": "pnpm --filter example", | ||
"example": "yarn workspace react-native-prisma-example", | ||
"test": "jest", | ||
"typecheck": "tsc --noEmit", | ||
"lint": "eslint \"**/*.{js,ts,tsx}\"", | ||
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", | ||
"prepare": "bob build", | ||
"release": "release-it", | ||
"ios:full": "yarn qe:sim && cd example && yarn ios", | ||
"clang": "clang-format -i ./cpp/*.cpp ./cpp/*.h && git add .", | ||
"ios": "cd example && pnpm ios" | ||
"ios": "cd example && yarn ios" | ||
}, | ||
"keywords": [ | ||
"react-native", | ||
|
@@ -85,7 +86,7 @@ | |
"react-native-url-polyfill": "2.0.0", | ||
"release-it": "^15.0.0", | ||
"turbo": "^1.10.7", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.4.3" | ||
}, | ||
"resolutions": { | ||
"@types/react": "17.0.21" | ||
|
@@ -97,6 +98,10 @@ | |
"react-native": "*", | ||
"react-native-quick-base64": "*" | ||
}, | ||
"workspaces": [ | ||
"example" | ||
], | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">= 18.0.0" | ||
}, | ||
|
Oops, something went wrong.