@react-native-community/template 0.78.0-rc.5-a1d0840 → 0.79.0-nightly-2025218-bc47041
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-community/template",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.79.0-nightly-2025218-bc47041",
|
|
4
4
|
"description": "The template used by `npx @react-native-community/cli init` to bootstrap a React Native application.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "jest",
|
|
11
|
-
"version": "
|
|
11
|
+
"version": "nightly"
|
|
12
12
|
},
|
|
13
13
|
"type": "commonjs",
|
|
14
14
|
"files": [
|
package/template/Gemfile
CHANGED
|
@@ -8,3 +8,9 @@ gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
|
|
|
8
8
|
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
|
|
9
9
|
gem 'xcodeproj', '< 1.26.0'
|
|
10
10
|
gem 'concurrent-ruby', '< 1.3.4'
|
|
11
|
+
|
|
12
|
+
# Ruby 3.4.0 has removed some libraries from the standard library.
|
|
13
|
+
gem 'bigdecimal'
|
|
14
|
+
gem 'logger'
|
|
15
|
+
gem 'benchmark'
|
|
16
|
+
gem 'mutex_m'
|
|
@@ -4,18 +4,36 @@ import React_RCTAppDelegate
|
|
|
4
4
|
import ReactAppDependencyProvider
|
|
5
5
|
|
|
6
6
|
@main
|
|
7
|
-
class AppDelegate:
|
|
8
|
-
|
|
9
|
-
self.moduleName = "HelloWorld"
|
|
10
|
-
self.dependencyProvider = RCTAppDependencyProvider()
|
|
7
|
+
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
8
|
+
var window: UIWindow?
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
self.initialProps = [:]
|
|
10
|
+
var reactNativeDelegate: ReactNativeDelegate?
|
|
11
|
+
var reactNativeFactory: RCTReactNativeFactory?
|
|
15
12
|
|
|
16
|
-
|
|
13
|
+
func application(
|
|
14
|
+
_ application: UIApplication,
|
|
15
|
+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
|
|
16
|
+
) -> Bool {
|
|
17
|
+
let delegate = ReactNativeDelegate()
|
|
18
|
+
let factory = RCTReactNativeFactory(delegate: delegate)
|
|
19
|
+
delegate.dependencyProvider = RCTAppDependencyProvider()
|
|
20
|
+
|
|
21
|
+
reactNativeDelegate = delegate
|
|
22
|
+
reactNativeFactory = factory
|
|
23
|
+
|
|
24
|
+
window = UIWindow(frame: UIScreen.main.bounds)
|
|
25
|
+
|
|
26
|
+
factory.startReactNative(
|
|
27
|
+
withModuleName: "HelloWorld",
|
|
28
|
+
in: window,
|
|
29
|
+
launchOptions: launchOptions
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
return true
|
|
17
33
|
}
|
|
34
|
+
}
|
|
18
35
|
|
|
36
|
+
class ReactNativeDelegate: RCTDefaultReactNativeFactoryDelegate {
|
|
19
37
|
override func sourceURL(for bridge: RCTBridge) -> URL? {
|
|
20
38
|
self.bundleURL()
|
|
21
39
|
}
|
package/template/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"react": "19.0.0",
|
|
14
|
-
"react-native": "
|
|
14
|
+
"react-native": "nightly"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@babel/core": "^7.25.2",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"@react-native-community/cli": "15.0.1",
|
|
21
21
|
"@react-native-community/cli-platform-android": "15.0.1",
|
|
22
22
|
"@react-native-community/cli-platform-ios": "15.0.1",
|
|
23
|
-
"@react-native/babel-preset": "
|
|
24
|
-
"@react-native/eslint-config": "
|
|
25
|
-
"@react-native/metro-config": "
|
|
26
|
-
"@react-native/typescript-config": "
|
|
23
|
+
"@react-native/babel-preset": "nightly",
|
|
24
|
+
"@react-native/eslint-config": "nightly",
|
|
25
|
+
"@react-native/metro-config": "nightly",
|
|
26
|
+
"@react-native/typescript-config": "nightly",
|
|
27
27
|
"@types/jest": "^29.5.13",
|
|
28
28
|
"@types/react": "^19.0.0",
|
|
29
29
|
"@types/react-test-renderer": "^19.0.0",
|