Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/docs/en/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,14 @@ There are many ways to contribute:
Ready to make code changes? Great! Here's how to set up your environment. You need Node.js 22 or newer and npm 10
or newer.

**1. Clone the Repository**
**1. Fork and Clone the Repository**

```bash
git clone https://github.com/method-hub/Jext.git
cd Jext
```

If you have no write access to `method-hub/Jext`, fork it on GitHub first and push your branch to the fork:
Fork [`method-hub/Jext`](https://github.com/method-hub/Jext) on GitHub first, then clone your fork and add the upstream remote so you can push branches to `origin` and keep `main` in sync with `upstream`:

```bash
git remote add fork https://github.com/<your-username>/Jext.git
git clone https://github.com/<your-username>/Jext.git
cd Jext
git remote add upstream https://github.com/method-hub/Jext.git
```

**2. Install Dependencies**
Expand Down
13 changes: 5 additions & 8 deletions .github/docs/ru/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,14 @@
Готовы внести изменения в код? Отлично! Вот как подготовить рабочее окружение. Понадобятся Node.js 22 или новее и
npm 10 или новее.

**1. Клонируйте репозиторий**
**1. Сделайте форк и клонируйте репозиторий**

```bash
git clone https://github.com/method-hub/Jext.git
cd Jext
```

Если у вас нет прав на запись в `method-hub/Jext`, сначала сделайте форк на GitHub и отправляйте ветку в него:
Сначала сделайте форк [`method-hub/Jext`](https://github.com/method-hub/Jext) на GitHub, затем клонируйте свой форк и добавьте `upstream`, чтобы отправлять ветки в `origin` и синхронизировать `main` с основным репозиторием:

```bash
git remote add fork https://github.com/<ваш-никнейм>/Jext.git
git clone https://github.com/<ваш-никнейм>/Jext.git
cd Jext
git remote add upstream https://github.com/method-hub/Jext.git
```

**2. Установите зависимости**
Expand Down
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ performance tests and side-by-side lessons. Write code that is fast and elegant

## Quick start

You need Node.js 22+ and npm 10+.
You need Node.js 22+ and npm 10+. Fork `method-hub/Jext` on GitHub first, then clone your fork and add `upstream`:

```bash
git clone https://github.com/method-hub/Jext.git
git clone https://github.com/<your-username>/Jext.git
cd Jext
git remote add upstream https://github.com/method-hub/Jext.git
npm ci
npm run tests:guardian
```
Expand Down