Skip to content

Commit 773fbbd

Browse files
authored
Merge branch 'main' into chore/better-links-for-source
2 parents 2ee664f + 6fed09a commit 773fbbd

18 files changed

Lines changed: 331 additions & 328 deletions

File tree

.github/workflows/notify-on-push.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ permissions:
99

1010
jobs:
1111
notify_on_push:
12-
name: Notify on Force Push on `main`
13-
if: github.repository == 'nodejs/nodejs.org' && github.event.forced
12+
name: Notify on any direct push to `main`
13+
if: >
14+
github.repository == 'nodejs/nodejs.org' &&
15+
github.actor != 'github-merge-queue[bot]'
1416
runs-on: ubuntu-latest
1517
steps:
1618
- name: Slack Notification
1719
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # 2.3.2
1820
env:
1921
SLACK_COLOR: '#DE512A'
2022
SLACK_ICON: https://github.com/nodejs.png?size=48
21-
SLACK_TITLE: ${{ github.actor }} force-pushed to ${{ github.ref }}
23+
SLACK_TITLE: ${{ github.actor }} directly pushed to ${{ github.ref }}
2224
SLACK_MESSAGE: |
23-
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.ref_name }}|${{ github.repository }}@${{ github.ref_name }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
25+
A commit was directly pushed to <https://github.com/${{ github.repository }}/tree/${{ github.ref_name }}|${{ github.repository }}@${{ github.ref_name }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
2426
2527
Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
2628
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>

apps/site/components/Icons/HexagonGrid.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const HexagonGrid: FC<HexagonGridProps> = props => (
77
viewBox="0 0 1216 726"
88
fill="none"
99
xmlns="http://www.w3.org/2000/svg"
10+
aria-hidden="true"
1011
{...props}
1112
>
1213
<mask

apps/site/pages/en/about/governance.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,24 @@ layout: about
77

88
## Consensus Seeking Process
99

10-
The Node.js project follows a [Consensus Seeking][] decision making model.
10+
The Node.js project follows a [Consensus Seeking](https://en.wikipedia.org/wiki/Consensus-seeking_decision-making) decision making model.
1111

1212
## Collaborators
1313

14-
The [nodejs/node][] core GitHub repository is maintained by the Collaborators
14+
The [nodejs/node](https://github.com/nodejs/node) core GitHub repository is maintained by the Collaborators
1515
who are nominated by other existing Collaborators on an ongoing basis.
1616

1717
Individuals making significant and valuable contributions are made Collaborators
1818
and given commit-access to the project. These individuals are identified by other
1919
Collaborators and their nomination is discussed with the existing Collaborators.
2020

21-
For the current list of Collaborators, see the project's [README.md][].
21+
For the current list of Collaborators, see the project's [README.md](https://github.com/nodejs/node/blob/main/README.md#current-project-team-members).
2222

23-
A guide for Collaborators is maintained at [collaborator-guide.md][].
23+
A guide for Collaborators is maintained at [collaborator-guide.md](https://github.com/nodejs/node/blob/main/doc/contributing/collaborator-guide.md).
2424

2525
## Technical Steering Committee
2626

27-
The project is governed by the [Technical Steering Committee (TSC)][]
27+
The project is governed by the [Technical Steering Committee (TSC)](https://github.com/nodejs/TSC/blob/main/TSC-Charter.md)
2828
which is responsible for high-level guidance of the project. TSC is a
2929
subset of active Collaborators who are nominated by other existing TSC
3030
members.
31-
32-
[consensus seeking]: https://en.wikipedia.org/wiki/Consensus-seeking_decision-making
33-
[readme.md]: https://github.com/nodejs/node/blob/main/README.md#current-project-team-members
34-
[tsc]: https://github.com/nodejs/TSC
35-
[technical steering committee (tsc)]: https://github.com/nodejs/TSC/blob/main/TSC-Charter.md
36-
[collaborator-guide.md]: https://github.com/nodejs/node/blob/main/doc/contributing/collaborator-guide.md
37-
[nodejs/node]: https://github.com/nodejs/node

apps/site/pages/en/about/index.mdx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ synchronous methods of Node.js standard library. Because nothing blocks, scalabl
5353
reasonable to develop in Node.js.
5454

5555
If some of this language is unfamiliar, there is a full article on
56-
[Blocking vs. Non-Blocking][].
56+
[Blocking vs. Non-Blocking](/learn/asynchronous-work/overview-of-blocking-vs-non-blocking).
5757

5858
---
5959

6060
Node.js is similar in design to, and influenced by, systems like Ruby's
61-
[Event Machine][] and Python's [Twisted][]. Node.js takes the event model a bit
61+
[Event Machine](https://github.com/eventmachine/eventmachine) and Python's [Twisted](https://twisted.org/). Node.js takes the event model a bit
6262
further. It presents an event loop as a runtime construct instead of as a library. In other systems,
6363
there is always a blocking call to start the event-loop.
6464
Typically, behavior is defined through callbacks at the beginning of a script, and
@@ -73,13 +73,7 @@ library or framework.
7373

7474
Node.js being designed without threads doesn't mean you can't take
7575
advantage of multiple cores in your environment. Child processes can be spawned
76-
by using our [`child_process.fork()`][] API, and are designed to be easy to
77-
communicate with. Built upon that same interface is the [`cluster`][] module,
76+
by using our [`child_process.fork()`](https://nodejs.org/api/child_process.html) API, and are designed to be easy to
77+
communicate with. Built upon that same interface is the [`cluster`](https://nodejs.org/api/cluster.html) module,
7878
which allows you to share sockets between processes to enable load balancing
7979
over your cores.
80-
81-
[blocking vs. non-blocking]: /learn/asynchronous-work/overview-of-blocking-vs-non-blocking
82-
[`child_process.fork()`]: https://nodejs.org/api/child_process.html
83-
[`cluster`]: https://nodejs.org/api/cluster.html
84-
[event machine]: https://github.com/eventmachine/eventmachine
85-
[twisted]: https://twisted.org/

apps/site/pages/es/about/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ El hecho de que Node.js esté diseñado sin hilos no significa que no puedas ace
6060
[`child_process.fork()`]: https://nodejs.org/api/child_process.html
6161
[`cluster`]: https://nodejs.org/api/cluster.html
6262
[máquina de eventos]: https://github.com/eventmachine/eventmachine
63-
[twisted]: https://twisted.org/
63+
[torcido]: https://twisted.org/

apps/site/pages/id/about/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ Node.js dirancang tanpa thread bukan berarti Anda tidak dapat memanfaatkan banya
6868
[`child_process.fork()`]: https://nodejs.org/api/child_process.html
6969
[`cluster`]: https://nodejs.org/api/cluster.html
7070
[event machine]: https://github.com/eventmachine/eventmachine
71-
[berpilin]: https://twisted.org/
71+
[twisted]: https://twisted.org/

apps/site/pages/ja/about/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: about
55

66
Node.js®とは
77

8-
非同期イベント駆動型のJavaScript実行環境であるNode.jsはスケーラブルなネットワークアプリケーションを構築するために設計されています。次の「hello world」の例では、多数のネットワーク接続を同時に処理できます。各ネットワーク接続時にコールバックが起動されますが、実行する処理がない場合、Node.jsはスリープします。
8+
非同期イベント駆動型のJavaScript実行環境であるNode.jsはスケール可能なネットワークアプリケーションを構築するために設計されています。次の「hello world」の例では多数のネットワーク接続を同時に処理できます。各ネットワーク接続でコールバックが呼び出されますが、実行する処理がない場合はNode.jsはスリープします。
99

1010
```cjs
1111
const { createServer } = require('node:http');

apps/site/pages/uk/about/previous-releases.mdx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,22 @@ layout: about
1818

1919
### Комерційна підтримка
2020

21-
Комерційна підтримка для версій після фази підтримки доступна з нашим партнером програми OpenJS Ecosystem Sustainability [HeroDevs](https://herodevs.com/).
21+
Комерційна підтримка для версій після фази _Maintenance_ доступна з нашим партнером програми OpenJS Ecosystem Sustainability [HeroDevs](https://herodevs.com/).
2222

2323
## Шукаєте останній реліз гілки версії?
2424

2525
<DownloadReleasesTable />
26+
27+
## Офіційні та спільнотні методи установки
28+
29+
Вебсайт Node.js пропонує різні методи установки, з якими можна встановити Node.js неінтерактивно. Наприклад, за допомогою інтерфейсів командного рядка, менеджерів пакетів ОС (як-от `apt`) або менеджерів версій Node.js (як-от `nvm`).
30+
31+
Аби популяризувати та прорекламувати внески спільноти, проєкт Node.js представив нову сторінку завантажень, яка містить і офіційні, і спільнотні методи установки, що надає більше гнучкості та опцій для користувачів.
32+
Разом з цим ми представили концепцію «офіційних» та «спільнотних» методів установки. Щоб метод уважався «офіційним», він повинний відповідати наступним вимогам:
33+
34+
| Вимоги |
35+
| ------------------------------------------------------------------------------------------------------------------------------------------------------- |
36+
| Нові релізи Node.js повинні бути доступні одразу після офіційного релізу |
37+
| Супроводжувачі проєкту повинні мати близькі зв'язки з Node.js, у тому числі пряме спілкування |
38+
| Метод установки завантажує офіційні бінарні файли, зібрані проєктом Node.js |
39+
| Метод установки **не** повинний будувати з вихідного коду, коли доступні бінарні файли, та не повинний змінювати офіційні бінарні файли, надані Node.js |

apps/site/pages/zh-tw/about/get-involved/index.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,32 @@ layout: about
55

66
# 加入我們
77

8+
若您對於參與 Node.js 社群感興趣,有許多管道可以參與。Node.js 專案是一個龐大且多元的社群,除了撰寫程式碼以外,還有許多貢獻方式。
9+
810
## 社群討論
911

10-
- [GitHub 問題清單](https://github.com/nodejs/node/issues) 是討論 Node.js 核心功能的區域。
11-
- 若要進行 Node.js 開發相關的即時聊天,請使用以下其中一個平台
12-
- 針對 IRC,請使用 [IRC 客戶端](https://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_clients)連線至 `#node.js` 頻道中的 `irc.libera.chat`,或使用[網頁客戶端](https://kiwiirc.com/nextclient/)透過瀏覽器連線至該頻道。
13-
- 針對 Slack,則有兩種選項:
14-
- [OpenJSF Slack](https://slack-invite.openjsf.org/) 乃是由基金會經營的 Slack ,其中包含多個 Node.js 頻道 (以 #nodejs- 為前綴的頻道皆與該專案相關)。
15-
- [Node Slackers](https://www.nodeslackers.com/) 是一個專注於 Node.js 的 Slack 社群。
12+
- [GitHub 議題列表](https://github.com/nodejs/node/issues) 是討論 Node.js 核心功能的地方。若您對 Node.js 有疑問,可以使用 [GitHub discussions](https://github.com/orgs/nodejs/discussions)
13+
- [`nodejs/help`](https://github.com/nodejs/help/issues) 是專為討論 Node.js 問題的儲存庫。
1614
- Node.js 的官方 Twitter 帳號是 [nodejs](https://twitter.com/nodejs)
1715
- [Node.js 專案行事曆](https://nodejs.org/calendar)包含所有公開的團隊會議。
1816

19-
## 學習素材
17+
## 學習資源
18+
19+
如果您想要瞭解更多與 Node.js 有關的事,以下有許多可供利用的資源。
2020

2121
- Node.js 網站的[官方學習區](https://nodejs.org/en/learn/)
2222
- [官方 API 參考文件](https://nodejs.org/api/)
2323
- [NodeSchool.io](https://nodeschool.io/) 會透過命令列遊戲傳授 Node.js 的概念。
2424
- [Stack Overflow 的 Node.js 標籤](https://stackoverflow.com/questions/tagged/node.js)每天都會收集最新資訊。
2525
- [The DEV Community Node.js tag](https://dev.to/t/node) 是供開發者分享 Node.js 專案、文章與教學,以及討論 Node.js 相關主題、收集他人意見的地方。無論程度如何都歡迎踴躍參與。
26+
- [Reddit Node.js community](https://www.reddit.com/r/node) 是開發者們分享 Node.js 專案、文章與教學,以及討論 Node.js 相關主題、收集他人意見的地方。無論程度如何都歡迎踴躍參與。
27+
28+
## 非官方討論區
29+
30+
如果您想在一些非正式的地方討論 Node.js,以下有一些非官方的討論區。請留意這些討論區並非由 Node.js 專案認可,同時也請遵守他們的社群公約。
31+
32+
- [Node Slackers](https://www.nodeslackers.com/) 是一個專注於 Node.js 的 Slack 社群。
33+
- [OpenJSF Slack](https://slack-invite.openjsf.org/) 是 OpenJS 基金會的 Slack 工作區,有一些與 Node.js 相關的頻道(以 `#nodejs-` 開始的頻道皆與本專案相關)。
2634
- [Nodeiflux](https://discordapp.com/invite/vUsrbjd) 是一個友善的 Node.js 後端開發者社群,成員們在 Discord 上相互支援。
35+
- [ES Community](https://discord.gg/zJsuc6vvhn) 是一個在 Discord 上的法語 JavaScript 社群。
36+
- 使用 [IRC 客戶端](https://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_clients)連線至 `#node.js` 頻道中的 `irc.libera.chat`,或使用[網頁客戶端](https://kiwiirc.com/nextclient/)透過瀏覽器連線至該頻道。

apps/site/pages/zh-tw/about/security-reporting.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ layout: about
1919

2020
Node.js 專案為安全研究人員和盡責公開揭露設立了官方漏洞獎勵計畫。該計畫透過 HackerOne 平台進行管理。詳情請見 [https://hackerone.com/nodejs](https://hackerone.com/nodejs)
2121

22-
## 回報第三方模塊的錯誤
22+
## 回報第三方模組中的臭蟲
2323

24-
第三方模塊的錯誤應回報給其相應維護者
24+
第三方模組的安全性臭蟲應回報給其相應的維護者
2525

2626
## 揭露政策
2727

0 commit comments

Comments
 (0)