@react-native-community/template 0.81.0-rc.0-9356076 → 0.81.0-rc.1-de2aaa4
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.81.0-rc.
|
|
3
|
+
"version": "0.81.0-rc.1-de2aaa4",
|
|
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": "0.81.0-rc.
|
|
11
|
+
"version": "0.81.0-rc.1"
|
|
12
12
|
},
|
|
13
13
|
"type": "commonjs",
|
|
14
14
|
"files": [
|
package/template/App.tsx
CHANGED
|
@@ -12,8 +12,17 @@ function App() {
|
|
|
12
12
|
const isDarkMode = useColorScheme() === 'dark';
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
|
-
|
|
15
|
+
<>
|
|
16
16
|
<StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
|
|
17
|
+
<AppContent />
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function AppContent() {
|
|
23
|
+
// TODO(huntie): Restore safeAreaInsets assignment (see #153)
|
|
24
|
+
return (
|
|
25
|
+
<View style={styles.container}>
|
|
17
26
|
<NewAppScreen templateFileName="App.tsx" />
|
|
18
27
|
</View>
|
|
19
28
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/template/package.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"react": "19.1.0",
|
|
14
|
-
"react-native": "0.81.0-rc.
|
|
15
|
-
"@react-native/new-app-screen": "0.81.0-rc.
|
|
14
|
+
"react-native": "0.81.0-rc.1",
|
|
15
|
+
"@react-native/new-app-screen": "0.81.0-rc.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@babel/core": "^7.25.2",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@react-native-community/cli": "20.0.0-alpha.0",
|
|
22
22
|
"@react-native-community/cli-platform-android": "20.0.0-alpha.0",
|
|
23
23
|
"@react-native-community/cli-platform-ios": "20.0.0-alpha.0",
|
|
24
|
-
"@react-native/babel-preset": "0.81.0-rc.
|
|
25
|
-
"@react-native/eslint-config": "0.81.0-rc.
|
|
26
|
-
"@react-native/metro-config": "0.81.0-rc.
|
|
27
|
-
"@react-native/typescript-config": "0.81.0-rc.
|
|
24
|
+
"@react-native/babel-preset": "0.81.0-rc.1",
|
|
25
|
+
"@react-native/eslint-config": "0.81.0-rc.1",
|
|
26
|
+
"@react-native/metro-config": "0.81.0-rc.1",
|
|
27
|
+
"@react-native/typescript-config": "0.81.0-rc.1",
|
|
28
28
|
"@types/jest": "^29.5.13",
|
|
29
29
|
"@types/react": "^19.1.0",
|
|
30
30
|
"@types/react-test-renderer": "^19.1.0",
|