Skip to content

Commit 77fc7ef

Browse files
Merge branch 'main' into showcase/dream11
2 parents 5ab7bfa + f730365 commit 77fc7ef

File tree

2,186 files changed

+243884
-272879
lines changed

Some content is hidden

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

2,186 files changed

+243884
-272879
lines changed

.alexrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ exports.allow = [
2121

2222
// allowing this term to prevent reporting "primitive", which is a programming term
2323
'savage',
24+
25+
// allowing this term, since it seems to be used not in insensitive cases
26+
'straightforward',
27+
28+
// allowing those terms, since they refer to colors and the surname of one of core contributors
29+
'black',
30+
'white',
31+
32+
// allowing this term, since we use it for expressing gratitude for certain contributors
33+
'special',
2434
];
2535

2636
// Use a "maybe" level of profanity instead of the default "unlikely".

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"extends": ["plugin:mdx/recommended"]
1313
}
1414
],
15+
"parser": "@typescript-eslint/parser",
1516
"parserOptions": {
1617
"sourceType": "module",
1718
"ecmaVersion": "latest",

.github/workflows/pre-merge.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,26 @@ jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Enable Corepack
16+
run: corepack enable
17+
1218
- name: Set up Node.js
1319
uses: actions/setup-node@v4
20+
with:
21+
node-version: "20"
22+
cache: "yarn"
1423

15-
- name: Checkout repository
16-
uses: actions/checkout@v4
24+
- name: Check lock for duplications
25+
run: yarn dedupe --check
1726

1827
- name: Install dependencies
19-
run: yarn install --frozen-lockfile --no-progress --non-interactive
28+
run: yarn install --immutable
29+
30+
- name: Check dependencies alignment
31+
run: yarn check-dependencies
2032

2133
- name: Run Lint
2234
run: yarn ci:lint
@@ -25,17 +37,23 @@ jobs:
2537
build:
2638
runs-on: ubuntu-latest
2739
steps:
28-
- name: Set up Node.js
29-
uses: actions/setup-node@v4
30-
3140
- name: Checkout repository
3241
uses: actions/checkout@v4
3342

43+
- name: Enable Corepack
44+
run: corepack enable
45+
46+
- name: Set up Node.js
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version: "20"
50+
cache: "yarn"
51+
3452
- name: Install dependencies
35-
run: yarn install --frozen-lockfile --no-progress --non-interactive
53+
run: yarn install --immutable
3654

3755
- name: Build
3856
run: yarn build
3957
working-directory: website
4058
env:
41-
NODE_OPTIONS: "--max_old_space_size=4096"
59+
NODE_OPTIONS: "--max_old_space_size=8192"

.gitignore

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,42 @@
1+
# Logs
2+
logs
3+
*.log
4+
yarn-debug.log*
5+
yarn-error.log*
6+
17
node_modules
2-
.DS_Store
8+
*.local
9+
10+
# Editor directories and files
11+
.vscode/*
312
.idea
4-
.nvmrc
5-
.docusaurus
13+
.DS_Store
14+
*.suo
15+
*.ntvs*
16+
*.njsproj
17+
*.sln
18+
*.sw?
619

7-
website/build/
20+
*.tsbuildinfo
21+
22+
scripts/lint-examples/out/
823

924
sync-api-docs/generatedComponentApiDocs.js
1025
sync-api-docs/extracted.json
1126

12-
scripts/lint-examples/out/
27+
website/.docusaurus
28+
website/.cache-loader
29+
website/build/
30+
31+
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
32+
.pnp.*
33+
.yarn/*
34+
!.yarn/patches
35+
!.yarn/plugins
36+
!.yarn/releases
37+
!.yarn/sdks
38+
!.yarn/versions
39+
1340

41+
# Generated file(s) for llms
42+
llms.txt

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pretty-quick --staged

.prettierrc

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

.prettierrc.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"overrides": [
3+
{
4+
"files": ["*.js", "*.jsx", "*.ts", "*.tsx"],
5+
"options": {
6+
"arrowParens": "avoid",
7+
"bracketSpacing": false,
8+
"bracketSameLine": true,
9+
"printWidth": 80,
10+
"singleQuote": true,
11+
"trailingComma": "es5",
12+
"endOfLine": "auto"
13+
}
14+
},
15+
{
16+
"files": "*.md",
17+
"options": {
18+
"arrowParens": "avoid",
19+
"bracketSpacing": false,
20+
"bracketSameLine": true,
21+
"printWidth": 66,
22+
"proseWrap": "preserve",
23+
"singleQuote": true,
24+
"trailingComma": "all",
25+
"endOfLine": "auto"
26+
}
27+
},
28+
{
29+
"files": ["*.scss", "*.css"],
30+
"options": {
31+
"printWidth": 80,
32+
"endOfLine": "auto"
33+
}
34+
}
35+
]
36+
}

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ members of the project's leadership.
7272
## Attribution
7373

7474
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
75-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
75+
available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>
7676

7777
[homepage]: https://www.contributor-covenant.org
7878

7979
For answers to common questions about this code of conduct, see
80-
https://www.contributor-covenant.org/faq
80+
<https://www.contributor-covenant.org/faq>

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The [Open Source Guides](https://opensource.guide/) website has a collection of
77
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
88
- [Building Welcoming Communities](https://opensource.guide/building-community/)
99

10-
### Code of Conduct
10+
## Code of Conduct
1111

1212
As a reminder, all contributors are expected to adhere to the [Code of Conduct](https://github.com/facebook/react-native-website/blob/main/CODE_OF_CONDUCT.md).
1313

0 commit comments

Comments
 (0)