Skip to content

Commit

Permalink
blank find-node.sh after yarn install (#48)
Browse files Browse the repository at this point in the history
* parking

* add post install patch for RN

* remove from ci config
  • Loading branch information
jdivock-stripe committed Feb 1, 2022
1 parent 4971295 commit 88cb90a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,6 @@ jobs:
command: yarn install --frozen-lockfile
name: yarn install

- run:
command: |
rm example/node_modules/react-native/scripts/find-node.sh
touch example/node_modules/react-native/scripts/find-node.sh
name: remove find node

- pod_install

- run:
Expand Down
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"build:server": "babel server --out-dir dist --extensions '.ts,.tsx' --ignore '**/__tests__/**' --source-maps --copy-files --delete-dir-on-start",
"start:server": "ts-node server/index.ts",
"start:server:ci": "ts-node server/index.ts &",
"watch:server": "nodemon --exec ts-node server/index.ts"
"watch:server": "nodemon --exec ts-node server/index.ts",
"postinstall": "scripts/fixRN.sh"
},
"dependencies": {
"@react-native-community/masked-view": "^0.1.11",
Expand Down
6 changes: 6 additions & 0 deletions example/scripts/fixRN.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

cd "$(dirname "$0")/.."

rm node_modules/react-native/scripts/find-node.sh
touch node_modules/react-native/scripts/find-node.sh

0 comments on commit 88cb90a

Please sign in to comment.