diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-01-25 20:58:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-25 20:58:39 +0900 |
| commit | 35104d87d5174a080143d3604e50bbef974ab04e (patch) | |
| tree | 4d13ae094258cdf6f5a8a85af7f60712123400a6 /CONTRIBUTING.md | |
| parent | docs: CONTRIBUTING.mdに「Misskey.jsのAPIの型の生成」のセクショ... (diff) | |
| download | sharkey-35104d87d5174a080143d3604e50bbef974ab04e.tar.gz sharkey-35104d87d5174a080143d3604e50bbef974ab04e.tar.bz2 sharkey-35104d87d5174a080143d3604e50bbef974ab04e.zip | |
revert(dev): フロントエンド・バックエンドを分離する開発モードを廃止 (#15284)
* Revert "chore: 開発モードでフロントエンドとバックエンドを独立して起動するようにする(再) (#12593)"
This reverts commit b0039f0946b02777ad99ad8c92f6555792aa8996.
* revert dev command
* revert embed dev
* 消しすぎた
* filesをプロキシするように
* fix chromatic ci
* Revert "filesをプロキシするように"
This reverts commit 41be2548ce82ba408588c5f0dee007c97d026e55.
* fix: configのhostnameでサーバーを起動するように
* fix
* lint
* Update Changelog
* fix
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d721ae60d8..0c63f69cf1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -197,25 +197,10 @@ pnpm dev command. - Server-side source files and automatically builds them if they are modified. Automatically start the server process(es). -- Vite HMR (just the `vite` command) is available. The behavior may be different from production. - Service Worker is watched by esbuild. -- The front end can be viewed by accessing `http://localhost:5173`. -- The backend listens on the port configured with `port` in .config/default.yml. -If you have not changed it from the default, it will be "http://localhost:3000". -If "port" in .config/default.yml is set to something other than 3000, you need to change the proxy settings in packages/frontend/vite.config.local-dev.ts. - -### `MK_DEV_PREFER=backend pnpm dev` -pnpm dev has another mode with `MK_DEV_PREFER=backend`. - -``` -MK_DEV_PREFER=backend pnpm dev -``` - -- This mode is closer to the production environment than the default mode. -- Vite runs behind the backend (the backend will proxy Vite at /vite). +- Vite HMR (just the `vite` command) is available. The behavior may be different from production. +- Vite runs behind the backend (the backend will proxy Vite at /vite and /embed_vite except for websocket used for HMR). - You can see Misskey by accessing `http://localhost:3000` (Replace `3000` with the port configured with `port` in .config/default.yml). -- To change the port of Vite, specify with `VITE_PORT` environment variable. -- HMR may not work in some environments such as Windows. ## Testing You can run non-backend tests by executing following commands: |