pnpm server
危険
Deprecated feature
ストア・サーバーの管理。
コマンド
pnpm server start
ストアサーバーを起動します。これはストアとのすべての対話を実行します。 他のコマンドは、ストア関連のタスクを全てこのサーバーに委任します。
pnpm server stop
ストアサーバーを停止します。
pnpm server status
実行中のサーバーに関する情報を表示します。
Options
--background
- Default: false
 - Type: Boolean
 
UNIXシステムでのデーモン化のように、サーバーをバックグラウンドで実行します。
--network-concurrency
- Default: null
 - Type: Number
 
同時に処理するネットワークリクエストの最大数。
--protocol
- Default: auto
 - Type: auto, tcp, ipc
 
サーバーが使用する通信プロトコル。
When this is set to auto, IPC is used on all systems except for Windows,
which uses TCP.
--port
- Default: 5813
 - Type: port number
 
TCPが通信に使用されるときに使用するポート番号。
If a port is specified and the protocol is set to auto, regardless of system
type, the protocol is automatically set to use TCP.
--store-dir
- Default: <home>/.pnpm-store
 - Type: Path
 
アドレス可能なコンテンツのストアに使用されるフォルダー。
--[no-]lock
- Default: false
 - Type: Boolean
 
サーバーの実行中にパッケージストアを外部プロセスに対して不変にするかどうかを設定します。
--ignore-stop-requests
- Default: false
 - Type: Boolean
 
Prevents you from stopping the server using pnpm server stop.
--ignore-upload-requests
- Default: false
 - Type: Boolean
 
インストール中に新しい不要なキャッシュが作成されるのを防ぎます。