Skip to content

Commit d505f54

Browse files
authored
Merge branch 'facebook:main' into main
2 parents a71c97e + 6f330a8 commit d505f54

2,769 files changed

Lines changed: 311539 additions & 251142 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.

.alexignore

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

.alexrc.js

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

.circleci/config.yml

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

.eslintrc.json

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

.github/workflows/pre-merge.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Pre-merge
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Enable Corepack
16+
run: corepack enable
17+
18+
- name: Set up Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: "22"
22+
cache: yarn
23+
24+
- name: Check lock for duplications
25+
run: yarn dedupe --check
26+
27+
- name: Install dependencies
28+
run: yarn install --immutable
29+
30+
- name: Check dependencies alignment
31+
run: yarn check-dependencies
32+
33+
- name: Run Workspace Lint
34+
run: yarn lint
35+
36+
- name: Run Website Specific Lints
37+
working-directory: website
38+
run: yarn ci:lint
39+
40+
build:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@v4
45+
46+
- name: Enable Corepack
47+
run: corepack enable
48+
49+
- name: Set up Node.js
50+
uses: actions/setup-node@v4
51+
with:
52+
node-version: "22"
53+
cache: yarn
54+
55+
- name: Install dependencies
56+
run: yarn install --immutable
57+
58+
- name: Build
59+
run: yarn build
60+
working-directory: website
61+
env:
62+
NODE_OPTIONS: --max_old_space_size=8192

.gitignore

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,35 @@
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
821

9-
sync-api-docs/generatedComponentApiDocs.js
10-
sync-api-docs/extracted.json
22+
packages/lint-examples/out/
1123

12-
scripts/lint-examples/out/
24+
website/.docusaurus
25+
website/.cache-loader
26+
website/build/
1327

28+
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
29+
.pnp.*
30+
.yarn/*
31+
!.yarn/patches
32+
!.yarn/plugins
33+
!.yarn/releases
34+
!.yarn/sdks
35+
!.yarn/versions

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

.yarnrc.yml

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

0 commit comments

Comments
 (0)