Skip to content

Commit b58535b

Browse files
authored
Repository Maintenance Before React v19 Upgrade (#1024)
This PR was automatically generated. Merge changes from [react.dev](https://github.com/reactjs/react.dev/commits/main) at 6274d4f The following files have conflicts and may need new translations: * [x] [src/content/learn/adding-interactivity.md](/reactjs/react.dev/commits/main/src/content/learn/adding-interactivity.md) * [x] [vercel.json](/reactjs/react.dev/commits/main/vercel.json) Please fix the conflicts by pushing new commits to this pull request, either by editing the files directly on GitHub or by checking out this branch. ## DO NOT SQUASH MERGE THIS PULL REQUEST! Doing so will "erase" the commits from main and cause them to show up as conflicts the next time we merge.
2 parents 7b26e2a + 4bc1d1f commit b58535b

File tree

120 files changed

+1417
-1084
lines changed

Some content is hidden

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

120 files changed

+1417
-1084
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ root = true
33
[*]
44
charset = utf-8
55
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
trim_trailing_whitespace = true

.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
NEXT_PUBLIC_GA_TRACKING_ID = 'G-B1E83PJ3RT'
1+
NEXT_PUBLIC_GA_TRACKING_ID = 'G-B1E83PJ3RT'

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://git-scm.com/docs/gitattributes
2+
3+
# Ensure consistent EOL(LF) for all files that Git considers text files.
4+
* text=auto eol=lf

.github/ISSUE_TEMPLATE/3-framework.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: "📄 Suggest new framework"
2-
description: "I am a framework author applying to be included as a recommended framework."
3-
title: "[Framework]: "
4-
labels: ["type: framework"]
1+
name: '📄 Suggest new framework'
2+
description: 'I am a framework author applying to be included as a recommended framework.'
3+
title: '[Framework]: '
4+
labels: ['type: framework']
55
body:
66
- type: markdown
77
attributes:
88
value: |
99
## Apply to be included as a recommended React framework
1010
1111
_This form is for framework authors to apply to be included as a recommended [React framework](https://react.dev/learn/start-a-new-react-project). If you are not a framework author, please contact the authors before submitting._
12-
12+
1313
Our goal when recommending a framework is to start developers with a React project that solves common problems like code splitting, data fetching, routing, and HTML generation without any extra work later. We believe this will allow users to get started quickly with React, and scale their app to production.
14-
14+
1515
While we understand that many frameworks may want to be featured, this page is not a place to advertise every possible React framework or all frameworks that you can add React to. There are many great frameworks that offer support for React that are not listed in our guides. The frameworks we recommend have invested significantly in the React ecosystem, and collaborated with the React team to be compatible with our [full-stack React architecture vision](https://react.dev/learn/start-a-new-react-project#which-features-make-up-the-react-teams-full-stack-architecture-vision).
16-
16+
1717
To be included, frameworks must meet the following criteria:
18-
18+
1919
- **Free & open-source**: must be open source and free to use.
2020
- **Well maintained**. must be actively maintained, providing bug fixes and improvements.
2121
- **Active community**: must have a sufficiently large and active community to support users.
@@ -25,7 +25,7 @@ body:
2525
- **Developer experience**. must allow developers to be productive by supporting features like Fast Refresh.
2626
- **User experience**. must provide built-in support for common problems like routing and data-fetching.
2727
- **Compatible with our future vision for React**. React evolves over time, and frameworks that do not align with React’s direction risk isolating their users from the main React ecosystem over time. To be included on this page we must feel confident that the framework is setting its users up for success with React over time.
28-
28+
2929
Please note, we have reviewed most of the popular frameworks available today, so it is unlikely we have not considered your framework already. But if you think we missed something, please complete the application below.
3030
- type: input
3131
attributes:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
<!--
2+
PR을 보내주셔서 감사합니다! 여러분과 같은 기여자들이 React를 더욱 멋지게 만듭니다!
23
3-
Thank you for the PR! Contributors like you keep React awesome!
4+
기존 이슈와 관련된 PR이라면, 아래에 이슈 번호를 추가해주세요.
5+
-->
46

5-
Please see the Contribution Guide for guidelines:
7+
# <!-- 제목을 작성해주세요. -->
68

7-
https://github.com/reactjs/ko.react.dev/blob/main/CONTRIBUTING.md
9+
<!--
10+
어떤 종류의 PR인지 상세 내용을 작성해주세요.
11+
-->
812

9-
If your PR references an existing issue, please add the issue number below
13+
## 필수 확인 사항
1014

11-
-->
15+
- [ ] [기여자 행동 강령 규약<sup>Code of Conduct</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CODE_OF_CONDUCT.md)
16+
- [ ] [기여 가이드라인<sup>Contributing</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CONTRIBUTING.md)
17+
- [ ] [공통 스타일 가이드<sup>Universal Style Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/universal-style-guide.md)
18+
- [ ] [번역을 위한 모범 사례<sup>Best Practices for Translation</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/best-practices-for-translation.md)
19+
- [ ] [번역 용어 정리<sup>Translate Glossary</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/translate-glossary.md)
20+
- [ ] [`textlint` 가이드<sup>Textlint Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/textlint-guide.md)
21+
- [ ] [맞춤법 검사<sup>Spelling Check</sup>](https://nara-speller.co.kr/speller/)
1222

13-
## Progress
23+
## 선택 확인 사항
1424

15-
- [ ] 번역 초안 작성 (Draft translation)
16-
- [ ] [공통 스타일 가이드 확인 (Check the common style guide)](https://github.com/reactjs/ko.react.dev/blob/main/wiki/universal-style-guide.md)
17-
- [ ] [모범 사례 확인 (Check best practices)](https://github.com/reactjs/ko.react.dev/blob/main/wiki/best-practices-for-translation.md)
18-
- [ ] [용어 확인 (Check the term)](https://github.com/reactjs/ko.react.dev/blob/main/wiki/translate-glossary.md)
19-
- [ ] [Textlint 가이드 확인 (Check the textlint guide)](https://github.com/reactjs/ko.react.dev/blob/main/wiki/textlint/what-is-textlint.md)
20-
- [ ] [맞춤법 검사 (Spelling check)](https://nara-speller.co.kr/speller/)
21-
- [ ] 리뷰 반영 (Resolve reviews)
25+
- [ ] 번역 초안 작성<sup>Draft Translation</sup>
26+
- [ ] 리뷰 반영<sup>Resolve Reviews</sup>

.github/workflows/analyze.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,26 @@ jobs:
1111
analyze:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up node
17-
uses: actions/setup-node@v3
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: '20.x'
20+
cache: yarn
21+
cache-dependency-path: yarn.lock
2022

21-
- name: Install dependencies
22-
uses: bahmutov/[email protected]
23+
- name: Restore cached node_modules
24+
uses: actions/cache@v4
25+
with:
26+
path: '**/node_modules'
27+
key: node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
28+
29+
- name: Install deps
30+
run: yarn install --frozen-lockfile
2331

2432
- name: Restore next build
25-
uses: actions/cache@v3
33+
uses: actions/cache@v4
2634
id: restore-build-cache
2735
env:
2836
cache-name: cache-next-build

.github/workflows/site_lint.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,22 @@ jobs:
1414
name: Lint on node 20.x and ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v4
1818
- name: Use Node.js 20.x
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: 20.x
22+
cache: yarn
23+
cache-dependency-path: yarn.lock
2224

23-
- name: Install deps and build (with cache)
24-
uses: bahmutov/[email protected]
25+
- name: Restore cached node_modules
26+
uses: actions/cache@v4
27+
with:
28+
path: '**/node_modules'
29+
key: node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
30+
31+
- name: Install deps
32+
run: yarn install --frozen-lockfile
2533

2634
- name: Lint codebase
2735
run: yarn ci-check

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
src/content/**/*.md
1+
**/*.md

.textlintrc

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

.textlintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
rules: {
3+
'allowed-uris': {
4+
disallowed: {
5+
/**
6+
* Disallow URIs starting with the following strings:
7+
* - https://ko.react.dev
8+
* - http://ko.react.dev
9+
*
10+
* For example,
11+
* `https://ko.react.dev/reference/rules` can be replaced with `/reference/rules`.
12+
*/
13+
links: [/https?:\/\/ko\.react\.dev/g],
14+
},
15+
},
16+
},
17+
filters: {
18+
comments: true,
19+
},
20+
};

0 commit comments

Comments
 (0)