Skip to content

Commit 5a76db5

Browse files
committed
Make example-macos use RNTesterApp instead of bespoke app
1 parent 87d1054 commit 5a76db5

25 files changed

+3290
-2182
lines changed

example-macos/.gitignore

+12-70
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,16 @@
1-
# OSX
2-
#
1+
*.binlog
2+
*.hprof
3+
*.xcworkspace/
4+
*.zip
35
.DS_Store
4-
5-
# Xcode
6-
#
7-
build/
8-
*.pbxuser
9-
!default.pbxuser
10-
*.mode1v3
11-
!default.mode1v3
12-
*.mode2v3
13-
!default.mode2v3
14-
*.perspectivev3
15-
!default.perspectivev3
16-
xcuserdata
17-
*.xccheckout
18-
*.moved-aside
19-
DerivedData
20-
*.hmap
21-
*.ipa
22-
*.xcuserstate
23-
**/.xcode.env.local
24-
25-
# Android/IntelliJ
26-
#
6+
.gradle/
7+
.idea/
8+
.vs/
9+
.xcode.env
10+
Pods/
2711
build/
28-
.idea
29-
.gradle
12+
dist/*
13+
!dist/.gitignore
3014
local.properties
31-
*.iml
32-
*.hprof
33-
.cxx/
34-
*.keystore
35-
!debug.keystore
36-
37-
# node.js
38-
#
15+
msbuild.binlog
3916
node_modules/
40-
npm-debug.log
41-
yarn-error.log
42-
43-
# fastlane
44-
#
45-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
46-
# screenshots whenever they are needed.
47-
# For more information about the recommended setup visit:
48-
# https://docs.fastlane.tools/best-practices/source-control/
49-
50-
**/fastlane/report.xml
51-
**/fastlane/Preview.html
52-
**/fastlane/screenshots
53-
**/fastlane/test_output
54-
55-
# Bundle artifact
56-
*.jsbundle
57-
58-
# Ruby / CocoaPods
59-
**/Pods/
60-
/vendor/bundle/
61-
62-
# Temporary files created by Metro to check the health of the file watcher
63-
.metro-health-check*
64-
65-
# testing
66-
/coverage
67-
68-
# Yarn
69-
.yarn/*
70-
!.yarn/patches
71-
!.yarn/plugins
72-
!.yarn/releases
73-
!.yarn/sdks
74-
!.yarn/versions

example-macos/.watchmanconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

example-macos/Gemfile.lock

-105
This file was deleted.

example-macos/app.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
{
2-
"name": "RNSACExample"
2+
"name": "RNSACExample-macOS",
3+
"displayName": "RNSACExample-macOS",
4+
"components": [
5+
{
6+
"appKey": "RNSACExample-macOS",
7+
"displayName": "RNSACExample-macOS"
8+
}
9+
],
10+
"resources": {
11+
"macos": [
12+
"dist/assets",
13+
"dist/main.macos.jsbundle"
14+
]
15+
}
316
}

example-macos/macos/.xcode.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export NODE_BINARY=$(command -v node)
1+
export NODE_BINARY=/usr/local/bin/node

example-macos/macos/Example-macOS/AppDelegate.h

-7
This file was deleted.

example-macos/macos/Example-macOS/AppDelegate.mm

-41
This file was deleted.

example-macos/macos/Example-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json

-58
This file was deleted.

example-macos/macos/Example-macOS/Assets.xcassets/Contents.json

-6
This file was deleted.

0 commit comments

Comments
 (0)