@react-native-community/template 0.76.0-nightly-202499-d8c396e → 0.76.0-rc.0-897b92d

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
@@ -5,21 +5,6 @@ The template used by `npx @react-native-community/cli init` to bootstrap a React
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
7
 
8
- # Create Latest CLI Project
9
- Using this command create latest react-native project with this template
10
- ```
11
- npx @react-native-community/cli@latest init TestApp
12
- ```
13
-
14
- # Create Specific Version React-Native CLI Project
15
- Add version flag and specify that existing version of react-native to create project.
16
- Note that this command will create a new project from the template using the specific version passed to the flag
17
-
18
- npx @react-native-community/cli init TestApp --version <VERSION>
19
-
20
- Replace `<VERSION>` with the version number you need. For example: 0.75.2.
21
-
22
-
23
8
  ## Contents
24
9
 
25
10
  - [About](#about)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-community/template",
3
- "version": "0.76.0-nightly-202499-d8c396e",
3
+ "version": "0.76.0-rc.0-897b92d",
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.76.0-rc.0"
12
12
  },
13
13
  "type": "commonjs",
14
14
  "files": [
@@ -10,10 +10,8 @@ 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 ReactTestRenderer from 'react-test-renderer';
13
+ import renderer from 'react-test-renderer';
14
14
 
15
- it('renders correctly', async () => {
16
- await ReactTestRenderer.act(() => {
17
- ReactTestRenderer.create(<App />);
18
- });
15
+ it('renders correctly', () => {
16
+ renderer.create(<App />);
19
17
  });
@@ -10,27 +10,27 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "react": "19.0.0-rc-fb9a90fa48-20240614",
14
- "react-native": "nightly"
13
+ "react": "18.3.1",
14
+ "react-native": "0.76.0-rc.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.25.2",
18
18
  "@babel/preset-env": "^7.25.3",
19
19
  "@babel/runtime": "^7.25.0",
20
- "@react-native-community/cli": "14.0.0-alpha.11",
21
- "@react-native-community/cli-platform-android": "14.0.0-alpha.11",
22
- "@react-native-community/cli-platform-ios": "14.0.0-alpha.11",
23
- "@react-native/babel-preset": "nightly",
24
- "@react-native/eslint-config": "nightly",
25
- "@react-native/metro-config": "nightly",
26
- "@react-native/typescript-config": "nightly",
20
+ "@react-native-community/cli": "15.0.0-alpha.2",
21
+ "@react-native-community/cli-platform-android": "15.0.0-alpha.2",
22
+ "@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
23
+ "@react-native/babel-preset": "0.76.0-rc.0",
24
+ "@react-native/eslint-config": "0.76.0-rc.0",
25
+ "@react-native/metro-config": "0.76.0-rc.0",
26
+ "@react-native/typescript-config": "0.76.0-rc.0",
27
27
  "@types/react": "^18.2.6",
28
28
  "@types/react-test-renderer": "^18.0.0",
29
29
  "babel-jest": "^29.6.3",
30
30
  "eslint": "^8.19.0",
31
31
  "jest": "^29.6.3",
32
32
  "prettier": "2.8.8",
33
- "react-test-renderer": "19.0.0-rc-fb9a90fa48-20240614",
33
+ "react-test-renderer": "18.3.1",
34
34
  "typescript": "5.0.4"
35
35
  },
36
36
  "engines": {