1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/website/translated_docs/it/plugins.md
verdacciobot e9563ac1fc New Crowdin translations (#995)
* New translations logger.md (Japanese)
docs(website): new translations

* New translations logger.md (French)
docs(website): new translations

* New translations logger.md (German)
docs(website): new translations

* New translations kubernetes.md (Russian)
docs(website): new translations

* New translations kubernetes.md (Russian)
docs(website): new translations

* New translations kubernetes.md (Russian)
docs(website): new translations

* New translations en.json (German)
docs(website): new translations

* New translations en.json (German)
docs(website): new translations

* New translations windows.md (German)
docs(website): new translations

* New translations en.json (German)
docs(website): new translations

* New translations ansible.md (Portuguese, Brazilian)
docs(website): new translations

* New translations auth.md (Portuguese, Brazilian)
docs(website): new translations

* New translations en.json (Portuguese, Brazilian)
docs(website): new translations

* New translations cli.md (Vietnamese)
docs(website): new translations

* New translations docker.md (Vietnamese)
docs(website): new translations

* New translations dev-plugins.md (Vietnamese)
docs(website): new translations

* New translations docker.md (Vietnamese)
docs(website): new translations

* New translations build.md (Portuguese, Brazilian)
docs(website): new translations

* New translations ci.md (Portuguese, Brazilian)
docs(website): new translations

* New translations chef.md (Portuguese, Brazilian)
docs(website): new translations

* New translations auth.md (Portuguese, Brazilian)
docs(website): new translations

* New translations config.md (Portuguese, Brazilian)
docs(website): new translations

* New translations ci.md (Portuguese, Brazilian)
docs(website): new translations

* New translations ansible.md (Italian)
docs(website): new translations

* New translations ansible.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations build.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations build.md (Italian)
docs(website): new translations

* New translations build.md (Italian)
docs(website): new translations

* New translations chef.md (Italian)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations chef.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Spanish)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations build.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Korean)
docs(website): new translations

* New translations config.md (Vietnamese)
docs(website): new translations

* New translations config.md (Hindi)
docs(website): new translations

* New translations config.md (Portuguese)
docs(website): new translations

* New translations config.md (Russian)
docs(website): new translations

* New translations config.md (Spanish)
docs(website): new translations

* New translations config.md (Arabic)
docs(website): new translations

* New translations config.md (Chinese Simplified)
docs(website): new translations

* New translations config.md (Portuguese, Brazilian)
docs(website): new translations

* New translations config.md (Japanese)
docs(website): new translations

* New translations config.md (Polish)
docs(website): new translations

* New translations config.md (French)
docs(website): new translations

* New translations config.md (German)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations chef.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations iis-server.md (Vietnamese)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations docker.md (Portuguese, Brazilian)
docs(website): new translations

* New translations config.md (Portuguese, Brazilian)
docs(website): new translations

* New translations docker.md (Portuguese, Brazilian)
docs(website): new translations

* New translations config.md (Portuguese, Brazilian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations en.json (Italian)
docs(website): new translations

* New translations web.md (Italian)
docs(website): new translations

* New translations web.md (Italian)
docs(website): new translations

* New translations web.md (Italian)
docs(website): new translations

* New translations web.md (Italian)
docs(website): new translations

* New translations config.md (Spanish)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations web.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Chinese Simplified)
docs(website): new translations

* New translations web.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations config.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Chinese Simplified)
docs(website): new translations

* New translations web.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations contributing.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Chinese Simplified)
docs(website): new translations

* New translations install.md (Chinese Simplified)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations install.md (Chinese Simplified)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations repositories.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations logo.md (Chinese Simplified)
docs(website): new translations

* New translations en.json (Chinese Simplified)
docs(website): new translations

* New translations logo.md (Chinese Simplified)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations repositories.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations
2018-09-17 19:43:29 +03:00

6.5 KiB

id title
plugin Plugin

Verdaccio è un'applicazione estensibile. Si può espandere in molti modi, o con nuovi metodi di autenticazione, aggiungendo endpoint o utilizzando un archivio personalizzato.

Se sei interessato a sviluppare il tuo plugin personale, leggi la sezione sviluppo.

Utilizzo

Installazione

$> npm install --global verdaccio-activedirectory

verdaccio essendo un fork di sinopia, ha compatibilità con le versioni precedenti e con plugin che sono compatibili con sinopia@1.4.0. In questo caso l'installazione è la stessa.

$> npm install --global sinopia-memory

Configurazione

Aprire il file config.yaml e aggiornare la sezione auth come segue:

La configurazione predefinita appare così, poiché usiamo un plugin htpasswd incorporato di default che si può disabilitare commentando le seguenti linee.

Configurazione del plugin Auth

 htpasswd:
    file: ./htpasswd
    #max_users: 1000

e sostituendo con (in caso si decida di utilizzare un plugin ldap.

auth:
  activedirectory:
    url: "ldap://10.0.100.1"
    baseDN: 'dc=sample,dc=local'
    domainSuffix: 'sample.local'

Multiple Auth plugins

This is tecnically possible, making the plugin order important, as the credentials will be resolved in order.

auth:
  htpasswd:
    file: ./htpasswd
    #max_users: 1000
  activedirectory:
    url: "ldap://10.0.100.1"
    baseDN: 'dc=sample,dc=local'
    domainSuffix: 'sample.local'

Configurazione del Plugin Middleware

Questo è un esempio di come si configura un plugin middleware. Tutti i plugin middleware devono essere definiti nel namespace middlewares.

middlewares:
  audit:
    enabled: true

Si potrebbe seguire il plugin audit middle come esempio di base.

Configurazione del Plugin Store

Questo è un esempio di come configurare un plugin di archiviazione. Tutti i plugin di archiviazione devono essere definiti nel namespace store.

store:
  memory:
    limit: 1000

Se si definisce uno store personalizzato, la proprietà di archiviazione nel file di configurazione verrà ignorata.

Plugin ereditati

Plugin di Sinopia

(compatibili con tutte le versioni)

All sinopia plugins should be compatible with all future verdaccio versions. Anyhow, we encourage contributors to migrate them to the modern verdaccio API and using the prefix as verdaccio-xx-name.

Verdaccio Plugins

(compatible since 2.1.x)

Authorization Plugins

Middleware Plugins

  • verdaccio-audit: verdaccio plugin for npm audit cli support (built-in) (compatible since 3.x)

  • verdaccio-profile-api: verdacci plugin for npm profile cli support and npm profile set password for verdaccio-htpasswd based authentificaton

Storage Plugins

(compatible since 3.x)

Caveats

Not all these plugins are been tested continuously, some of them might not work at all. Please if you found any issue feel free to notify the owner of each plugin.