mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
chore(readme): update task commands in multiple language files to streamline linting, testing, and building processes
This commit is contained in:
parent
b3349c2e24
commit
aff0a25b47
6 changed files with 97 additions and 84 deletions
31
README.md
31
README.md
|
|
@ -46,9 +46,10 @@ Safari 16.4 or later, Chrome 111 or later, Firefox 128 or later (bundled web UI)
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
## Install Methods
|
||||
|
|
@ -410,21 +411,23 @@ Common tasks from `Taskfile.yml`:
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
`Makefile` targets are thin shims that delegate to `task` (same commands as above):
|
||||
|
||||
| Command | Delegates to | Description |
|
||||
| -------------- | --------------- | --------------------------------------------- |
|
||||
| `make install` | `task install` | Install pnpm and UV dependencies |
|
||||
| `make run` | `task run` | Run MeshChatX via UV |
|
||||
| `make build` | `task build` | Build frontend and backend artifacts |
|
||||
| `make lint` | `task lint:all` | ESLint, vue-tsc, knip, Ruff, and basedpyright |
|
||||
| `make test` | `task test:all` | Run frontend and backend tests |
|
||||
| `make clean` | `task clean` | Remove build artifacts and node_modules |
|
||||
| Command | Delegates to | Description |
|
||||
| -------------- | -------------- | --------------------------------------------- |
|
||||
| `make install` | `task install` | Install pnpm and UV dependencies |
|
||||
| `make run` | `task run` | Run MeshChatX via UV |
|
||||
| `make build` | `task build` | Build frontend and backend artifacts |
|
||||
| `make format` | `task format` | Format frontend and backend code |
|
||||
| `make lint` | `task lint` | ESLint, vue-tsc, knip, Ruff, and basedpyright |
|
||||
| `make test` | `task test` | Run frontend and backend tests |
|
||||
| `make clean` | `task clean` | Remove build artifacts and node_modules |
|
||||
|
||||
## Versioning
|
||||
|
||||
|
|
|
|||
|
|
@ -52,9 +52,10 @@ Safari 16.4 oder neuer, Chrome 111 oder neuer, Firefox 128 oder neuer (Web-Oberf
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
## Installationsmethoden
|
||||
|
|
@ -328,21 +329,22 @@ Gaengige Aufgaben aus `Taskfile.yml`:
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
`Makefile`-Ziele sind duenne Wrapper, die an `task` delegieren (gleiche Befehle wie oben):
|
||||
|
||||
| Befehl | Delegiert an | Beschreibung |
|
||||
| -------------- | --------------- | --------------------------------------------------------- |
|
||||
| `make install` | `task install` | pnpm- und UV-Abhaengigkeiten installieren |
|
||||
| `make run` | `task run` | MeshChatX ueber UV starten |
|
||||
| `make build` | `task build` | Frontend- und Backend-Artefakte bauen |
|
||||
| `make lint` | `task lint:all` | ESLint, vue-tsc, knip, Ruff und basedpyright |
|
||||
| `make test` | `task test:all` | Frontend- und Backend-Tests |
|
||||
| `make clean` | `task clean` | Build-Artefakte und node_modules entfernen |
|
||||
| Befehl | Delegiert an | Beschreibung |
|
||||
| -------------- | -------------- | -------------------------------------------- |
|
||||
| `make install` | `task install` | pnpm- und UV-Abhaengigkeiten installieren |
|
||||
| `make run` | `task run` | MeshChatX ueber UV starten |
|
||||
| `make build` | `task build` | Frontend- und Backend-Artefakte bauen |
|
||||
| `make lint` | `task lint` | ESLint, vue-tsc, knip, Ruff und basedpyright |
|
||||
| `make test` | `task test` | Frontend- und Backend-Tests |
|
||||
| `make clean` | `task clean` | Build-Artefakte und node_modules entfernen |
|
||||
|
||||
## Versionierung
|
||||
|
||||
|
|
|
|||
|
|
@ -52,9 +52,10 @@ Safari 16.4 o successivo, Chrome 111 o successivo, Firefox 128 o successivo (int
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
## Metodi di installazione
|
||||
|
|
@ -328,21 +329,22 @@ Attivita comuni da `Taskfile.yml`:
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
I target `Makefile` sono wrapper sottili che delegano a `task` (stessi comandi di sopra):
|
||||
|
||||
| Comando | Delega a | Descrizione |
|
||||
| -------------- | --------------- | ----------------------------------------------------- |
|
||||
| `make install` | `task install` | Installa dipendenze pnpm e UV |
|
||||
| `make run` | `task run` | Esegue MeshChatX tramite UV |
|
||||
| `make build` | `task build` | Compila artefatti frontend e backend |
|
||||
| `make lint` | `task lint:all` | ESLint, vue-tsc, knip, Ruff e basedpyright |
|
||||
| `make test` | `task test:all` | Test frontend e backend |
|
||||
| `make clean` | `task clean` | Rimuove artefatti di build e node_modules |
|
||||
| Comando | Delega a | Descrizione |
|
||||
| -------------- | -------------- | ------------------------------------------ |
|
||||
| `make install` | `task install` | Installa dipendenze pnpm e UV |
|
||||
| `make run` | `task run` | Esegue MeshChatX tramite UV |
|
||||
| `make build` | `task build` | Compila artefatti frontend e backend |
|
||||
| `make lint` | `task lint` | ESLint, vue-tsc, knip, Ruff e basedpyright |
|
||||
| `make test` | `task test` | Test frontend e backend |
|
||||
| `make clean` | `task clean` | Rimuove artefatti di build e node_modules |
|
||||
|
||||
## Versionamento
|
||||
|
||||
|
|
|
|||
|
|
@ -52,9 +52,10 @@ Safari 16.4 以降、Chrome 111 以降、Firefox 128 以降(同梱 Web UI)
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
## インストール方法
|
||||
|
|
@ -328,21 +329,22 @@ cd android
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
`Makefile` のターゲットは `task` に委譲する薄いラッパーです(上記と同じコマンド):
|
||||
|
||||
| コマンド | 委譲先 | 説明 |
|
||||
| -------------- | --------------- | ------------------------------------------------------ |
|
||||
| `make install` | `task install` | pnpm と UV の依存関係をインストール |
|
||||
| `make run` | `task run` | UV 経由で MeshChatX を実行 |
|
||||
| `make build` | `task build` | フロントエンドとバックエンドの成果物をビルド |
|
||||
| `make lint` | `task lint:all` | ESLint、vue-tsc、knip、Ruff、basedpyright |
|
||||
| `make test` | `task test:all` | フロントエンドとバックエンドのテスト |
|
||||
| `make clean` | `task clean` | ビルド成果物と node_modules を削除 |
|
||||
| コマンド | 委譲先 | 説明 |
|
||||
| -------------- | -------------- | -------------------------------------------- |
|
||||
| `make install` | `task install` | pnpm と UV の依存関係をインストール |
|
||||
| `make run` | `task run` | UV 経由で MeshChatX を実行 |
|
||||
| `make build` | `task build` | フロントエンドとバックエンドの成果物をビルド |
|
||||
| `make lint` | `task lint` | ESLint、vue-tsc、knip、Ruff、basedpyright |
|
||||
| `make test` | `task test` | フロントエンドとバックエンドのテスト |
|
||||
| `make clean` | `task clean` | ビルド成果物と node_modules を削除 |
|
||||
|
||||
## バージョン管理
|
||||
|
||||
|
|
|
|||
|
|
@ -52,9 +52,10 @@ Safari 16.4 или новее, Chrome 111 или новее, Firefox 128 или
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
## Способы установки
|
||||
|
|
@ -328,21 +329,22 @@ cd android
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
Цели `Makefile` — тонкие обёртки, делегирующие в `task` (те же команды, что выше):
|
||||
|
||||
| Команда | Делегирует в | Описание |
|
||||
| -------------- | --------------- | ----------------------------------------------------- |
|
||||
| `make install` | `task install` | Установить зависимости pnpm и UV |
|
||||
| `make run` | `task run` | Запуск MeshChatX через UV |
|
||||
| `make build` | `task build` | Сборка артефактов фронтенда и бэкенда |
|
||||
| `make lint` | `task lint:all` | ESLint, vue-tsc, knip, Ruff и basedpyright |
|
||||
| `make test` | `task test:all` | Тесты фронтенда и бэкенда |
|
||||
| `make clean` | `task clean` | Удалить артефакты сборки и node_modules |
|
||||
| Команда | Делегирует в | Описание |
|
||||
| -------------- | -------------- | ------------------------------------------ |
|
||||
| `make install` | `task install` | Установить зависимости pnpm и UV |
|
||||
| `make run` | `task run` | Запуск MeshChatX через UV |
|
||||
| `make build` | `task build` | Сборка артефактов фронтенда и бэкенда |
|
||||
| `make lint` | `task lint` | ESLint, vue-tsc, knip, Ruff и basedpyright |
|
||||
| `make test` | `task test` | Тесты фронтенда и бэкенда |
|
||||
| `make clean` | `task clean` | Удалить артефакты сборки и node_modules |
|
||||
|
||||
## Версионирование
|
||||
|
||||
|
|
|
|||
|
|
@ -52,9 +52,10 @@ Safari 16.4 或更高版本、Chrome 111 或更高版本、Firefox 128 或更高
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
## 安装方式
|
||||
|
|
@ -328,21 +329,22 @@ cd android
|
|||
|
||||
```bash
|
||||
task install
|
||||
task lint:all
|
||||
task test:all
|
||||
task build:all
|
||||
task format
|
||||
task lint
|
||||
task test
|
||||
task build
|
||||
```
|
||||
|
||||
`Makefile` 目标为委托给 `task` 的薄封装(与上文命令相同):
|
||||
|
||||
| 命令 | 委托至 | 说明 |
|
||||
| -------------- | --------------- | ----------------------------------------- |
|
||||
| `make install` | `task install` | 安装 pnpm 与 UV 依赖 |
|
||||
| `make run` | `task run` | 通过 UV 运行 MeshChatX |
|
||||
| `make build` | `task build` | 构建前端与后端产物 |
|
||||
| `make lint` | `task lint:all` | ESLint、vue-tsc、knip、Ruff 与 basedpyright |
|
||||
| `make test` | `task test:all` | 运行前端与后端测试 |
|
||||
| `make clean` | `task clean` | 移除构建产物与 node_modules |
|
||||
| 命令 | 委托至 | 说明 |
|
||||
| -------------- | -------------- | ------------------------------------------- |
|
||||
| `make install` | `task install` | 安装 pnpm 与 UV 依赖 |
|
||||
| `make run` | `task run` | 通过 UV 运行 MeshChatX |
|
||||
| `make build` | `task build` | 构建前端与后端产物 |
|
||||
| `make lint` | `task lint` | ESLint、vue-tsc、knip、Ruff 与 basedpyright |
|
||||
| `make test` | `task test` | 运行前端与后端测试 |
|
||||
| `make clean` | `task clean` | 移除构建产物与 node_modules |
|
||||
|
||||
## 版本管理
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue