pnpm server
danger
Deprecated feature
Gestisce un server store.
Comandi#
pnpm server start#
Avvia un server che esegue interazioni con lo store. Altri comandi invieranno al server qualsiasi attività relativa allo store.
pnpm server stop#
Ferma il server store.
pnpm server status#
Mostra informazioni sul server in esecuzione.
Opzioni#
--background#
- Default: false
- Type: Boolean
Esegue il server in background, in modo simile alla demonizzazione sui sistemi UNIX.
--network-concurrency#
- Default: null
- Type: Number
Il numero massimo di richieste di rete da gestire contemporaneamente.
--protocol#
- Default: auto
- Type: auto, tcp, ipc
Il protocollo di comunicazione utilizzato dal server.
When this is set to auto, IPC is used on all systems except for Windows,
which uses TCP.
--port#
- Default: 5813
- Type: port number
Il numero della porta da utilizzare quando il protocollo TCP è utilizzato per la comunicazione.
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
La cartella da utilizzare per l'archivio indirizzabile del contenuto.
--[no-]lock#
- Default: false
- Type: Boolean
Imposta se rendere l'archivio dei pacchetti immutabile a processi esterni quando il server è in esecuzione.
--ignore-stop-requests#
- Default: false
- Type: Boolean
Prevents you from stopping the server using pnpm server stop.
--ignore-upload-requests#
- Default: false
- Type: Boolean
Impedisce la creazione di una nuova cache indesiderata durante l'installazione.