@react-native-community/template 0.83.0 → 0.84.0-rc.0-70b7164

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/README.md CHANGED
@@ -4,14 +4,16 @@ The template used by `npx @react-native-community/cli init` to bootstrap a React
4
4
 
5
5
  [![Build Status][build-badge]][build] [![Version][version-badge]][package] [![MIT License][license-badge]][license] [![PRs Welcome][prs-welcome-badge]][prs-welcome]
6
6
 
7
-
8
7
  # Create Latest CLI Project
8
+
9
9
  Using this command create latest react-native project with this template
10
+
10
11
  ```
11
12
  npx @react-native-community/cli@latest init TestApp
12
13
  ```
13
14
 
14
15
  # Create Specific Version React-Native CLI Project
16
+
15
17
  Add version flag and specify that existing version of react-native to create project.
16
18
  Note that this command will create a new project from the template using the specific version passed to the flag
17
19
 
@@ -19,7 +21,6 @@ Note that this command will create a new project from the template using the spe
19
21
 
20
22
  Replace `<VERSION>` with the version number you need. For example: 0.75.2.
21
23
 
22
-
23
24
  ## Contents
24
25
 
25
26
  - [About](#about)
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@react-native-community/template",
3
- "version": "0.83.0",
4
- "description": "The template used by `npx @react-native-community/cli init` to bootstrap a React Native application.",
3
+ "version": "0.84.0-rc.0-70b7164",
5
4
  "license": "MIT",
6
5
  "publishConfig": {
7
6
  "access": "public"
8
7
  },
9
8
  "scripts": {
9
+ "format": "prettier --write .",
10
10
  "test": "jest",
11
- "version": "0.83.0"
11
+ "version": "0.84.0-rc.0"
12
12
  },
13
13
  "type": "commonjs",
14
14
  "files": [
@@ -18,11 +18,7 @@
18
18
  "dependencies": {},
19
19
  "devDependencies": {
20
20
  "jest": "^29.7.0",
21
+ "prettier": "^3.6.2",
21
22
  "semver": "^7.6.3"
22
- },
23
- "homepage": "https://github.com/react-native-community/template/tree/main",
24
- "repository": {
25
- "type": "git",
26
- "url": "git+https://github.com/react-native-community/template.git"
27
23
  }
28
24
  }
@@ -19,9 +19,9 @@ react {
19
19
 
20
20
  /* Variants */
21
21
  // The list of variants to that are debuggable. For those we're going to
22
- // skip the bundling of the JS bundle and the assets. By default is just 'debug'.
22
+ // skip the bundling of the JS bundle and the assets. Default is "debug", "debugOptimized".
23
23
  // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
24
- // debuggableVariants = ["liteDebug", "prodDebug"]
24
+ // debuggableVariants = ["liteDebug", "liteDebugOptimized", "prodDebug", "prodDebugOptimized"]
25
25
 
26
26
  /* Bundling */
27
27
  // A list containing the node command and its flags. Default is just 'node'.
@@ -45,8 +45,13 @@
45
45
  <key>UISupportedInterfaceOrientations</key>
46
46
  <array>
47
47
  <string>UIInterfaceOrientationPortrait</string>
48
+ </array>
49
+ <key>UISupportedInterfaceOrientations~ipad</key>
50
+ <array>
48
51
  <string>UIInterfaceOrientationLandscapeLeft</string>
49
52
  <string>UIInterfaceOrientationLandscapeRight</string>
53
+ <string>UIInterfaceOrientationPortrait</string>
54
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
50
55
  </array>
51
56
  <key>UIViewControllerBasedStatusBarAppearance</key>
52
57
  <false/>
@@ -273,8 +273,10 @@
273
273
  );
274
274
  PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
275
275
  PRODUCT_NAME = HelloWorld;
276
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
276
277
  SWIFT_OPTIMIZATION_LEVEL = "-Onone";
277
278
  SWIFT_VERSION = 5.0;
279
+ TARGETED_DEVICE_FAMILY = "1,2";
278
280
  VERSIONING_SYSTEM = "apple-generic";
279
281
  };
280
282
  name = Debug;
@@ -300,7 +302,9 @@
300
302
  );
301
303
  PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
302
304
  PRODUCT_NAME = HelloWorld;
305
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
303
306
  SWIFT_VERSION = 5.0;
307
+ TARGETED_DEVICE_FAMILY = "1,2";
304
308
  VERSIONING_SYSTEM = "apple-generic";
305
309
  };
306
310
  name = Release;
@@ -10,9 +10,9 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "react": "19.2.0",
14
- "react-native": "0.83.0",
15
- "@react-native/new-app-screen": "0.83.0",
13
+ "react": "19.2.3",
14
+ "react-native": "0.84.0-rc.0",
15
+ "@react-native/new-app-screen": "0.84.0-rc.0",
16
16
  "react-native-safe-area-context": "^5.5.2"
17
17
  },
18
18
  "devDependencies": {
@@ -22,20 +22,20 @@
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": "0.83.0",
26
- "@react-native/eslint-config": "0.83.0",
27
- "@react-native/metro-config": "0.83.0",
28
- "@react-native/typescript-config": "0.83.0",
25
+ "@react-native/babel-preset": "0.84.0-rc.0",
26
+ "@react-native/eslint-config": "0.84.0-rc.0",
27
+ "@react-native/metro-config": "0.84.0-rc.0",
28
+ "@react-native/typescript-config": "0.84.0-rc.0",
29
29
  "@types/jest": "^29.5.13",
30
30
  "@types/react": "^19.2.0",
31
31
  "@types/react-test-renderer": "^19.1.0",
32
32
  "eslint": "^8.19.0",
33
33
  "jest": "^29.6.3",
34
34
  "prettier": "2.8.8",
35
- "react-test-renderer": "19.2.0",
35
+ "react-test-renderer": "19.2.3",
36
36
  "typescript": "^5.8.3"
37
37
  },
38
38
  "engines": {
39
- "node": ">=20"
39
+ "node": ">= 22.11.0"
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "extends": "@react-native/typescript-config",
3
3
  "compilerOptions": {
4
- "types": ["jest"],
4
+ "types": ["jest"]
5
5
  },
6
6
  "include": ["**/*.ts", "**/*.tsx"],
7
7
  "exclude": ["**/node_modules", "**/Pods"]