@react-native-community/template 0.82.0-nightly-2025829-17ab5f0 → 0.82.0-rc.0-d2a0bee

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.82.0-nightly-2025829-17ab5f0",
3
+ "version": "0.82.0-rc.0-d2a0bee",
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": "nightly"
11
+ "version": "0.82.0-rc.0"
12
12
  },
13
13
  "type": "commonjs",
14
14
  "files": [
@@ -5,31 +5,20 @@ import com.facebook.react.PackageList
5
5
  import com.facebook.react.ReactApplication
6
6
  import com.facebook.react.ReactHost
7
7
  import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative
8
- import com.facebook.react.ReactNativeHost
9
- import com.facebook.react.ReactPackage
10
8
  import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
11
- import com.facebook.react.defaults.DefaultReactNativeHost
12
9
 
13
10
  class MainApplication : Application(), ReactApplication {
14
11
 
15
- override val reactNativeHost: ReactNativeHost =
16
- object : DefaultReactNativeHost(this) {
17
- override fun getPackages(): List<ReactPackage> =
18
- PackageList(this).packages.apply {
19
- // Packages that cannot be autolinked yet can be added manually here, for example:
20
- // add(MyReactNativePackage())
21
- }
22
-
23
- override fun getJSMainModuleName(): String = "index"
24
-
25
- override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
26
-
27
- override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
28
- override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
29
- }
30
-
31
- override val reactHost: ReactHost
32
- get() = getDefaultReactHost(applicationContext, reactNativeHost)
12
+ override val reactHost: ReactHost by lazy {
13
+ getDefaultReactHost(
14
+ context = applicationContext,
15
+ packageList =
16
+ PackageList(this).packages.apply {
17
+ // Packages that cannot be autolinked yet can be added manually here, for example:
18
+ // add(MyReactNativePackage())
19
+ },
20
+ )
21
+ }
33
22
 
34
23
  override fun onCreate() {
35
24
  super.onCreate()
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "19.1.1",
14
- "react-native": "nightly",
15
- "@react-native/new-app-screen": "nightly",
14
+ "react-native": "0.82.0-rc.0",
15
+ "@react-native/new-app-screen": "0.82.0-rc.0",
16
16
  "react-native-safe-area-context": "^5.5.2"
17
17
  },
18
18
  "devDependencies": {
@@ -22,10 +22,10 @@
22
22
  "@react-native-community/cli": "20.0.0",
23
23
  "@react-native-community/cli-platform-android": "20.0.0",
24
24
  "@react-native-community/cli-platform-ios": "20.0.0",
25
- "@react-native/babel-preset": "nightly",
26
- "@react-native/eslint-config": "nightly",
27
- "@react-native/metro-config": "nightly",
28
- "@react-native/typescript-config": "nightly",
25
+ "@react-native/babel-preset": "0.82.0-rc.0",
26
+ "@react-native/eslint-config": "0.82.0-rc.0",
27
+ "@react-native/metro-config": "0.82.0-rc.0",
28
+ "@react-native/typescript-config": "0.82.0-rc.0",
29
29
  "@types/jest": "^29.5.13",
30
30
  "@types/react": "^19.1.1",
31
31
  "@types/react-test-renderer": "^19.1.0",