@react-native-community/template 0.75.1 → 0.76.0-nightly-2024620-5f5e366
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.
|
|
3
|
+
"version": "0.76.0-nightly-2024620-5f5e366",
|
|
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
|
-
"
|
|
10
|
-
"version": "0.75.1"
|
|
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": "
|
|
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
|
|
13
|
+
import ReactTestRenderer from 'react-test-renderer';
|
|
14
14
|
|
|
15
|
-
it('renders correctly', () => {
|
|
16
|
-
|
|
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=
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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>
|
package/template/package.json
CHANGED
|
@@ -10,27 +10,27 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"react": "
|
|
14
|
-
"react-native": "0.
|
|
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.
|
|
21
|
-
"@react-native/eslint-config": "0.
|
|
22
|
-
"@react-native/metro-config": "0.
|
|
23
|
-
"@react-native/typescript-config": "0.
|
|
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": "
|
|
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
|
+
}
|