mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
Merge branch 'master' into 4.x
# Conflicts: # src/lib/config-path.js # src/lib/utils.js
This commit is contained in:
commit
5673436a78
@ -44,7 +44,7 @@ aliases:
|
|||||||
- &execute_on_release
|
- &execute_on_release
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /(v)?[0-9]+(\.[0-9]+)*/
|
only: /v?[0-9]+(\.[0-9]+)+([-+\.][0-9a-zA-Z]+)*/
|
||||||
branches:
|
branches:
|
||||||
ignore:
|
ignore:
|
||||||
- /.*/
|
- /.*/
|
||||||
|
@ -47,7 +47,7 @@ auth:
|
|||||||
#max_users: 1000
|
#max_users: 1000
|
||||||
```
|
```
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description |
|
| Propriété | Type | Required | Example | Support | Description |
|
||||||
| --------- | ------ | -------- | ---------- | ------- | ---------------------------------------- |
|
| --------- | ------ | -------- | ---------- | ------- | ---------------------------------------- |
|
||||||
| file | string | Yes | ./htpasswd | all | file that host the encrypted credentials |
|
| file | string | Yes | ./htpasswd | all | file that host the encrypted credentials |
|
||||||
| max_users | number | No | 1000 | all | set limit of users |
|
| max_users | number | No | 1000 | all | set limit of users |
|
||||||
|
@ -21,4 +21,4 @@ To locate the home directory, we rely on **$XDG_DATA_HOME** as a first choice an
|
|||||||
|
|
||||||
## Default storage location
|
## Default storage location
|
||||||
|
|
||||||
We use **$XDG_DATA_HOME** environment variable as default to locate the storage by default which [should be the same](https://askubuntu.com/questions/538526/is-home-local-share-the-default-value-for-xdg-data-home-in-ubuntu-14-04) as $HOME/.local/share. If you are using a custom storage, this location is irrelevant.
|
We use **$XDG_DATA_HOME** environment variable as default to locate the storage by default which [should be the same](https://askubuntu.com/questions/538526/is-home-local-share-the-default-value-for-xdg-data-home-in-ubuntu-14-04) as $HOME/.local/share. Si vous utilisez un stockage personnalisé, cet emplacement est sans importance.
|
@ -1,14 +1,14 @@
|
|||||||
---
|
---
|
||||||
id: configuration
|
id: configuration
|
||||||
title: "Configuration File"
|
title: "Fichier de configuration"
|
||||||
---
|
---
|
||||||
This file is the cornerstone of verdaccio where you can modify the default behaviour, enable plugins and extend features.
|
Ce fichier est le pilier de verdaccio où vous pouvez modifier le comportement par défaut, activer les plugins et étendre les fonctionnalités.
|
||||||
|
|
||||||
A default configuration file is created the very first time you run `verdaccio`.
|
Un fichier de configuration par défaut est créé la première fois que vous exécutez `verdaccio`.
|
||||||
|
|
||||||
## Default Configuration
|
## Configuration par défaut
|
||||||
|
|
||||||
The default configuration has support for **scoped** packages and allow any user to access all packages but only **authenticated users to publish**.
|
La configuration par défaut a un support pour les packs **portée(scoped)** et permet à tout utilisateur à accéder à tous les packs, mais seuls **les utilisateurs authentifiés qui peuvent publier**.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage: ./storage
|
storage: ./storage
|
||||||
@ -31,9 +31,9 @@ logs:
|
|||||||
|
|
||||||
## Sections
|
## Sections
|
||||||
|
|
||||||
The following sections explain what each property means and the different options.
|
Les sections suivantes expliquent ce que signifie chaque propriété et les différentes options.
|
||||||
|
|
||||||
### Storage
|
### Stockage
|
||||||
|
|
||||||
Is the location of the default storage. **Verdaccio is by default based on local file system**.
|
Is the location of the default storage. **Verdaccio is by default based on local file system**.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user