Skip to content

Commit b30a774

Browse files
committed
Update React Native GitHub repo slug
1 parent 6577fa6 commit b30a774

206 files changed

Lines changed: 6856 additions & 6856 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
✋ To keep the backlog clean and actionable, issues will be
22
🚫 closed if they do not follow one of the issue templates:
3-
👉 https://github.com/facebook/react-native/issues/new/choose
3+
👉 https://github.com/react/react-native/issues/new/choose
44

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ body:
1616
* If you're found a problem with our **documentation**, [report it here](https://github.com/facebook/react-native-website/issues/).
1717
* If you're having an issue with **Metro** (the bundler), [report it here](https://github.com/facebook/metro/issues/).
1818
* If you're using an external library, report the issue to the **library first**.
19-
* Please [search for similar issues](https://github.com/facebook/react-native/issues) in our issue tracker.
19+
* Please [search for similar issues](https://github.com/react/react-native/issues) in our issue tracker.
2020
2121
Make sure that your issue:
2222
* Have a **valid reproducer** (See [How to report a bug](https://reactnative.dev/contributing/how-to-report-a-bug)).
23-
* Is tested against the [**latest stable**](https://github.com/facebook/react-native/releases/) of React Native.
23+
* Is tested against the [**latest stable**](https://github.com/react/react-native/releases/) of React Native.
2424
2525
🚨 IMPORTANT: Due to the extreme number of bugs we receive, issues **without a reproducer** or for an [**unsupported versions**](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) of React Native **will be closed**.
2626
- type: textarea

.github/ISSUE_TEMPLATE/debugger_bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ body:
1616
* If you've found a problem with our **documentation**, [report it here](https://github.com/facebook/react-native-website/issues/).
1717
* If you're having an issue with **Metro** (the bundler), [report it here](https://github.com/facebook/metro/issues/).
1818
* If you're using an external library, report the issue to the **library first**.
19-
* Please [search for similar issues](https://github.com/facebook/react-native/issues) in our issue tracker.
19+
* Please [search for similar issues](https://github.com/react/react-native/issues) in our issue tracker.
2020
21-
Make sure that your issue is tested against the [**latest stable**](https://github.com/facebook/react-native/releases/) of React Native.
21+
Make sure that your issue is tested against the [**latest stable**](https://github.com/react/react-native/releases/) of React Native.
2222
- type: textarea
2323
id: description
2424
attributes:

.github/ISSUE_TEMPLATE/new_architecture_bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ body:
1212
Thank you for taking the time to report an issue for [the New Architecture of React Native](https://reactnative.dev/docs/the-new-architecture/landing-page),
1313
your contribution will help make the framework better for everyone.
1414
15-
If you're **NOT** using the New Architecture, please use this [other bug type](https://github.com/facebook/react-native/issues/new?template=bug_report.yml).
15+
If you're **NOT** using the New Architecture, please use this [other bug type](https://github.com/react/react-native/issues/new?template=bug_report.yml).
1616
Do not attempt to open a bug in this category if you're not using the New Architecture as your bug will be closed.
1717
1818
Make sure that your issue:
1919
* Have a **valid reproducer** (See [How to report a bug](https://reactnative.dev/contributing/how-to-report-a-bug)).
20-
* Is tested against the [**latest stable**](https://github.com/facebook/react-native/releases/) of React Native.
20+
* Is tested against the [**latest stable**](https://github.com/react/react-native/releases/) of React Native.
2121
2222
🚨 IMPORTANT: Due to the extreme number of bugs we receive, issues **without a reproducer** or for an [**unsupported versions**](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) of React Native **will be closed**.
2323
- type: textarea

.github/RELEASE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ To help you upgrade to this version, you can use the [upgrade helper](https://re
2020

2121
---
2222

23-
See changes from this release in the [changelog PR](https://github.com/facebook/react-native/labels/%F0%9F%93%9D%20Changelog)
23+
See changes from this release in the [changelog PR](https://github.com/react/react-native/labels/%F0%9F%93%9D%20Changelog)

.github/SUPPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The React Native website is hosted on a [separate repository](https://github.com
1515

1616
## 🐛 I found a bug in React Native.
1717

18-
If you want to report a reproducible bug or regression in the React Native library, you can [create a new issue](https://github.com/facebook/react-native/issues/new?labels=Type%3A+Bug+Report&template=bug_report.md). It's a good idea to look through [open issues](https://github.com/facebook/react-native/issues) before doing so, as someone else may have reported a similar issue.
18+
If you want to report a reproducible bug or regression in the React Native library, you can [create a new issue](https://github.com/react/react-native/issues/new?labels=Type%3A+Bug+Report&template=bug_report.md). It's a good idea to look through [open issues](https://github.com/react/react-native/issues) before doing so, as someone else may have reported a similar issue.
1919

2020

2121
## 🚀 I want to discuss the future of React Native.

.github/workflow-scripts/__tests__/createDraftRelease-test.js

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Create Draft Release', () => {
3838
);
3939
expect(mockFetch).toHaveBeenCalledTimes(1);
4040
expect(mockFetch).toHaveBeenCalledWith(
41-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
41+
'https://github.com/react/react-native/releases/tag/v0.77.1',
4242
);
4343
});
4444
});
@@ -49,64 +49,64 @@ describe('Create Draft Release', () => {
4949
5050
## v0.77.2
5151
52-
- [PR #1234](https://github.com/facebook/react-native/pull/1234) - Some change
53-
- [PR #5678](https://github.com/facebook/react-native/pull/5678) - Some other change
52+
- [PR #1234](https://github.com/react/react-native/pull/1234) - Some change
53+
- [PR #5678](https://github.com/react/react-native/pull/5678) - Some other change
5454
5555
5656
## v0.77.1
5757
### Breaking Changes
58-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
58+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
5959
6060
#### Android
61-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
62-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
61+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
62+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
6363
6464
#### iOS
65-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
66-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change
65+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
66+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change
6767
6868
### Fixed
69-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
69+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
7070
7171
#### Android
72-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
72+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
7373
7474
#### iOS
75-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change
75+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change
7676
7777
7878
## v0.77.0
7979
80-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
80+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
8181
8282
## v0.76.0
8383
84-
- [PR #7890](https://github.com/facebook/react-native/pull/7890) - Some other change`;
84+
- [PR #7890](https://github.com/react/react-native/pull/7890) - Some other change`;
8585

8686
jest.spyOn(fs, 'readFileSync').mockImplementationOnce(func => {
8787
return mockedReturnValue;
8888
});
8989
const changelog = _extractChangelog('0.77.1');
9090
expect(changelog).toEqual(`## v0.77.1
9191
### Breaking Changes
92-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
92+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
9393
9494
#### Android
95-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
96-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
95+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
96+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
9797
9898
#### iOS
99-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
100-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change
99+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
100+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change
101101
102102
### Fixed
103-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
103+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
104104
105105
#### Android
106-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
106+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
107107
108108
#### iOS
109-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change`);
109+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change`);
110110
});
111111

112112
it('does not extract changelog for rc.0', async () => {
@@ -125,15 +125,15 @@ describe('Create Draft Release', () => {
125125
const version = '0.77.1';
126126
const changelog = `## v${version}
127127
### Breaking Changes
128-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
128+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
129129
130130
#### Android
131-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
132-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
131+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
132+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
133133
134134
#### iOS
135-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
136-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change`;
135+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
136+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change`;
137137
const body = _computeBody(changelog, version);
138138

139139
expect(body).toEqual(`${changelog}
@@ -166,7 +166,7 @@ To help you upgrade to this version, you can use the [Upgrade Helper](https://re
166166
167167
---
168168
169-
View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/react-native/blob/main/CHANGELOG.md).`);
169+
View the whole changelog in the [CHANGELOG.md file](https://github.com/react/react-native/blob/main/CHANGELOG.md).`);
170170
});
171171

172172
it('computes body for release when hermes versions are passed', async () => {
@@ -175,15 +175,15 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
175175
const hermesV1Version = '250829098.0.2';
176176
const changelog = `## v${version}
177177
### Breaking Changes
178-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
178+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
179179
180180
#### Android
181-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
182-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
181+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
182+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
183183
184184
#### iOS
185-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
186-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change`;
185+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
186+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change`;
187187
const body = _computeBody(
188188
changelog,
189189
version,
@@ -221,14 +221,14 @@ To help you upgrade to this version, you can use the [Upgrade Helper](https://re
221221
222222
---
223223
224-
View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/react-native/blob/main/CHANGELOG.md).`);
224+
View the whole changelog in the [CHANGELOG.md file](https://github.com/react/react-native/blob/main/CHANGELOG.md).`);
225225
});
226226
});
227227

228228
describe('#_createDraftReleaseOnGitHub', () => {
229229
it('creates a draft release on GitHub', async () => {
230230
const version = '0.77.1';
231-
const url = 'https://api.github.com/repos/facebook/react-native/releases';
231+
const url = 'https://api.github.com/repos/react/react-native/releases';
232232
const token = 'token';
233233
const headers = {
234234
Accept: 'Accept: application/vnd.github+json',
@@ -253,7 +253,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
253253
Promise.resolve({
254254
id: 1,
255255
html_url:
256-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
256+
'https://github.com/react/react-native/releases/tag/v0.77.1',
257257
}),
258258
}),
259259
);
@@ -265,7 +265,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
265265
);
266266
expect(mockFetch).toHaveBeenCalledTimes(1);
267267
expect(mockFetch).toHaveBeenCalledWith(
268-
`https://api.github.com/repos/facebook/react-native/releases`,
268+
`https://api.github.com/repos/react/react-native/releases`,
269269
{
270270
method: 'POST',
271271
headers: headers,
@@ -275,13 +275,13 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
275275
expect(response).toEqual({
276276
id: 1,
277277
html_url:
278-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
278+
'https://github.com/react/react-native/releases/tag/v0.77.1',
279279
});
280280
});
281281

282282
it('creates a draft release for prerelease on GitHub', async () => {
283283
const version = '0.77.0-rc.2';
284-
const url = 'https://api.github.com/repos/facebook/react-native/releases';
284+
const url = 'https://api.github.com/repos/react/react-native/releases';
285285
const token = 'token';
286286
const headers = {
287287
Accept: 'Accept: application/vnd.github+json',
@@ -306,7 +306,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
306306
Promise.resolve({
307307
id: 1,
308308
html_url:
309-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
309+
'https://github.com/react/react-native/releases/tag/v0.77.1',
310310
}),
311311
}),
312312
);
@@ -318,7 +318,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
318318
);
319319
expect(mockFetch).toHaveBeenCalledTimes(1);
320320
expect(mockFetch).toHaveBeenCalledWith(
321-
`https://api.github.com/repos/facebook/react-native/releases`,
321+
`https://api.github.com/repos/react/react-native/releases`,
322322
{
323323
method: 'POST',
324324
headers: headers,
@@ -328,13 +328,13 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
328328
expect(response).toEqual({
329329
id: 1,
330330
html_url:
331-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
331+
'https://github.com/react/react-native/releases/tag/v0.77.1',
332332
});
333333
});
334334

335335
it('throws if the post failes', async () => {
336336
const version = '0.77.0-rc.2';
337-
const url = 'https://api.github.com/repos/facebook/react-native/releases';
337+
const url = 'https://api.github.com/repos/react/react-native/releases';
338338
const token = 'token';
339339
const headers = {
340340
Accept: 'Accept: application/vnd.github+json',
@@ -362,7 +362,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
362362
).rejects.toThrowError();
363363
expect(mockFetch).toHaveBeenCalledTimes(1);
364364
expect(mockFetch).toHaveBeenCalledWith(
365-
`https://api.github.com/repos/facebook/react-native/releases`,
365+
`https://api.github.com/repos/react/react-native/releases`,
366366
{
367367
method: 'POST',
368368
headers: headers,

.github/workflow-scripts/__tests__/generateChangelog-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ N/A`;
191191

192192
expect(mockFetch).toHaveBeenCalledTimes(1);
193193
expect(mockFetch).toHaveBeenCalledWith(
194-
'https://api.github.com/repos/facebook/react-native/pulls',
194+
'https://api.github.com/repos/react/react-native/pulls',
195195
{
196196
method: 'POST',
197197
headers: headers,
@@ -203,7 +203,7 @@ N/A`;
203203
const currentVersion = '0.79.0-rc5';
204204
const token = 'token';
205205
const expectedPrURL =
206-
'https://github.com/facebook/react-native/pulls/1234';
206+
'https://github.com/react/react-native/pulls/1234';
207207

208208
const returnedObject = {
209209
status: 201,
@@ -238,7 +238,7 @@ N/A`;
238238

239239
expect(mockFetch).toHaveBeenCalledTimes(1);
240240
expect(mockFetch).toHaveBeenCalledWith(
241-
'https://api.github.com/repos/facebook/react-native/pulls',
241+
'https://api.github.com/repos/react/react-native/pulls',
242242
{
243243
method: 'POST',
244244
headers: headers,

.github/workflow-scripts/actOnLabel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.exports = async (github, context, labelWithContext) => {
8484
case 'Needs: Issue Template':
8585
await addComment(
8686
`> [!WARNING]\n` +
87-
`> **Missing issue template**: It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a [new issue is created](https://github.com/facebook/react-native/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A&projects=&template=bug_report.yml). Could you go back and make sure to fill out the template? You may edit this issue, or close it and open a new one.`,
87+
`> **Missing issue template**: It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a [new issue is created](https://github.com/react/react-native/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A&projects=&template=bug_report.yml). Could you go back and make sure to fill out the template? You may edit this issue, or close it and open a new one.`,
8888
);
8989
await requestAuthorFeedback();
9090
return;
@@ -105,7 +105,7 @@ module.exports = async (github, context, labelWithContext) => {
105105
case 'Needs: Repro':
106106
await addComment(
107107
`> [!WARNING]\n` +
108-
`> **Missing reproducer**: We could not detect a reproducible example in your issue report. Reproducers are **mandatory** and we can accept only one of those as a valid reproducer: <br/><ul><li>For majority of bugs: send us a Pull Request with the [RNTesterPlayground.js](https://github.com/facebook/react-native/blob/main/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js) edited to reproduce your bug.</li><li>If your bug is UI related: a [Snack](https://snack.expo.dev)</li><li> If your bug is build/upgrade related: a project using our [Reproducer Template](https://github.com/react-native-community/reproducer-react-native/generate)</li></ul><br/>You can read more about about it on our website: [How to report a bug](https://reactnative.dev/contributing/how-to-report-a-bug).`,
108+
`> **Missing reproducer**: We could not detect a reproducible example in your issue report. Reproducers are **mandatory** and we can accept only one of those as a valid reproducer: <br/><ul><li>For majority of bugs: send us a Pull Request with the [RNTesterPlayground.js](https://github.com/react/react-native/blob/main/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js) edited to reproduce your bug.</li><li>If your bug is UI related: a [Snack](https://snack.expo.dev)</li><li> If your bug is build/upgrade related: a project using our [Reproducer Template](https://github.com/react-native-community/reproducer-react-native/generate)</li></ul><br/>You can read more about about it on our website: [How to report a bug](https://reactnative.dev/contributing/how-to-report-a-bug).`,
109109
);
110110
await requestAuthorFeedback();
111111
return;

0 commit comments

Comments
 (0)