-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
157 changed files
with
7,360 additions
and
1,376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Discord Notify | ||
|
||
on: | ||
pull_request_target: | ||
types: [labeled] | ||
|
||
jobs: | ||
check_maintainer: | ||
uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main | ||
with: | ||
actor: ${{ github.event.pull_request.user.login }} | ||
is_remote: true | ||
|
||
notify: | ||
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} | ||
needs: check_maintainer | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Discord Webhook Action | ||
uses: tsickert/[email protected] | ||
with: | ||
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} | ||
embed-author-name: ${{ github.event.pull_request.user.login }} | ||
embed-author-url: ${{ github.event.pull_request.user.html_url }} | ||
embed-author-icon-url: ${{ github.event.pull_request.user.avatar_url }} | ||
embed-title: '#${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}' | ||
embed-description: ${{ github.event.pull_request.body }} | ||
embed-url: ${{ github.event.pull_request.html_url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Label Core Team PRs | ||
|
||
on: | ||
pull_request_target: | ||
|
||
env: | ||
TZ: /usr/share/zoneinfo/America/Los_Angeles | ||
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout | ||
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1 | ||
|
||
jobs: | ||
check_maintainer: | ||
uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main | ||
with: | ||
actor: ${{ github.event.pull_request.user.login }} | ||
is_remote: true | ||
|
||
label: | ||
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} | ||
runs-on: ubuntu-latest | ||
needs: check_maintainer | ||
steps: | ||
- name: Label PR as React Core Team | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: ${{ github.event.number }}, | ||
labels: ['React Core Team'] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
/// <reference types="next/navigation-types/compat/navigation" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. | ||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,27 +18,27 @@ | |
"ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids rss", | ||
"tsc": "tsc --noEmit", | ||
"start": "next start", | ||
"postinstall": "patch-package && (is-ci || husky install .husky)", | ||
"postinstall": "is-ci || husky install .husky", | ||
"check-all": "npm-run-all prettier lint:fix tsc rss", | ||
"rss": "node scripts/generateRss.js" | ||
}, | ||
"dependencies": { | ||
"@codesandbox/sandpack-react": "2.13.5", | ||
"@docsearch/css": "^3.6.1", | ||
"@docsearch/react": "^3.6.1", | ||
"@docsearch/css": "^3.8.3", | ||
"@docsearch/react": "^3.8.3", | ||
"@headlessui/react": "^1.7.0", | ||
"@radix-ui/react-context-menu": "^2.1.5", | ||
"body-scroll-lock": "^3.1.3", | ||
"classnames": "^2.2.6", | ||
"date-fns": "^2.16.1", | ||
"debounce": "^1.2.1", | ||
"github-slugger": "^1.3.0", | ||
"next": "^13.4.1", | ||
"next": "15.1.0", | ||
"next-remote-watch": "^1.0.0", | ||
"parse-numeric-range": "^1.2.0", | ||
"react": "^0.0.0-experimental-16d053d59-20230506", | ||
"react": "^19.0.0", | ||
"react-collapsed": "4.0.4", | ||
"react-dom": "^0.0.0-experimental-16d053d59-20230506", | ||
"react-dom": "^19.0.0", | ||
"remark-frontmatter": "^4.0.1", | ||
"remark-gfm": "^3.0.1" | ||
}, | ||
|
@@ -54,20 +54,22 @@ | |
"@types/mdx-js__react": "^1.5.2", | ||
"@types/node": "^14.6.4", | ||
"@types/parse-numeric-range": "^0.0.1", | ||
"@types/react": "^18.0.9", | ||
"@types/react-dom": "^18.0.5", | ||
"@types/react": "^19.0.0", | ||
"@types/react-dom": "^19.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.36.2", | ||
"@typescript-eslint/parser": "^5.36.2", | ||
"asyncro": "^3.0.0", | ||
"autoprefixer": "^10.4.2", | ||
"babel-eslint": "10.x", | ||
"babel-plugin-react-compiler": "19.0.0-beta-e552027-20250112", | ||
"eslint": "7.x", | ||
"eslint-config-next": "12.0.3", | ||
"eslint-config-react-app": "^5.2.1", | ||
"eslint-plugin-flowtype": "4.x", | ||
"eslint-plugin-import": "2.x", | ||
"eslint-plugin-jsx-a11y": "6.x", | ||
"eslint-plugin-react": "7.x", | ||
"eslint-plugin-react-compiler": "^19.0.0-beta-e552027-20250112", | ||
"eslint-plugin-react-hooks": "^0.0.0-experimental-fabef7a6b-20221215", | ||
"fs-extra": "^9.0.1", | ||
"globby": "^11.0.1", | ||
|
@@ -78,7 +80,6 @@ | |
"mdast-util-to-string": "^1.1.0", | ||
"metro-cache": "0.72.2", | ||
"npm-run-all": "^4.1.5", | ||
"patch-package": "^6.2.2", | ||
"postcss": "^8.4.5", | ||
"postcss-flexbugs-fixes": "4.2.1", | ||
"postcss-preset-env": "^6.7.0", | ||
|
@@ -94,7 +95,7 @@ | |
"retext-smartypants": "^4.0.0", | ||
"rss": "^1.2.2", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^4.0.2", | ||
"typescript": "^5.7.2", | ||
"unist-util-visit": "^2.0.3", | ||
"webpack-bundle-analyzer": "^4.5.0" | ||
}, | ||
|
@@ -109,5 +110,6 @@ | |
"lint-staged": { | ||
"*.{js,ts,jsx,tsx,css}": "yarn prettier", | ||
"src/**/*.md": "yarn fix-headings" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.