mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
3.9 KiB
3.9 KiB
id | title |
---|---|
webui | Web User Interface |
Verdaccio has a web user interface to display only the private packages and can be customised to your liking.
web:
enable: true
title: Verdaccio
logo: http://somedomain/somelogo.png
primary_color: "#4b5e40"
gravatar: true | false
scope: "@scope"
sort_packages: asc | desc
darkMode: false
favicon: http://somedomain/favicon.ico | /path/favicon.ico
Sve restrikcije koje se odnose na pristup definisane su u okviru i takođe će se aplicirati i na web interfejs.
The
primary_color
andscope
must be wrapped by quotes: eg: ('#000000' or "#000000")
The primary_color
must be a valid hex representation.
Internationalization
Since v4.5.0, there are translations available.
i18n:
web: en-US
⚠️ Only the languages in this list are available, feel free to contribute with more. The default one is en-US
Konfigurisanje
Svojstvo | Tip | Neophodno | Primer | Podrška | Opis |
---|---|---|---|---|---|
enable | boolean | No | true/false | all | dozvoljava prikaz web interfejsa |
title | string | No | Verdaccio | all | opis naslova HTML zaglavlja |
gravatar | boolean | No | true | >v4 |
Gravatar-i će biti generisani u pozadini, ako je ovo svojstvo omogućeno |
sort_packages | [asc,desc] | No | asc | >v4 |
Po pravilu, privatni paketi su sortirani po rastućem redosledu |
logo | string | Ne | /local/path/to/my/logo.png http://my.logo.domain/logo.png |
all | URI gde se logo nalazi (logo za header) |
primary_color | string | Ne | "#4b5e40" | >4 |
The primary color to use throughout the UI (header, etc) |
scope | string | Ne | @myscope | >v3.x |
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header |
darkMode | boolean | Ne | false | >=v4.6.0 |
This mode is an special theme for those want to live in the dark side |
favicon | string | Ne | false | >=v5.0.1 |
Display a custom favicon, can be local resource or valid url |
The recommended logo size is
40x40
pixels.The
darkMode
can be enabled via UI and is persisted in the browser local storage. Furthermore, also voidprimary_color
and dark cannot be customized.