feat: project init
This commit is contained in:
parent
4e4c686f4d
commit
a182c5d3c6
12
.github/workflows/e2e_ios.yml
vendored
12
.github/workflows/e2e_ios.yml
vendored
@ -159,6 +159,18 @@ jobs:
|
|||||||
key: ${{ runner.os }}-metro-v1-${{ github.run_id }}
|
key: ${{ runner.os }}-metro-v1-${{ github.run_id }}
|
||||||
restore-keys: ${{ runner.os }}-metro-v1
|
restore-keys: ${{ runner.os }}-metro-v1
|
||||||
|
|
||||||
|
- name: Pre-fetch Javascript bundle
|
||||||
|
run: |
|
||||||
|
nohup yarn tests:packager:jet-ci &
|
||||||
|
printf 'Waiting for packager to come online'
|
||||||
|
until curl --output /dev/null --silent --head --fail http://localhost:8081/status; do
|
||||||
|
printf '.'
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "Packager is online! Preparing bundle..."
|
||||||
|
curl --output /dev/null --silent --head --fail "http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&inlineSourceMap=true"
|
||||||
|
echo "...javascript bundle ready"
|
||||||
|
|
||||||
- name: Create Simulator Log
|
- name: Create Simulator Log
|
||||||
# With a little delay so the detox test below has time to spawn it, missing the first part of boot is fine
|
# With a little delay so the detox test below has time to spawn it, missing the first part of boot is fine
|
||||||
# If you boot the simulator separately from detox, some other race fails and detox testee never sends ready to proxy
|
# If you boot the simulator separately from detox, some other race fails and detox testee never sends ready to proxy
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,7 +41,6 @@ local.properties
|
|||||||
node_modules/
|
node_modules/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
|
||||||
Example/**/update.json
|
|
||||||
Example/**/.update
|
Example/**/.update
|
||||||
Example/**/.pushy
|
Example/**/.pushy
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
root: true,
|
|
||||||
extends: '@react-native-community',
|
|
||||||
};
|
|
10
Example/testHotUpdate/update.json
Normal file
10
Example/testHotUpdate/update.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"ios": {
|
||||||
|
"appId": 10976,
|
||||||
|
"appKey": "p5q_rPYNOE0WdCf-i9ZCGPw-DUGUCMvY"
|
||||||
|
},
|
||||||
|
"android": {
|
||||||
|
"appId": 10977,
|
||||||
|
"appKey": "bUYKfZgtC9VirZsQbAt8qken2Gq2uxe3"
|
||||||
|
}
|
||||||
|
}
|
@ -33,3 +33,4 @@ $ yarn start
|
|||||||
本组件由[React Native 中文网](https://reactnative.cn/)独家发布,如有定制需求可以[联系我们](https://reactnative.cn/about.html#content)。
|
本组件由[React Native 中文网](https://reactnative.cn/)独家发布,如有定制需求可以[联系我们](https://reactnative.cn/about.html#content)。
|
||||||
|
|
||||||
关于此插件发现任何问题,可以前往[Issues](https://github.com/reactnativecn/react-native-pushy/issues)发帖提问。
|
关于此插件发现任何问题,可以前往[Issues](https://github.com/reactnativecn/react-native-pushy/issues)发帖提问。
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user