@react-native-community/template 0.75.0-rc.7 → 0.76.0-nightly-2024620-823345a

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,15 +1,12 @@
1
1
  {
2
2
  "name": "@react-native-community/template",
3
- "version": "0.75.0-rc.7",
3
+ "version": "0.76.0-nightly-2024620-823345a",
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": {
7
7
  "access": "public"
8
8
  },
9
- "scripts": {
10
- "version": "0.75.0-rc.7"
11
- },
12
- "type": "commonjs",
9
+ "type": "module",
13
10
  "files": [
14
11
  "template/*",
15
12
  "template.config.js"
@@ -19,6 +16,6 @@
19
16
  "homepage": "https://github.com/react-native-community/template/tree/main",
20
17
  "repository": {
21
18
  "type": "git",
22
- "url": "git+https://github.com/react-native-community/template.git"
19
+ "url": "https://github.com/react-native-community/template.git"
23
20
  }
24
21
  }
@@ -10,8 +10,10 @@ import App from '../App';
10
10
  import {it} from '@jest/globals';
11
11
 
12
12
  // Note: test renderer must be required after react-native.
13
- import renderer from 'react-test-renderer';
13
+ import ReactTestRenderer from 'react-test-renderer';
14
14
 
15
- it('renders correctly', () => {
16
- renderer.create(<App />);
15
+ it('renders correctly', async () => {
16
+ await ReactTestRenderer.act(() => {
17
+ ReactTestRenderer.create(<App />);
18
+ });
17
19
  });
@@ -32,7 +32,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
32
32
  # your application. You should enable this flag either if you want
33
33
  # to write custom TurboModules/Fabric components OR use libraries that
34
34
  # are providing them.
35
- newArchEnabled=false
35
+ newArchEnabled=true
36
36
 
37
37
  # Use this property to enable or disable the Hermes JS engine.
38
38
  # If set to false, you will be using JSC instead.
@@ -2,36 +2,37 @@
2
2
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
3
  <plist version="1.0">
4
4
  <dict>
5
- <key>NSPrivacyAccessedAPITypes</key>
6
- <array>
7
- <dict>
8
- <key>NSPrivacyAccessedAPIType</key>
9
- <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10
- <key>NSPrivacyAccessedAPITypeReasons</key>
11
- <array>
12
- <string>C617.1</string>
13
- </array>
14
- </dict>
15
- <dict>
16
- <key>NSPrivacyAccessedAPIType</key>
17
- <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18
- <key>NSPrivacyAccessedAPITypeReasons</key>
19
- <array>
20
- <string>CA92.1</string>
21
- </array>
22
- </dict>
23
- <dict>
24
- <key>NSPrivacyAccessedAPIType</key>
25
- <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
26
- <key>NSPrivacyAccessedAPITypeReasons</key>
27
- <array>
28
- <string>35F9.1</string>
29
- </array>
30
- </dict>
31
- </array>
32
- <key>NSPrivacyCollectedDataTypes</key>
33
- <array/>
34
- <key>NSPrivacyTracking</key>
35
- <false/>
5
+ <key>NSPrivacyCollectedDataTypes</key>
6
+ <array>
7
+ </array>
8
+ <key>NSPrivacyAccessedAPITypes</key>
9
+ <array>
10
+ <dict>
11
+ <key>NSPrivacyAccessedAPIType</key>
12
+ <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
13
+ <key>NSPrivacyAccessedAPITypeReasons</key>
14
+ <array>
15
+ <string>C617.1</string>
16
+ </array>
17
+ </dict>
18
+ <dict>
19
+ <key>NSPrivacyAccessedAPIType</key>
20
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
21
+ <key>NSPrivacyAccessedAPITypeReasons</key>
22
+ <array>
23
+ <string>CA92.1</string>
24
+ </array>
25
+ </dict>
26
+ <dict>
27
+ <key>NSPrivacyAccessedAPIType</key>
28
+ <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
29
+ <key>NSPrivacyAccessedAPITypeReasons</key>
30
+ <array>
31
+ <string>35F9.1</string>
32
+ </array>
33
+ </dict>
34
+ </array>
35
+ <key>NSPrivacyTracking</key>
36
+ <false/>
36
37
  </dict>
37
38
  </plist>
@@ -10,27 +10,27 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "react": "18.3.1",
14
- "react-native": "0.75.0-rc.7"
13
+ "react": "19.0.0-rc-fb9a90fa48-20240614",
14
+ "react-native": "1000.0.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.20.0",
18
18
  "@babel/preset-env": "^7.20.0",
19
19
  "@babel/runtime": "^7.20.0",
20
- "@react-native/babel-preset": "0.75.0-rc.7",
21
- "@react-native/eslint-config": "0.75.0-rc.7",
22
- "@react-native/metro-config": "0.75.0-rc.7",
23
- "@react-native/typescript-config": "0.75.0-rc.7",
20
+ "@react-native/babel-preset": "0.76.0-main",
21
+ "@react-native/eslint-config": "0.76.0-main",
22
+ "@react-native/metro-config": "0.76.0-main",
23
+ "@react-native/typescript-config": "0.76.0-main",
24
24
  "@types/react": "^18.2.6",
25
25
  "@types/react-test-renderer": "^18.0.0",
26
26
  "babel-jest": "^29.6.3",
27
27
  "eslint": "^8.19.0",
28
28
  "jest": "^29.6.3",
29
29
  "prettier": "2.8.8",
30
- "react-test-renderer": "18.3.1",
30
+ "react-test-renderer": "19.0.0-rc-fb9a90fa48-20240614",
31
31
  "typescript": "5.0.4"
32
32
  },
33
33
  "engines": {
34
34
  "node": ">=18"
35
35
  }
36
- }
36
+ }