Merge branch 'master' into 4.x

This commit is contained in:
Juan Picado @jotadeveloper 2018-11-15 09:24:17 +01:00 committed by GitHub
commit 821c45934f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
37 changed files with 233 additions and 234 deletions

View File

@ -1,88 +1,88 @@
{
"_comment": "This file is auto-generated by write-translations.js",
"_comment": "Ce fichier est généré automatiquement par write-translations.js",
"localized-strings": {
"next": "Next",
"previous": "Previous",
"tagline": "Verdaccio · A lightweight private npm proxy registry",
"next": "Suivant",
"previous": "Précédent",
"tagline": "Verdaccio · Un journal proxy npm léger et privé",
"ansible": "Ansible",
"authentification": "Authentification",
"build": "Build the source code",
"build": "Compiler le code source",
"chef": "Chef Cookbook",
"ci": "Continuous Integration",
"cli": "Command Line Tool",
"configuration": "Configuration File",
"contributing": "Contributing Verdaccio",
"dev-plugins": "Developing Plugins",
"ci": "Intégration Continue",
"cli": "Outil de Ligne de Commande",
"configuration": "Fichier de Configuration",
"contributing": "Contribuer à Verdaccio",
"dev-plugins": "Développement des Plugins",
"docker": "Docker",
"iss-server": "Installing on IIS server",
"iss-server": "Installation sur le serveur IIS",
"installation": "Installation",
"kubernetes": "Kubernetes",
"logger": "Logger",
"logo": "Verdaccio Logotype",
"logger": "Enregistreur",
"logo": "Logo de Verdaccio",
"node-api": "Node API",
"notifications": "Notifications",
"packages": "Package Access",
"packages": "Paquet d'accès",
"plugins": "Plugins",
"protect-your-dependencies": "Protecting packages",
"protect-your-dependencies": "Protection des paquets",
"puppet": "Puppet",
"source-code": "Source Code",
"reverse-proxy": "Reverse Proxy Setup",
"server-configuration": "Server Configuration",
"ssl": "Set up the SSL Certificates",
"unit-testing": "Unit Testing",
"source-code": "Code Source",
"reverse-proxy": "Configuration du Proxy Inverse",
"server-configuration": "Configuration du Serveur",
"ssl": "Configurer les Certificats SSL",
"unit-testing": "Test unitaire",
"uplinks": "Uplinks",
"use-cases": "Use Cases",
"webui": "Web User Interface2",
"what-is-verdaccio": "What is Verdaccio?",
"windows": "Installing As a Windows Service",
"use-cases": "Cas dutilisation",
"webui": "Interface d'Utilisateur Web2",
"what-is-verdaccio": "Qu'est ce que Verdaccio?",
"windows": "Installation en tant que Service Windows",
"Docs": "Docs",
"Blog": "Blog",
"Help": "Help",
"Help": "Aide",
"GitHub": "GitHub",
"Team": "Team",
"Donate": "Donate",
"Team": "Équipe",
"Donate": "Faire un don",
"Introduction": "Introduction",
"Configuration": "Configuration",
"Server": "Server",
"Server": "Serveur",
"Plugins": "Plugins",
"DevOps": "DevOps",
"Development": "Development",
"Development": "Développement",
"Guides": "Guides"
},
"pages-strings": {
"Learn more using the [documentation on this site.](/docs/en/installation.html)|no description given": "Learn more using the [documentation on this site.](/docs/en/installation.html)",
"Browse Docs|no description given": "Browse Docs",
"Ask questions about the documentation and project|no description given": "Ask questions about the documentation and project",
"Join the community|no description given": "Join the community",
"Find out what's new with this project|no description given": "Find out what's new with this project",
"Stay up to date|no description given": "Stay up to date",
"Need help?|no description given": "Need help?",
"This project is maintained by a dedicated group of people.|statement made to reader": "This project is maintained by a dedicated group of people.",
"Learn more about Verdaccio using the [documentation on this site.](/docs/en/installation.html)|no description given": "Learn more about Verdaccio using the [documentation on this site.](/docs/en/installation.html)",
"You can follow and contact us on|no description given": "You can follow and contact us on",
"and also you can chat with the Verdaccio community at|no description given": "and also you can chat with the Verdaccio community at",
"If the documentation is not enough help, you can try browsing into our|no description given": "If the documentation is not enough help, you can try browsing into our",
"This project is maintained by the Verdaccio community.|no description given": "This project is maintained by the Verdaccio community.",
"Get Started|no description given": "Get Started",
"Contribute|no description given": "Contribute",
"Thats it ! Enjoy your private package manager.|no description given": "Thats it ! Enjoy your private package manager.",
"Many great developers are already enjoying Verdaccio, join the community!|no description given": "Many great developers are already enjoying Verdaccio, join the community!",
"**npm**, **yarn** and **pnpm** are part of any development workflow we try to catch up with the latest updates.|no description given": "**npm**, **yarn** and **pnpm** are part of any development workflow we try to catch up with the latest updates.",
"The most popular npm clients are supported|no description given": "The most popular npm clients are supported",
"We have an official **Docker** image ready to use|no description given": "We have an official **Docker** image ready to use",
"and **Kubernetes Helm** support for easy deployment|no description given": "and **Kubernetes Helm** support for easy deployment",
"Making the DevOps work easy|no description given": "Making the DevOps work easy",
"Verdaccio is plugin based, authentication, middleware and storage support. Just pick one or create your custom one.|no description given": "Verdaccio is plugin based, authentication, middleware and storage support. Just pick one or create your custom one.",
"Plugin Support|no description given": "Plugin Support",
"Who's Using This?|no description given": "Who's Using This?",
"This project is used by all these people|no description given": "This project is used by all these people",
"More|no description given": "More",
"Users|no description given": "Users",
"This project is used by many folks|no description given": "This project is used by many folks",
"Are you using this project? Do not be shy and add your company/project logo.|no description given": "Are you using this project? Do not be shy and add your company/project logo.",
"Add your company|no description given": "Add your company",
"Help Translate|recruit community translators for your project": "Help Translate",
"Edit this Doc|recruitment message asking to edit the doc source": "Edit",
"Translate this Doc|recruitment message asking to translate the docs": "Translate"
"Learn more using the [documentation on this site.](/docs/en/installation.html)|no description given": "En savoir plus à laide de la [documentation sur ce site.] (/docs/en/installation.html)",
"Browse Docs|no description given": "Parcourir les Docs",
"Ask questions about the documentation and project|no description given": "Posez des questions sur la documentation et le projet",
"Join the community|no description given": "Rejoignez la communauté",
"Find out what's new with this project|no description given": "Découvrez les nouveautés de ce projet",
"Stay up to date|no description given": "Restez à jour",
"Need help?|no description given": "Besoin daide?",
"This project is maintained by a dedicated group of people.|statement made to reader": "Ce projet est soutenu par un groupe de personnes dévouées.",
"Learn more about Verdaccio using the [documentation on this site.](/docs/en/installation.html)|no description given": "En savoir plus sur Verdaccio en utilisant la [documentation sur ce site.] (/docs/en/installation.html)",
"You can follow and contact us on|no description given": "Vous pouvez nous suivre et nous contacter sur",
"and also you can chat with the Verdaccio community at|no description given": "et aussi vous pouvez discuter avec la communauté Verdaccio sur",
"If the documentation is not enough help, you can try browsing into our|no description given": "Si la documentation noffre pas assez daides, vous pouvez essayer la navigation dans notre",
"This project is maintained by the Verdaccio community.|no description given": "Ce projet est soutenu par la communauté Verdaccio.",
"Get Started|no description given": "Commencer",
"Contribute|no description given": "Contribuer",
"Thats it ! Enjoy your private package manager.|no description given": "Voilà ! Profitez de votre gestionnaire de paquets privé.",
"Many great developers are already enjoying Verdaccio, join the community!|no description given": "Beaucoup de grands développeurs jouissent déjà de Verdaccio, rejoignez la communauté!",
"**npm**, **yarn** and **pnpm** are part of any development workflow we try to catch up with the latest updates.|no description given": "**npm**, **yarn** et **pnpm** font partie de tous les flux de développement que nous essayons de suivre avec les dernières mises à jour.",
"The most popular npm clients are supported|no description given": "Les clients npm les plus populaires sont supportés",
"We have an official **Docker** image ready to use|no description given": "Nous disposons d'une image **Docker** officielle prête à l'emploi",
"and **Kubernetes Helm** support for easy deployment|no description given": "et assistance pour **Kubernetes Helm** pour une distribution aisée",
"Making the DevOps work easy|no description given": "Rendant le travail des DevOps facile",
"Verdaccio is plugin based, authentication, middleware and storage support. Just pick one or create your custom one.|no description given": "Verdaccio est basé sur les extensions, lauthentification, et le support des middlewares et du stockage. Choisissez-en un ou créez le vôtre.",
"Plugin Support|no description given": "Support des Plugins",
"Who's Using This?|no description given": "Qui se sert de cela?",
"This project is used by all these people|no description given": "Ce projet est utilisé par tous ces gens",
"More|no description given": "Plus",
"Users|no description given": "Utilisateurs",
"This project is used by many folks|no description given": "Ce projet est utilisé par beaucoup de gens",
"Are you using this project? Do not be shy and add your company/project logo.|no description given": "Utilisez-vous ce projet? Ne soyez pas timide et ajoutez le logo de votre entreprise/projet.",
"Add your company|no description given": "Ajoutez votre entreprise",
"Help Translate|recruit community translators for your project": "Aidez à traduire",
"Edit this Doc|recruitment message asking to edit the doc source": "Editer",
"Translate this Doc|recruitment message asking to translate the docs": "Traduire"
}
}

View File

@ -12,7 +12,7 @@
"cli": "Command Line Tool",
"configuration": "Configuration File",
"contributing": "Doprinos razvoju Verdaccio-a",
"dev-plugins": "Razvijanje Pligina",
"dev-plugins": "Razvijanje Plugina",
"docker": "Docker",
"iss-server": "Instaliranje na IIS server",
"installation": "Instalacija",

View File

@ -1,12 +1,12 @@
---
id: webui
title: "Web User Interface"
title: "Interface d'Utilisateur Web"
---
<p align="center"><img src="https://github.com/verdaccio/verdaccio/blob/master/assets/gif/verdaccio_big_30.gif?raw=true"></p>
Verdaccio has a web user interface to display only the private packages and can be customisable.
Verdaccio dispoe d'une interface d'utilisateur web pour afficher uniquement les paquets privés et qui peut être personnalisée.
```yaml
web:
@ -16,13 +16,13 @@ web:
scope:
```
All access restrictions defined to [protect your packages](protect-your-dependencies.md) will also apply to the Web Interface.
Toutes les restrictions d'accès définies pour la [protection des pacquets](protect-your-dependencies.md) s'appliquent également à l'Interface Web.
### Configuration
| Property | Type | Required | Example | Support | Description |
| -------- | ------- | -------- | ------------------------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| enable | boolean | No | true/false | all | allow to display the web interface |
| title | string | No | Verdaccio | all | HTML head title description |
| logo | string | No | http://my.logo.domain/logo.png | all | a URI where logo is located |
| scope | string | No | \\@myscope | all | If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header (note: escape @ with \\@) |
| Propriété | Type | Obligatoire | Exemple | Soutien | Description |
| --------- | -------------------- | ----------- | ------------------------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| enable | booléenne | Non | vrai/faux | tous | permettre laffichage de linterface web |
| titre | chaîne de caractères | Non | Verdaccio | tous | Description du titre HTML |
| logo | chaîne de caractères | Non | http://my.logo.domain/logo.png | tous | un URI où se trouve le logo |
| scope | chaîne de caractères | Non | \\@myscope | tous | Si vous utilisez ce registre pour un modul spécifique, définissez le dans l'en-tête des instructions de l'interface Web de l'utilisateur (note: escape @ with \\@) |

View File

@ -1,52 +1,52 @@
---
id: what-is-verdaccio
title: "What is Verdaccio?"
title: "C'est quoi Verdaccio?"
---
Verdaccio is a **lightweight private npm proxy registry** built in **Node.js**
Verdaccio est un **journal proxy npm léger et privé** écrit dans **Node.js**
## What's a registry
## Qu'est-ce qu'un journal
* A repository for packages that implements the **CommonJS Compliant Package Registry specification** for reading package info
* Provide an API compatible with npm clients **(yarn/npm/pnpm)**
* Follow the semantic Versioning compatible **(semver)**
* Référentiel des paquets qui implémentent la **spécification CommonJS Compliant Package Registry** pour la lecture des informations sur les paquets
* Fournit un API compatible avec les clients npm **(yarn/npm/pnpm)**
* Suit le contrôle de version compatible sémantique **(semver)**
$> verdaccio
![registry](/svg/verdaccio_server.gif)
## Using Verdaccio
## Utilisation de Verdaccio
Using verdaccio with any node package manager client is quite straightforward.
L'utilisation de verdaccio avec n'importe quel gestionnaire de paquets de poste client est très simple.
![registry](/svg/npm_install.gif)
You can use a custom registry either setting globally for all your projects
Vous pouvez utiliser un registre personnalisé ou le configurer de manière général pour tous vos projets
npm set registry http://localhost:4873
or by command line as argument `--registry` in npm (slightly different in yarn)
ou depuis la ligne de commande comme argument `--registry` dans npm (légèrement différent dans yarn)
npm install lodash --registry http://localhost:4873
## Private
## Privé
All packages that you publish are private and only accessible based in your configuration.
Tous les paqutes que vous publiez sont privés et accessibles uniquement sur la base de votre configuration.
## Proxy
Verdaccio cache all dependencies by demand and speed up installations in local or private networks.
Verdaccio stocke toutes les dépendances sur demande et accélère les installations au niveau des réseaux locaux ou privés.
## Verdaccio in a nutshell
## Verdaccio en quelques mots
* It's a web app based on Node.js
* It's a private npm registry
* It's a local network proxy
* It's a Pluggable application
* It's a fairly easy install and use
* We offer Docker and Kubernetes support
* It is 100% compatible with yarn, npm and pnpm
* It was **forked** based on `sinopia@1.4.0` and 100% **backward compatible**.
* Verdaccio means **A green color popular in late medieval Italy for fresco painting**.
* C'est une application web basée sur Node.js
* C'est un registre npm privé
* C'est un réseau local proxy
* C'est une application extensible
* Il est assez facile à installer et à utiliser
* Nous offrons un soutien Docker et Kubernetes
* Il est 100% compatible avec les yarn, npm et pnpm
* Il s'agit d'un **fork** basé sur `sinopia@1.4.0` et 100% **rétrocompatible**.
* Le nom Verdaccio vient d'**Une nuance de vert populaire dans lItalie médiévale tardive et utilisée pour les fresques**.

View File

@ -1,51 +1,51 @@
---
id: windows
title: "Installing As a Windows Service"
title: "Installation en tant que service Windows"
---
Loosely based upon the instructions found [here](http://asysadmin.tumblr.com/post/32941224574/running-nginx-on-windows-as-a-service). I crafted the following and it provided me with a fully working verdaccio service installation:
Librement basé sur les instructions trouvées [ici](http://asysadmin.tumblr.com/post/32941224574/running-nginx-on-windows-as-a-service). J'ai élaboré ce qui suit, ce qui m'a fourni un service d'installation de verdaccio entièrement fonctionnel:
1. Create a directory for verdaccio
1. Créer un répertoire pour verdaccio
* mkdir `c:\verdaccio`
* cd `c:\verdaccio`
2. Install verdaccio locally (I ran into npm issues with global installs)
2. Installer verdaccio localement (j'ai rencontré des problèmes avec npm avec des installations générales)
* npm install verdaccio
3. Create your `config.yaml` file in this location `(c:\verdaccio\config.yaml)`
4. Windows Service Setup
3. Créer votre fichier `confi.yaml` dans cet emplacement `(c:\verdaccio\config.yaml)`
4. Configurer le service Windows
## Using NSSM
## Utilisation de NSSM
ALTERNATIVE METHOD: (WinSW package was missing when I tried to download it)
MÉTHODE ALTERNATIVE: (le paquet WinSW n'était pas présent lorsque j'ai essayé de le télécharger)
* Download [NSSM](https://www.nssm.cc/download/) and extract
* Téléchargez puis extrayez [NSSM](https://www.nssm.cc/download/)
* Add the path that contains nssm.exe to the PATH
* Ajoutez le chemin qui contient nssm.exe au PATH
* Open an administrative command
* Ouvrez une commande administrative
* Run nssm install verdaccio At a minimum you must fill in the Application tab Path, Startup directory and Arguments fields. Assuming an install with node in the system path and a location of c:\verdaccio the below values will work:
* Exécutez nssm install verdaccio. Vous devez au moins entrer le dossier de démarrage et les champs Arguments dans le chemin de l'onglet Application. En supposant une installation avec noeud dans le chemin système et un emplacement de c:\verdaccio, les valeurs ci-dessous fonctionneront:
* Path: `node`
* Startup directory: `c:\verdaccio`
* Répertoire de démarrage: `c:\verdaccio`
* Arguments: `c:\verdaccio\node_modules\verdaccio\build\lib\cli.js -c c:\verdaccio\config.yaml`
You can adjust other service settings under other tabs as desired. When you are done, click Install service button
Si vous le souhaitez, il est possible d'adapter d'autres configurations de service sous d'autres onglets. Une fois terminé, cliquez sur le bouton d'installation
* Start the service sc start verdaccio
* Démarrer le service sc start verdaccio
## Using WinSW
## Utilisation de WinSW
* As of 2015-10-27, WinSW is no longer available at the below location. Please follow the Using NSSM instructions above.
* Download [WinSW](http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/)
* Place the executable (e.g. `winsw-1.9-bin.exe`) into this folder (`c:\verdaccio`) and rename it to `verdaccio-winsw.exe`
* Create a configuration file in `c:\verdaccio`, named `verdaccio-winsw.xml` with the following configuration `xml verdaccio verdaccio verdaccio node c:\verdaccio\node_modules\verdaccio\src\lib\cli.js -c c:\verdaccio\config.yaml roll c:\verdaccio`.
* Install your service
* À compter du 27/10/2015, WinSW n'est plus disponible à l'emplacement suivant. Veuillez suivre les instructions d'utilisation NSSM écrites ci-dessus.
* Téléchargez [WinSW](http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/)
* Placez l'exécutable (par exemple `winsw-1.9-bin.exe`) dans ce dossier (`c:\verdaccio`) et renommez-le `verdaccio-winsw.exe`
* Créez un fichier de configuration dans `c:\verdaccio`, nommé `verdaccio-winsw.xml` avec la configuration suivante`xml verdaccio verdaccio verdaccio node c:\verdaccio\node_modules\verdaccio\src\lib\cli.js -c c:\verdaccio\config.yaml roll c:\verdaccio`.
* Installez votre service
* `cd c:\verdaccio`
* `verdaccio-winsw.exe install`
* Start your service
* Démarrez votre service
* `verdaccio-winsw.exe start`
Some of the above config is more verbose than I had expected, it appears as though 'workingdirectory' is ignored, but other than that, this works for me and allows my verdaccio instance to persist between restarts of the server, and also restart itself should there be any crashes of the verdaccio process.
Certaines des configurations ci-dessus sont plus détaillées que prévu. Il semble cependant que le 'workingdirectory' soit ignoré, à part cela, ceci fonctionne et permet, dans mon cas, que Verdaccio continue de fonctionner entre les redémarrages du serveur, en plus il redémarre de manière autonome en cas déchec du processus de verdaccio.
## Repositories
## Référentiels
* [verdaccio-deamon-windows](https://github.com/davidenke/verdaccio-deamon-windows)

View File

@ -11,33 +11,33 @@ Per ulteriori informazioni sui permessi, visita [la sezione autenticazione nella
### Utilizzo
```yalm
packages:
# scoped packages
'@scope/*':
access: $all
publish: $all
pacchetti:
# packages con scopo
'@scopo/*':
accesso: $all
pubblicare: $all
proxy: server2
'private-*':
access: $all
publish: $all
'privato-*':
accessso: $all
pubblicare: $all
proxy: uplink1
'**':
# allow all users (including non-authenticated users) to read and
# publish all packages
access: $all
publish: $all
# consenti a tutti gli utenti (inclusi gli utenti non autenticati) di leggere e
# pubblicare tutti i pacchetti
accesso: $all
pubblicare: $all
proxy: uplink2
```
se non ne viene specificato nemmeno uno, rimane quello predefinito
```yaml
packages:
pacchetti:
'**':
access: $all
publish: $authenticated
accessso: $all
pubblicare: $authenticated
```
La lista di gruppi validi a seconda dei plugin predefiniti è
@ -56,10 +56,10 @@ Tutti gli utenti ricevono tutti questi gruppi di permessi indipendentemente dal
Se si desidera proteggere un insieme specifico di pacchetti dentro al proprio gruppo, è necessario fare qualcosa simile a questo. Utilizziamo un `Regex` che copra tutti i pacchetti con prefisso `npmuser-`. Raccomandiamo di utilizzare un prefisso per i pacchetti, in modo che possa essere più semplice proteggerli.
```yaml
packages:
pacchetti:
'npmuser-*':
access: npmuser
publish: npmuser
accessso: npmuser
pubblicare: npmuser
```
Riavviare `verdaccio` e provare ad installare `npmuser-core` nella console.
@ -96,11 +96,11 @@ Definire gruppi di accesso multipli è abbastanza facile, è sufficiente disting
Se si desidera bloccare l'accesso/pubblicazione ad uno specifico gruppo di pacchetti, è sufficiente non definire `access` e `publish`.
```yaml
packages:
'old-*':
pacchetti:
'vecchio-*':
'**':
access: $all
publish: $authenticated
accesso: $all
pubblicare: $authenticated
```
#### Bloccare l'inoltro di un gruppo di pacchetti specifici
@ -110,19 +110,19 @@ Si potrebbe voler impedire che uno o vari pacchetti vengano raggiunti dai regist
Vediamo l'esempio seguente:
```yaml
packages:
pacchetti:
'jquery':
access: $all
publish: $all
'my-company-*':
access: $all
publish: $authenticated
'@my-local-scope/*':
access: $all
publish: $authenticated
accesso: $all
pubblicare: $all
'mia-azienda-*':
accessso: $all
pubblicare: $authenticated
'@mio-locale-scopo/*':
accesso: $all
pubblicare: $authenticated
'**':
access: $all
publish: $authenticated
accesso: $all
pubblicare: $authenticated
proxy: npmjs
```

View File

@ -115,14 +115,14 @@ store:
### Plugin di autorizzazione
* [verdaccio-bitbucket](https://github.com/idangozlan/verdaccio-bitbucket): plugin di autenticazione di Bitbucket per verdaccio.
* [verdaccio-bitbucket-server](https://github.com/oeph/verdaccio-bitbucket-server): Bitbucket Server authentication plugin for verdaccio.
* [verdaccio-ldap](https://www.npmjs.com/package/verdaccio-ldap): LDAP auth plugin for verdaccio.
* [verdaccio-active-directory](https://github.com/nowhammies/verdaccio-activedirectory): Active Directory authentication plugin for verdaccio
* [verdaccio-gitlab](https://github.com/bufferoverflow/verdaccio-gitlab): use GitLab Personal Access Token to authenticate
* [verdaccio-gitlab-ci](https://github.com/lab360-ch/verdaccio-gitlab-ci): Enable GitLab CI to authenticate against verdaccio.
* [verdaccio-htpasswd](https://github.com/verdaccio/verdaccio-htpasswd): Auth based on htpasswd file plugin (built-in) for verdaccio
* [verdaccio-github-oauth](https://github.com/aroundus-inc/verdaccio-github-oauth): Github oauth authentication plugin for verdaccio.
* [verdaccio-github-oauth-ui](https://github.com/n4bb12/verdaccio-github-oauth-ui): GitHub OAuth plugin for the verdaccio login button.
* [verdaccio-bitbucket-server](https://github.com/oeph/verdaccio-bitbucket-server): Plugin di autenticazione Bitbucket Server per verdaccio.
* [verdaccio-ldap](https://www.npmjs.com/package/verdaccio-ldap): LDAP auth plugin per verdaccio.
* [verdaccio-active-directory](https://github.com/nowhammies/verdaccio-activedirectory): Plugin di autenticazione Active Directory per verdaccio
* [verdaccio-gitlab](https://github.com/bufferoverflow/verdaccio-gitlab): utilizza il Token di Accesso Personale di GitLab per autenticare
* [verdaccio-gitlab-ci](https://github.com/lab360-ch/verdaccio-gitlab-ci): Abilitare GitLab CI per l'autenticazione con verdaccio.
* [verdaccio-htpasswd](https://github.com/verdaccio/verdaccio-htpasswd): Auth basato sul file di plugin htpasswd (interno) per verdaccio
* [verdaccio-github-oauth](https://github.com/aroundus-inc/verdaccio-github-oauth): Plugin di autenticazione Github oauth per verdaccio.
* [verdaccio-github-oauth-ui](https://github.com/n4bb12/verdaccio-github-oauth-ui): Plugin GitHub OAuth per il bottone di login di verdaccio.
### Plugin di Middleware

View File

@ -1,6 +1,6 @@
---
id: webui
title: "Web User Interface"
title: "Interfaccia utente web"
---

View File

@ -21,7 +21,7 @@ registry=http://localhost:5555/
#### Anonimowa publikacja
`verdaccio`allows you to enable anonymous publish, to achieve that you will need to set up correctly your [packages access](packages.md).
`verdaccio` pozwala włączyć anonimowe publikowania, aby to osiągnąć, musisz poprawnie ustawić swój <a [dostęp do pakietów](packages.md).
Eg:
@ -32,7 +32,7 @@ Eg:
proxy: npmjs
```
As is described [on issue #212](https://github.com/verdaccio/verdaccio/issues/212#issuecomment-308578500) until `npm@5.3.0` and all minor releases **won't allow you publish without a token**. Jednakże `yarn` nie posiada takich ograniczeń.
Zgodnie z opisem [w sprawie #212](https://github.com/verdaccio/verdaccio/issues/212#issuecomment-308578500) aż do `npm@5.3.0` i wszystkie drobne wersje **nie pozwolą ci publikować bez tokenu**. Jednakże `yarn` nie posiada takich ograniczeń.
## Domyślne htpasswd

View File

@ -2,7 +2,7 @@
id: cli
title: "Narzędzie wiersza poleceń"
---
The verdaccio CLI is your go start the application.
Verdaccio CLI to Twój start, aby uruchomić aplikację.
## Komendy
@ -17,7 +17,7 @@ verdaccio --listen 4000 --config ~./config.yaml
## Domyślna lokalizacja pliku konfiguracyjnego
To locate the home directory, we rely on **$XDG_DATA_HOME** as a first choice and Windows environment we look for [APPDATA environment variable](https://www.howtogeek.com/318177/what-is-the-appdata-folder-in-windows/).
Aby znaleźć katalog osobisty, polegamy na **$XDG_DATA_HOME** pierwszym wyborze i środowisku Windows, którego szukamy [APPDATA environment variable](https://www.howtogeek.com/318177/what-is-the-appdata-folder-in-windows/).
## Domyślna lokalizacja magazynu danych

View File

@ -1,5 +1,5 @@
---
id: configuration
id: konfiguracja
title: "Plik konfiguracyjny"
---
Plik ten jest podstawą verdaccio, ponieważ to w nim możesz modyfikować domyślne zachowanie aplikacji, rozszerzać jej funkcje oraz włączać wtyczki.
@ -8,7 +8,7 @@ Domyślny plik konfiguracyjny jest tworzony, gdy po raz pierwszy uruchomisz `ver
## Podstawowa konfiguracja
The default configuration has support for **scoped** packages and allow any user to access all packages but only **authenticated users to publish**.
Domyślna konfiguracja obsługuje pakiety **o zakresie** i umożliwia każdemu użytkownikowi dostęp do wszystkich pakietów, ale tylko **uwierzytelnionych użytkowników do publikowania**.
```yaml
storage: ./storage
@ -31,7 +31,7 @@ logs:
## Sekcje
The following sections explain what each property means and the different options.
Poniższe sekcje wyjaśniają, co oznacza każda właściwość i różne opcje.
### Magazyn danych
@ -43,7 +43,7 @@ storage: ./storage
### Wtyczki
Is the location of the plugin directory. Useful for Docker/Kubernetes based deployments.
Jest lokalizacja katalogu wtyczek. Przydatny w przypadku wdrożeń opartych na Docker/Kubernetes.
```yaml
plugins: ./plugins
@ -62,7 +62,7 @@ auth:
### Internetowy interfejs użytkownika
This property allow you to modify the look and feel of the web UI. For more information about this section read the [web ui page](web.md).
Ta właściwość pozwala Ci zmienić wygląd internetowego interfejsu użytkownika.. Więcej informacji na temat tej sekcji można znaleźć na stronie [internetowego interfejsu użytkownika](web.md).
```yaml
web:
@ -74,7 +74,7 @@ web:
### Uplinks
Uplinks is the ability of the system to fetch packages from remote registries when those packages are not available locally. For more information about this section read the [uplinks page](uplinks.md).
Uplinks to zdolność systemu do pobierania pakietów ze zdalnych rejestrów, gdy pakiety te nie są dostępne lokalnie. Więcej informacji na temat tej sekcji można znaleźć na [stronie uplinks](uplinks.md).
```yaml
uplinks:
@ -84,7 +84,7 @@ uplinks:
### Packages
Packages allow the user to control how the packages are gonna be accessed. For more information about this section read the [packages page](packages.md).
Pakiety pozwalają użytkownikowi kontrolować, w jaki sposób pakiety będą dostępne. Więcej informacji na temat tej sekcji można znaleźć na [stronie pakietów](packages.md).
```yaml
packages:

View File

@ -20,7 +20,7 @@ Wszyscy posiadamy różne umiejętności, więc zobaczmy w czym czujesz się kom
### Znam lub chcę się nauczyć Node.js
Node.js jest podstawą `verdaccio`, używamy bibliotek takich jak `express`, `commander`, `request` lub `async`. Verdaccio is basically a Rest API that create a communication with `npm` clients compatible, as `yarn`.
Node.js jest podstawą `verdaccio`, używamy bibliotek takich jak `express`, `commander`, `request` lub `async`. Verdaccio to w zasadzie Rest API, które tworzy komunikację z `npm` klientami zgodnymi, jak `yarn`.
Posiadamy długą [listę wtyczek](plugins.md) gotową do użycia oraz rozwijania, ale również możesz [stworzyć swoją własną](dev-plugins.md).
@ -34,7 +34,7 @@ Of course, we will be happy to help us improving the stack, you can upgrade depe
Tutaj jest kilka pomysłów:
* Create a common eslint rules to be used across all dependencies or plugins
* Utwórz wspólne reguły eslint, które będą używane we wszystkich zależnościach lub wtyczkach
* Improve Flow types definitions delivery
* Moving to Webpack 4
* Improve hot reload with Webpack
@ -71,7 +71,7 @@ Przygotowaliśmy projekt, w którym możesz wybrać swój ulubiony język, jeśl
Jeśli myślisz *"Widziałem już [repozytoria](repositories.md) i jestem gotów zacząć od razu"*, wtedy mam dla Ciebie dobrą wiadomość, która znajduje się w następnym kroku.
You will need learn how to build, [we have prepared a guide just for that](build.md).
Będziesz potrzebował nauczyć się budować, [przygotowaliśmy dla ciebie poradnik](build.md).
Gdy zapoznasz się ze wszystkimi skryptami i będziesz wiedział jak ich używać, będziesz gotów do następnego kroku, uruchom [**Test jednostek**](test.md).

View File

@ -26,7 +26,7 @@ interface IPluginAuth extends IPlugin {
}
```
> Only `adduser`, `allow_access` and `allow_publish` are optional, verdaccio provide a fallback in all those cases.
> Tylko `dduser`, `allow_access` i `allow_publish` są opcjonalne, verdaccio zapewnia cofnięcie we wszystkich tych przypadkach.
#### Callback
@ -44,7 +44,7 @@ callback(null, false)
Uwierzytelnianie zakończone sukcesem.
`groups` is an array of strings where the user is part of.
`grupy` to tablica ciągów znaków, w których użytkownik jest częścią.
callback(null, groups);
@ -90,11 +90,11 @@ auth:
file: ./htpasswd
```
Where `htpasswd` is the sufix of the plugin name. eg: `verdaccio-htpasswd` and the rest of the body would be the plugin configuration params.
Gdzie `htpasswd` jest przyrostkiem nazwy wtyczki. np: `verdaccio-htpasswd`, a reszta będzie parametrem konfiguracyjnym wtyczki.
## Wtyczka oprogramowania pośredniego
Middleware plugins have the capability to modify the API layer, either adding new endpoints or intercepting requests.
Wtyczki pośrednie mają możliwość modyfikowania warstwy API, dodając nowe punkty końcowe lub przechwytywania żądań.
```flow
interface verdaccio$IPluginMiddleware extends verdaccio$IPlugin {
@ -104,7 +104,7 @@ interface verdaccio$IPluginMiddleware extends verdaccio$IPlugin {
### register_middlewares
The method provide full access to the authentification and storage via `auth` and `storage`. `app` is the express application that allows you to add new endpoints.
Metoda zapewnia pełny dostęp do uwierzytelniania i przechowywania za pomocą `auth` i `storage`. `app` to ekspresowa aplikacja, która pozwala dodawać nowe punkty końcowe.
> A pretty good example of middleware plugin is the [sinopia-github-oauth](https://github.com/soundtrackyourbrand/sinopia-github-oauth) and [verdaccio-audit](https://github.com/verdaccio/verdaccio-audit).
@ -116,7 +116,7 @@ function register_middlewares(expressApp, authInstance, storageInstance) {
}
```
Aby zarejestrować oprogramowanie pośrednie potrzebujemy obiekt z pojedynczą metodą `register_middlewares`, która otrzyma 3 argumenty (`expressApp, auth, storage`). *Auth* is the authentification instance and *storage* is also the main Storage instance that will give you have access to all to the storage actions.
Aby zarejestrować oprogramowanie pośrednie potrzebujemy obiekt z pojedynczą metodą `register_middlewares`, która otrzyma 3 argumenty (`expressApp, auth, storage`). *Auth* to instancja uwierzytelniania, a *storage* to także główna instancja Storage, która zapewnia dostęp do wszystkich działań związanych z pamięcią masową.
## Wtyczka magazynu danych

View File

@ -2,7 +2,6 @@
id: ansible
title: "Ansible"
---
U okviru naše organizacije, nudimo prilagođena rešenja za `verdaccio`.
<https://github.com/verdaccio/ansible-verdaccio>

View File

@ -4,7 +4,7 @@ title: "Autentifikacija"
---
Autentifikacija je vezana za auth [plugin](plugins.md) koji koristite. Ograničenja paketa su definisana preko [Package Access](packages.md).
Autentifikaciju klijenta vrši sam `npm` klijent. Nakon prijave na alikaciju:
Autentifikaciju klijenta vrši sam `npm` klijent. Nakon prijave na aplikaciju:
```bash
npm adduser --registry http://localhost:4873
@ -49,7 +49,7 @@ auth:
| Svojstvo | Tip | Neophodno | Primer | Podrška | Opis |
| --------- | ------ | --------- | ---------- | ------- | -------------------------------------- |
| file | string | Da | ./htpasswd | all | file koji sadrži šivrovane credentials |
| file | string | Da | ./htpasswd | all | file koji sadrži šifrovane credentials |
| max_users | number | Ne | 1000 | all | podešava maksimalni broj korisnika |
Ako se odlučite na to da ne dozvolite korisnicima da se prijave, možete podesiti `max_users: -1`.

View File

@ -43,7 +43,7 @@ storage: ./storage
### Plugins
Je lokacija plugin directorijuma. Ovo je korisno za deployment baiziran na Docker/Kubernetes.
Je lokacija plugin directorijuma. Ovo je korisno za deployment baziran na Docker/Kubernetes.
```yaml
plugins: ./plugins

View File

@ -47,7 +47,7 @@ Mnogi saradnici imaju dar za pronalaženje grešaka u kucanju i gramatičkih gre
### Ja sam Dizajner
Frontend našeg website <http://www.verdaccio.org/> bi bio jako srećan da vidi u usvoji neku od Vaših ideja.
Frontend našeg website <http://www.verdaccio.org/> bi bio jako srećan da vidi i usvoji neku od Vaših ideja.
Inače, naš sajt je baziran na [Docusaurus](https://docusaurus.io/).
@ -63,7 +63,7 @@ Verdaccio stremi ka tome da bude dostupan na što više jezika. Kako bismo to po
<img src="https://d3n8a8pro7vhmx.cloudfront.net/uridu/pages/144/attachments/original/1485948891/Crowdin.png" width="400px" />
Postavili smo projekt tako da možete da odaberete svoj omiljeni jezik, a ako ga ne pronađete na listi, slobodno zatažite da ga dodamo tako što ćete nam [poslati poruku (ticket)](https://github.com/verdaccio/verdaccio/issues/new).
Postavili smo projekat tako da možete da odaberete svoj omiljeni jezik, a ako ga ne pronađete na listi, slobodno zatražite da ga dodamo tako što ćete nam [poslati poruku (ticket)](https://github.com/verdaccio/verdaccio/issues/new).
[Pravac na Crowdin Verdaccio](https://crowdin.com/project/verdaccio)

View File

@ -12,7 +12,7 @@ Ima mnogo načina da proširite `verdaccio`, tipovi podržanih plugin-a su:
## Authentication Plugin
U suštini treba da vratimo objekt korišćenjem metode zvane `authenticate` koja prima 3 argumenta (`user, password, callback`).
U suštini treba da vratimo objekat korišćenjem metode zvane `authenticate` koja prima 3 argumenta (`user, password, callback`).
### API

View File

@ -144,7 +144,7 @@ Ako želite da koristite docker image na rpi ili kompatibilnom uređaju, postoji
npm run build:docker:rpi
```
Primite k znanju da za svaku docker komandu morate imati na svojoj mašini instaliran docker zajedno sa docker executable koja mora biti dostuna na `$PATH`.
Primite k znanju da za svaku docker komandu morate imati na svojoj mašini instaliran docker zajedno sa docker executable koja mora biti dostupna na `$PATH`.
## Docker Primeri

View File

@ -32,7 +32,7 @@ yarn global add verdaccio
## Osnovna upotreba
Jednom kada se instalita, sve što treba je da izvršite CLI komandu:
Jednom kada se instalira, sve što treba je da izvršite CLI komandu:
```bash
$> verdaccio

View File

@ -16,7 +16,7 @@ helm init
### Instaliranje
Deploy Helm [stable/verdaccio](https://github.com/kubernetes/charts/tree/master/stable/verdaccio) chart. U ovom primeru koristimo `npm` kao ime izdanja (release nam):
Deploy Helm [stable/verdaccio](https://github.com/kubernetes/charts/tree/master/stable/verdaccio) chart. U ovom primeru koristimo `npm` kao ime izdanja (release name):
```bash
helm install --name npm stable/verdaccio

View File

@ -34,7 +34,7 @@ Posebno se zahvaljujemo *[@Lisapressmar](https://github.com/Lisapressmar)* za nj
![svg format, simbol bez teksta](/img/logo/symbol/svg/verdaccio-tiny.svg)
### Crno-Belo
### Crno&Belo
![simbol, bw, mali](/img/logo/symbol/png/verdaccio-blackwhite.png)

View File

@ -141,7 +141,7 @@ Primer:
### Package Published
Možete pristupiti opciji package is being published pomoću ključe reči `{{publishedPackage}}` na sledeći način.
Možete pristupiti opciji package is being published pomoću ključne reči `{{publishedPackage}}` na sledeći način.
{{ publisher.name }} has published {{publishedPackage}}"}

View File

@ -60,7 +60,7 @@ auth:
### Middleware Plugin Configuration
Ovo je primer koji pokzuje kako treba da podesite middleware plugin. Svi middleware plugini moraju biti definisani u **middlewares** namespace.
Ovo je primer koji pokazuje kako treba da podesite middleware plugin. Svi middleware plugini moraju biti definisani u **middlewares** namespace.
```yaml
middlewares:
@ -72,7 +72,7 @@ middlewares:
### Store Plugin Configuration
Ovo je primer koji pokzuje kako treba da podesite storage plugin. Svi storage plugini moraju se definisati u **store** namespace.
Ovo je primer koji pokazuje kako treba da podesite storage plugin. Svi storage plugini moraju se definisati u **store** namespace.
```yaml
store:
@ -132,7 +132,7 @@ store:
### Storage Plugins
(kompatibilani od verzije 3.x)
(kompatibilni od verzije 3.x)
* [verdaccio-memory](https://github.com/verdaccio/verdaccio-memory) Storage plugin za hostovanje paketa u Memory
* [verdaccio-s3-storage](https://github.com/remitly/verdaccio-s3-storage) Storage plugin za hostovanje paketa na **Amazon S3**

View File

@ -26,7 +26,7 @@ Dale, prijavljen sam kao **teamD**. Ne bi trebalo da budem u mogućnosti da pris
teamD
```
**Neću imati pristup do svih dependencies-a i takođe neću biti vidljiv preko weba za korisnika **teamD**. Ako pokušam da pristupip, dogodiće se sledeće.</p>
**Neću imati pristup do svih dependencies-a i takođe neću biti vidljiv preko weba za korisnika **teamD**. Ako pokušam da pristupim, dogodiće se sledeće.</p>
```bash
➜ npm install my-company-core

View File

@ -83,6 +83,6 @@ location ~ ^/verdaccio/(.*)$ {
}
```
U ovom slučaju, `url_prefix` treba setuje `/verdaccio/`
U ovom slučaju, `url_prefix` treba podesiti na `/verdaccio/`
> Napomena: Postoji Slash posle putanje za instalaciju (`https://your-domain:port/verdaccio/`)!

View File

@ -19,11 +19,11 @@ $ sudo su verdaccio
$ cd ~
```
Komanda 'cd ~' šalje Vas do home direktorijuma verdaccio korinika. Postarajte se da pokrenete verdaccio barem jednom kako biste generisali config fajl. Modifikujte ga prema svojim potrebama.
Komanda 'cd ~' šalje Vas do home direktorijuma verdaccio korisnika. Postarajte se da pokrenete verdaccio barem jednom kako biste generisali config fajl. Modifikujte ga prema svojim potrebama.
## Listening na svim adresama
Ako želite da osluškujete (listen to) svaku eksternu adresu, podesite listen derectivu u config:
Ako želite da osluškujete (listen to) svaku eksternu adresu, podesite listen direktivu na:
```yaml
# you can specify listen address (or simply a port)
@ -44,7 +44,7 @@ Prvo instalirajte forever globalno:
$ sudo npm install -g forever
```
Proverite da li ste pokrenuli verdaccio barem jednom kako biste generisali config fajl i upišete admin korisnika. Posle toga, možete koristiti sledeću komandu kako biste pokrenuli verdaccio:
Proverite da li ste pokrenuli verdaccio barem jednom kako biste generisali config fajl i upisali admin korisnika. Posle toga, možete koristiti sledeću komandu kako biste pokrenuli verdaccio:
```bash
$ forever start `which verdaccio`
@ -54,7 +54,7 @@ Možete pogledati dokumentaciju za više informacija o tome kako da koristite fo
## Preživljavanje resetovanja servera
Možemo istovremeno koristiti crontab i forever kako bismo restartovali verdaccio nakon svakog reboot-ovanja servera. Nakon što ste prijavljeni kao verdaccio koristnik, zadajte sledeće:
Možemo istovremeno koristiti crontab i forever kako bismo restartovali verdaccio nakon svakog reboot-ovanja servera. Nakon što ste prijavljeni kao verdaccio korisnik, zadajte sledeće:
```bash
$ crontab -e

View File

@ -40,6 +40,6 @@ Instrukcije važe uglavnom za OSX i Linux, dok će na Windows-u putanje (paths)
## Docker
Ako koristite Docker image, potrebno je da podesite `PROTOCOL` environment varijablu na `https` posto je `listen` argument obezbeđen kao [Dockerfile](https://github.com/verdaccio/verdaccio/blob/master/Dockerfile#L43), i stoga ignorisan od strane config fajla.
Ako koristite Docker image, potrebno je da podesite `PROTOCOL` environment varijablu na `https` pošto je `listen` argument obezbeđen kao [Dockerfile](https://github.com/verdaccio/verdaccio/blob/master/Dockerfile#L43), i stoga ignorisan od strane config fajla.
Takođe možete da podesite `PORT` environment variablu ako koristite različit port od `4873`.

View File

@ -2,9 +2,9 @@
id: unit-testing
title: "Unit Testing"
---
Svi testovi su podeljen u tri foldera:
Svi testovi su podeljeni u tri foldera:
- `test/unit` - Testovi koji pokrivaju funkcije koje transformišu podatke na ne-trivijalni način. Da biste testirali, koristite `require()` na nekolliko fajlova i pokrenite kod, brzo se izvršava.
- `test/unit` - Testovi koji pokrivaju funkcije koje transformišu podatke na netrivijalni način. Da biste testirali, koristite `require()` na nekolliko fajlova i pokrenite kod, brzo se izvršava.
- `test/functional` - Test koji pokreće verdaccio instancu i pokreće seriju zahteva nad http. Ovaj tip testova je sporiji od unit testova.
- `test/integration` - Test koji pokreće verdaccio instancu i zahteva je koristeći npm. Ovaj tip testova je izuzetno spor i može da pogodi pravi npm registry. **unmaintained test**

View File

@ -81,6 +81,6 @@ uplinks:
* Verdaccio ne koristi Basic Authentication od verzije `v2.3.0`. Svi tokeni koje generiše verdaccio, bazirani su na JWT ([JSON Web Token](https://jwt.io/))
* Uplinks moraju biti registries kompatibilni sa `npm` endpoints. Primer: *verdaccio*, `sinopia@1.4.0`, *npmjs registry*, *yarn registry*, *JFrog*, *Nexus* i tako dalje.
* Podešavanje `cache` na false, pomoći će da se uštedi prostor na hard disku. Tako se izbgava čuvanje `tarballs-a` ali [će čuvati metadata u folderima](https://github.com/verdaccio/verdaccio/issues/391).
* Podešavanje `cache` na false, pomoći će da se uštedi prostor na hard disku. Tako se izbegava čuvanje `tarballs-a` ali [će čuvati metadata u folderima](https://github.com/verdaccio/verdaccio/issues/391).
* Preterivanje sa uplinks može usporiti lookup Vaših packages-a jer svaki put kada npm client traži zahtev, verdaccio pravi 1 pozivanje za svaki uplink.
* Format za (timeout, maxage i fail_timeout) je usklađen sa [NGINX jedinicama mere](http://nginx.org/en/docs/syntax.html)

View File

@ -22,10 +22,10 @@ Ovde postoje dve opcije:
1. Ako želite da kreirate poseban fork i zaustavite sinhronizaciju sa javnom verzijom.
Ako želite da uradite to, trebalo bi da modifikujetesvoju fajl za konfiguraciju tako da verdaccio prestane da traži zahteve od npmjs koji se odnose na taj paket. Dodajte psoeban unos za ovaj paket u *config.yaml* i uklonite `npmjs` iz `proxy` liste i restartujte server.
Ako želite da uradite to, trebalo bi da modifikujete svoj fajl za konfiguraciju tako da verdaccio prestane da traži zahteve od npmjs koji se odnose na taj paket. Dodajte poseban unos za ovaj paket u *config.yaml* i uklonite `npmjs` iz `proxy` liste i restartujte server.
Kada publikujete svoj paket lokalno, verovatno bi trebalo da otpočnete sa sa verzijom novijom od postojeće, tako da se izbegne konflikt sa postojećim paketom u cache-u.
2. Ako želite da svoju verziju samo privremeno, ali da se vratite na javnu čim se pojavi ažurirana.
2. Ako želite da svoju verziju koristite samo privremeno, ali da se vratite na javnu čim se pojavi ažurirana.
Kako biste izbegli konflikte sa verzijama, trebalo bi da koristite pre-release suffix sledeće patch verzije. Na primer, ako je javni paket verzije 0.1.2, možete upload-ovati 0.1.3-my-temp-fix. Na taj način paket koji koristite će opstati dok se ne pojavi javna verzija paketa 0.1.3.

View File

@ -49,4 +49,4 @@ Verdaccio kešira sve dependencies na zahtev i tako ubrzava instaliranje na loka
* Nudimo Docker i Kubernetes podršku
* 100% Komparibilan sa yarn, npm i pnpm
* Nakon što je **forkovan** na bazi `sinopia@1.4.0` ostvaruje100% **kompatibilnost unazad**.
* Ime Verdaccio označava **zelenu boja koja se koristila za italijansko freskoslikarstvo kasnog srednjeg veka**.
* Ime Verdaccio označava **zelenu boju koja se koristila za italijansko freskoslikarstvo kasnog srednjeg veka**.

View File

@ -28,13 +28,13 @@ ALTERNATIVNI METOD: (WinSW paket je nedostajao kada je jedan od naših saradnika
* Startup directory: `c:\verdaccio`
* Arguments: `c:\verdaccio\node_modules\verdaccio\build\lib\cli.js -c c:\verdaccio\config.yaml`
Možete podesite druga servisna podešavanja u okviru ostalih tabova po sopstvenim željama. Kada završite, kliknite dugme Install service
Možete da podesite druga servisna podešavanja u okviru ostalih tabova po sopstvenim željama. Kada završite, kliknite dugme Install service
* Pokrenite service sc, pokrenite verdaccio
## Korišćenje WinSW
* Od 2015-10-27, WinSW više nije dostupan na navedenoj lpkaciji. Pratite instrukcije date u Using NSSM.
* Od 2015-10-27, WinSW više nije dostupan na navedenoj lokaciji. Pratite instrukcije date u Using NSSM.
* Preuzmite [WinSW](http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/)
* Postavite exe (primer, `winsw-1.9-bin.exe`) u ovaj folder (`c:\verdaccio`) i preimenujte u `verdaccio-winsw.exe`
* Napravite fajl za konfigurisanje `c:\verdaccio`, nazvan `verdaccio-winsw.xml` sa sledećom konfiguracijom `xml verdaccio verdaccio verdaccio node c:\verdaccio\node_modules\verdaccio\src\lib\cli.js -c c:\verdaccio\config.yaml roll c:\verdaccio`.

View File

@ -2,12 +2,12 @@
id: ansible
title: "Ansible"
---
We have a customised solution for `verdaccio` in our organization.
У оквиру наше организације, нудимо прилагођена решења за `verdaccio`.
<https://github.com/verdaccio/ansible-verdaccio>
#### Other options
#### Остале могућности
* Ansible role for Gentoo users: [jirutka/ansible-role-sinopia](https://github.com/jirutka/ansible-role-sinopia).
* Ansible role for Ubuntu users: [jagregory/sinopia-ansible](https://github.com/jagregory/sinopia-ansible).
* Ansible role за кориснике Gentoo-а: [jirutka/ansible-role-sinopia](https://github.com/jirutka/ansible-role-sinopia).
* Ansible role за кориснике Ubuntu-а: [jagregory/sinopia-ansible](https://github.com/jagregory/sinopia-ansible).
* ansible-verdaccio-role <https://github.com/refinery29/ansible-verdaccio-role>

View File

@ -2,15 +2,15 @@
id: authentification
title: "Authentification"
---
The authentification is tied to the auth [plugin](plugins.md) you are using. The package restrictions also is handled by the [Package Access](packages.md).
Аутентификација је везана за auth [plugin](plugins.md) који користите. Ограничења пакета су дефинисана преко [Package Access](packages.md).
The client authentification is handled by `npm` client itself. Once you login to the application:
Аутентификацију клијента врши сам `npm` клијент. Након пријаве на апликацију:
```bash
npm adduser --registry http://localhost:4873
```
A token is generated in the `npm` configuration file hosted in your user home folder. For more information about `.npmrc` read the [official documentation](https://docs.npmjs.com/files/npmrc).
Токен се генерише у фајлу за конфигурацију `npm` који се налази у home фолдеру корисника. Како бисте сазнали више о `.npmrc` прочитајте [official documentation](https://docs.npmjs.com/files/npmrc).
```bash
cat .npmrc
@ -19,11 +19,11 @@ registry=http://localhost:5555/
//registry.npmjs.org/:_authToken=secretNpmjsToken
```
#### Anonymous publish
#### Анонимно публиковање
`verdaccio`allows you to enable anonymous publish, to achieve that you will need to set up correctly your [packages access](packages.md).
`verdaccio` Вам омогућава да пружите могућност анонимног публиковања. Како бисте успели у томе, потребно је да подесите [packages access](packages.md).
Eg:
Пример:
```yaml
'my-company-*':
@ -32,11 +32,11 @@ Eg:
proxy: npmjs
```
As is described [on issue #212](https://github.com/verdaccio/verdaccio/issues/212#issuecomment-308578500) until `npm@5.3.0` and all minor releases **won't allow you publish without a token**. However `yarn` has not such limitation.
Као што је описано, [on issue #212](https://github.com/verdaccio/verdaccio/issues/212#issuecomment-308578500) све док `npm@5.3.0` и све верзије не буду усаглашене **неће Вам бити омогућено да публикујете без токена**. Ипак, `yarn` нема таква ограничења.
## Default htpasswd
## Подразумевана htpasswd
In order to simplify the setup, `verdaccio` use a plugin based on `htpasswd`. As of version v3.0.x an [external plugin](https://github.com/verdaccio/verdaccio-htpasswd) is used by default. The v2.x version of this package still contains the built-in version of this plugin.
Како би се поједноставио setup, `verdaccio` use a plugin базиран на `htpasswd`. Од верзије v3.0.x [екстерни plugin](https://github.com/verdaccio/verdaccio-htpasswd) се користи као подразумеван. Верзија v2.x и даље садржи уграђену верзију овог plugin-а.
```yaml
auth:
@ -47,9 +47,9 @@ auth:
#max_users: 1000
```
| Property | Type | Required | Example | Support | Description |
| --------- | ------ | -------- | ---------- | ------- | ---------------------------------------- |
| file | string | Yes | ./htpasswd | all | file that host the encrypted credentials |
| max_users | number | No | 1000 | all | set limit of users |
| Својство | Тип | Неопходно | Пример | Подршка | Опис |
| --------- | ------ | --------- | ---------- | ------- | -------------------------------------- |
| file | string | Да | ./htpasswd | all | фајл који садржи шифроване credentials |
| max_users | number | Не | 1000 | all | подешава максимални број корисника |
In case to decide do not allow user to login, you can set `max_users: -1`.
Ако се одлучите на то да не дозволите корисницима да се пријаве, можете подесити `max_users: -1`.

View File

@ -2,12 +2,12 @@
id: build
title: "Build the source code"
---
Verdaccio relies on `yarn` instead `npm` to download dependencies.
Verdaccio се ослања на `yarn` уместо на `npm` како би преузео dependencies.
*Note: the current build only will build with `➜ yarn@1.x`.
*Напомена: тренутни build ће моћи да ради само са build with `➜ yarn@1.x`.
```bash
yarn install
```
To see the complete list of scripts, [click here](https://github.com/verdaccio/verdaccio/wiki/Build-Source-Code).
Како бисте видели комплетну листу scripts-a, [кликните овде](https://github.com/verdaccio/verdaccio/wiki/Build-Source-Code).