Skip to content

Commit 1fb9ce8

Browse files
Merge commit '81e490164fd98ea2f89ac62bceae1d0c80464bd2' into 0.79-merge-2
2 parents 20c4bd4 + 81e4901 commit 1fb9ce8

File tree

1,945 files changed

+79930
-34156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,945 files changed

+79930
-34156
lines changed

.circleci/README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ packages/react-native/Libraries/vendor/**/*
1010
node_modules/
1111
packages/*/node_modules
1212
packages/*/dist
13+
packages/*/types_generated
1314
packages/debugger-frontend/dist/**/*
1415
packages/react-native-codegen/lib
1516
tools/eslint/rules/sort-imports.js

.eslintrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ module.exports = {
3535
'no-undef': 0,
3636
},
3737
},
38+
{
39+
files: [
40+
'./packages/react-native/**/*.{js,flow}',
41+
'./packages/assets/registry.js',
42+
],
43+
parser: 'hermes-eslint',
44+
rules: {
45+
'lint/no-commonjs-exports': 1,
46+
},
47+
},
3848
{
3949
files: ['package.json'],
4050
parser: 'jsonc-eslint-parser',

.flowconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
flow-typed/
4242
packages/react-native/interface.js
4343
packages/react-native/flow/
44+
packages/react-native/src/types/
4445

4546
[options]
4647
enums=true
@@ -95,4 +96,4 @@ untyped-import
9596
untyped-type-import
9697

9798
[version]
98-
^0.258.1
99+
^0.262.0

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ body:
6969
- type: textarea
7070
id: react-native-info
7171
attributes:
72-
label: Output of `npx react-native info`
73-
description: Run `npx react-native info` in your terminal, copy and paste the results here.
72+
label: Output of `npx @react-native-community/cli info`
73+
description: Run `npx @react-native-community/cli info` in your terminal, copy and paste the results here.
7474
placeholder: |
75-
Paste the output of `npx react-native info` here. The output looks like:
75+
Paste the output of `npx @react-native-community/cli info` here. The output looks like:
7676
...
7777
System:
7878
OS: macOS 14.1.1

.github/ISSUE_TEMPLATE/debugger_bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ body:
4848
- type: textarea
4949
id: react-native-info
5050
attributes:
51-
label: Output of `npx react-native info`
52-
description: Run `npx react-native info` in your terminal, copy and paste the results here.
51+
label: Output of `npx @react-native-community/cli info`
52+
description: Run `npx @react-native-community/cli info` in your terminal, copy and paste the results here.
5353
placeholder: |
54-
Paste the output of `npx react-native info` here. The output looks like:
54+
Paste the output of `npx @react-native-community/cli info` here. The output looks like:
5555
...
5656
System:
5757
OS: macOS 14.1.1

.github/ISSUE_TEMPLATE/new_architecture_bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ body:
8181
- type: textarea
8282
id: react-native-info
8383
attributes:
84-
label: Output of `npx react-native info`
85-
description: Run `npx react-native info` in your terminal, copy and paste the results here.
84+
label: Output of `npx @react-native-community/cli info`
85+
description: Run `npx @react-native-community/cli info` in your terminal, copy and paste the results here.
8686
placeholder: |
87-
Paste the output of `npx react-native info` here. The output looks like:
87+
Paste the output of `npx @react-native-community/cli info` here. The output looks like:
8888
...
8989
System:
9090
OS: macOS 14.1.1

.github/actions/build-android/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ inputs:
77
run-e2e-tests:
88
default: 'false'
99
description: If we need to build to run E2E tests. If yes, we need to build also x86.
10+
gradle-cache-encryption-key:
11+
description: "The encryption key needed to store the Gradle Configuration cache"
1012
runs:
1113
using: composite
1214
steps:
@@ -20,12 +22,11 @@ runs:
2022
- name: Set React Native Version
2123
shell: bash
2224
run: node ./scripts/releases/set-rn-artifacts-version.js --build-type ${{ inputs.release-type }}
23-
# We don't want to re-set the artifacts version if we're on the release branch.
24-
if: ${{ !contains(github.ref, '-stable') }}
2525
- name: Setup gradle
2626
uses: ./.github/actions/setup-gradle
2727
with:
2828
cache-read-only: "false"
29+
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
2930
- name: Restore Android ccache
3031
uses: actions/cache/restore@v4
3132
with:

.github/actions/build-npm-package/action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ inputs:
1111
required: false
1212
description: The GHA npm token, required only to publish to npm
1313
default: ''
14+
gradle-cache-encryption-key:
15+
description: The encryption key needed to store the Gradle Configuration cache
16+
1417
runs:
1518
using: composite
1619
steps:
@@ -98,10 +101,21 @@ runs:
98101
cp ${{ inputs.hermes-ws-dir }}/hermes-runtime-darwin/hermes-ios-Release.tar.gz ./packages/react-native/ReactAndroid/external-artifacts/artifacts/hermes-ios-release.tar.gz
99102
cp ${{ inputs.hermes-ws-dir }}/dSYM/Debug/hermes.framework.dSYM ./packages/react-native/ReactAndroid/external-artifacts/artifacts/hermes-framework-dSYM-debug.tar.gz
100103
cp ${{ inputs.hermes-ws-dir }}/dSYM/Release/hermes.framework.dSYM ./packages/react-native/ReactAndroid/external-artifacts/artifacts/hermes-framework-dSYM-release.tar.gz
104+
- name: Download ReactNativeDependencies
105+
uses: actions/download-artifact@v4
106+
with:
107+
pattern: ReactNativeDependencies*
108+
path: ./packages/react-native/ReactAndroid/external-artifacts/artifacts
109+
merge-multiple: true
110+
- name: Print Artifacts Directory
111+
shell: bash
112+
run: ls -lR ./packages/react-native/ReactAndroid/external-artifacts/artifacts/
101113
- name: Setup node.js
102114
uses: ./.github/actions/setup-node
103115
- name: Setup gradle
104116
uses: ./.github/actions/setup-gradle
117+
with:
118+
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
105119
- name: Install dependencies
106120
uses: ./.github/actions/yarn-install
107121
- name: Build packages

0 commit comments

Comments
 (0)