mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	feat: project init
This commit is contained in:
		| @@ -0,0 +1 @@ | |||||||
|  | {"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":{"path":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":109,"column":2}}},"fnMap":{},"branchMap":{"0":{"loc":{"start":{"line":4,"column":11},"end":{"line":4,"column":47}},"type":"cond-expr","locations":[{"start":{"line":4,"column":28},"end":{"line":4,"column":35}},{"start":{"line":4,"column":38},"end":{"line":4,"column":47}}],"line":4},"1":{"loc":{"start":{"line":9,"column":18},"end":{"line":9,"column":48}},"type":"cond-expr","locations":[{"start":{"line":9,"column":35},"end":{"line":9,"column":36}},{"start":{"line":9,"column":39},"end":{"line":9,"column":48}}],"line":9},"2":{"loc":{"start":{"line":15,"column":11},"end":{"line":15,"column":49}},"type":"cond-expr","locations":[{"start":{"line":15,"column":28},"end":{"line":15,"column":37}},{"start":{"line":15,"column":40},"end":{"line":15,"column":49}}],"line":15},"3":{"loc":{"start":{"line":16,"column":18},"end":{"line":16,"column":56}},"type":"cond-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":44}},{"start":{"line":16,"column":47},"end":{"line":16,"column":56}}],"line":16},"4":{"loc":{"start":{"line":58,"column":15},"end":{"line":58,"column":49}},"type":"cond-expr","locations":[{"start":{"line":58,"column":32},"end":{"line":58,"column":37}},{"start":{"line":58,"column":40},"end":{"line":58,"column":49}}],"line":58}},"s":{"0":1},"f":{},"b":{"0":[0,1],"1":[0,1],"2":[0,1],"3":[0,1],"4":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"d31b634118eaca812ef2f8fca35d3e150794893a","contentHash":"24644e452c14c12c3cc430658759cf69133f87c12c50f01a65dadd3cbb51ccfd"}} | ||||||
| @@ -0,0 +1 @@ | |||||||
|  | {} | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | {"parent":"40725f6c-1e75-47cc-a089-e3ac329f51bd","pid":15209,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/detox","test","--configuration","android.emu.debug"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1678945059004,"ppid":15205,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/11a13772-4a6a-40eb-9a53-ecdd52d43d9c.json","externalId":"","uuid":"11a13772-4a6a-40eb-9a53-ecdd52d43d9c","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js"]} | ||||||
| @@ -0,0 +1 @@ | |||||||
|  | {"parent":null,"pid":15205,"argv":["/usr/local/bin/node","/opt/homebrew/bin/yarn","detox","test","--configuration","android.emu.debug"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1678945058656,"ppid":15204,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/40725f6c-1e75-47cc-a089-e3ac329f51bd.json","externalId":"","uuid":"40725f6c-1e75-47cc-a089-e3ac329f51bd","files":[]} | ||||||
| @@ -0,0 +1 @@ | |||||||
|  | {"parent":"11a13772-4a6a-40eb-9a53-ecdd52d43d9c","pid":15215,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/jest","--config","e2e/jest.config.js","e2e"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1678945059406,"ppid":15209,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/c5416197-e607-4c70-a717-4dea5dff19e2.json","externalId":"","uuid":"c5416197-e607-4c70-a717-4dea5dff19e2","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts"]} | ||||||
							
								
								
									
										1
									
								
								Example/testHotUpdate/.nyc_output/processinfo/index.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Example/testHotUpdate/.nyc_output/processinfo/index.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | {"processes":{"11a13772-4a6a-40eb-9a53-ecdd52d43d9c":{"parent":"40725f6c-1e75-47cc-a089-e3ac329f51bd","children":["c5416197-e607-4c70-a717-4dea5dff19e2"]},"40725f6c-1e75-47cc-a089-e3ac329f51bd":{"parent":null,"children":["11a13772-4a6a-40eb-9a53-ecdd52d43d9c"]},"c5416197-e607-4c70-a717-4dea5dff19e2":{"parent":"11a13772-4a6a-40eb-9a53-ecdd52d43d9c","children":[]}},"files":{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":["11a13772-4a6a-40eb-9a53-ecdd52d43d9c"],"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts":["c5416197-e607-4c70-a717-4dea5dff19e2"]},"externalIds":{}} | ||||||
| @@ -24,21 +24,6 @@ module.exports = { | |||||||
|       build: |       build: | ||||||
|         'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet', |         'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet', | ||||||
|     }, |     }, | ||||||
|     'ios.debug': { |  | ||||||
|       type: 'ios.app', |  | ||||||
|       binaryPath: |  | ||||||
|         'ios/build/Build/Products/Debug-iphonesimulator/testHotUpdate.app', |  | ||||||
|       build: |  | ||||||
|         'xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build', |  | ||||||
|       start: 'scripts/start-rn.sh ios', |  | ||||||
|     }, |  | ||||||
|     'android.debug': { |  | ||||||
|       type: 'android.apk', |  | ||||||
|       binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk', |  | ||||||
|       build: |  | ||||||
|         'cd android ; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -', |  | ||||||
|       start: 'scripts/start-rn.sh android', |  | ||||||
|     }, |  | ||||||
|     'android.release': { |     'android.release': { | ||||||
|       type: 'android.apk', |       type: 'android.apk', | ||||||
|       binaryPath: 'android/app/build/outputs/apk/release/app-release.apk', |       binaryPath: 'android/app/build/outputs/apk/release/app-release.apk', | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								Example/testHotUpdate/ios/assets/src/assets/shezhi.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Example/testHotUpdate/ios/assets/src/assets/shezhi.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 696 B | 
							
								
								
									
										
											BIN
										
									
								
								Example/testHotUpdate/ios/assets/src/assets/shezhi@2x.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Example/testHotUpdate/ios/assets/src/assets/shezhi@2x.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								Example/testHotUpdate/ios/assets/src/assets/shezhi@3x.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Example/testHotUpdate/ios/assets/src/assets/shezhi@3x.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.8 KiB | 
| @@ -114,7 +114,7 @@ export default function TestConsole({visible}) { | |||||||
|           onPress={() => { |           onPress={() => { | ||||||
|             NativeTestMethod[i].invoke(); |             NativeTestMethod[i].invoke(); | ||||||
|           }} |           }} | ||||||
|           style={{width: 10, height: 10, backgroundColor: 'red'}} |           style={{width: 10, height: 10}} | ||||||
|         />, |         />, | ||||||
|       ); |       ); | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| 1678849794 | 1678943753 | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
								
							| @@ -8,16 +8,10 @@ | |||||||
|     "submodule": "git submodule update --init --recursive", |     "submodule": "git submodule update --init --recursive", | ||||||
|     "test": "echo \"Error: no test specified\" && exit 1", |     "test": "echo \"Error: no test specified\" && exit 1", | ||||||
|     "build-lib": "yarn submodule && $ANDROID_HOME/ndk/20.1.5948944/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_APPLICATION_MK=android/jni/Application.mk NDK_LIBS_OUT=android/lib", |     "build-lib": "yarn submodule && $ANDROID_HOME/ndk/20.1.5948944/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_APPLICATION_MK=android/jni/Application.mk NDK_LIBS_OUT=android/lib", | ||||||
|     "build:ios": "cd Example/testHotUpdate && detox build --configuration ios.sim.debug", |  | ||||||
|     "build:ios-debug": "cd Example/testHotUpdate && detox build --configuration ios.sim.debug", |  | ||||||
|     "build:ios-release": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.release", |     "build:ios-release": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.release", | ||||||
|     "build:android-debug": "cd Example/testHotUpdate && detox build --configuration android.emu.debug", |  | ||||||
|     "build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release", |  | ||||||
|     "test:ios": "cd Example/testHotUpdate && detox test --configuration ios.sim.debug", |  | ||||||
|     "test:ios-debug": "cd Example/testHotUpdate && detox test --configuration ios.sim.debug", |  | ||||||
|     "test:ios-release": "cd Example/testHotUpdate && detox test --configuration ios.sim.release", |     "test:ios-release": "cd Example/testHotUpdate && detox test --configuration ios.sim.release", | ||||||
|     "test:android-debug": "cd Example/testHotUpdate && detox test --configuration android.emu.debug", |     "build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release", | ||||||
|     "test:android-release": "cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.debug", |     "test:android-release": "cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.release", | ||||||
|     "e2e:ios": "npm run build:ios-release && npm run test:ios-release", |     "e2e:ios": "npm run build:ios-release && npm run test:ios-release", | ||||||
|     "e2e:android": "npm run build:android-release && npm run test:android-release", |     "e2e:android": "npm run build:android-release && npm run test:android-release", | ||||||
|     "tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build", |     "tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 steven
					steven