mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
docs: new Crowdin translations (#711)
docs: new Crowdin translations (#711)
This commit is contained in:
parent
cc018c6829
commit
7f8800fff7
9 changed files with 126 additions and 108 deletions
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
Puedes definir múltiples uplinks y cada uno de ellos debe tener un nombre único (key). Pueden tener las siguientes propiedades:
|
Puedes definir múltiples uplinks y cada uno de ellos debe tener un nombre único (key). Pueden tener las siguientes propiedades:
|
||||||
|
|
||||||
| Propiedad | Tipo | Requerido | Ejemplo | Soporte | Descripción | Por Defecto |
|
| Propiedad | Tipo | Requerido | Ejemplo | Soporte | Descripción | Por Defecto |
|
||||||
| ------------ | ------- | --------- | --------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------- | ----------- |
|
| ------------ | ------- | --------- | ------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | El dominio del registro | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | El dominio del registro | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | Ubicación del certificado SSL | Desactivado |
|
| ca | string | No | ~./ssl/client.crt' | all | Ubicación del certificado SSL | Desactivado |
|
||||||
| timeout | string | No | 100ms | all | timeout por petición | 30s |
|
| timeout | string | No | 100ms | all | timeout por petición | 30s |
|
||||||
| maxage | string | No | 10m | all | limite máximo de fallos de cada petición | 2m |
|
| maxage | string | No | 10m | all | limite máximo de fallos de cada petición | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | define el tiempo máximo cuando una petición falla | 5m |
|
| fail_timeout | string | No | 10m | all | define el tiempo máximo cuando una petición falla | 5m |
|
||||||
| max_fails | number | No | 2 | all | límite máximo de fallos | 2 |
|
| max_fails | number | No | 2 | all | límite máximo de fallos | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | evita persistir tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | asigna el encamezado 'Authorization' ver: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | desactivado |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | desactivado |
|
||||||
| headers | list | No | ]] | all | listado de encabezados por uplink | desactivado |
|
| headers | list | No | ]] | all | listado de encabezados por uplink | desactivado |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | Es verdadero, requiere que el certificado SSL sea válido. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | Es verdadero, requiere que el certificado SSL sea válido. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,18 +26,20 @@ uplinks:
|
||||||
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
You can define mutiple uplinks and each of them must have an unique name (key). They can have two properties:
|
||||||
|
|
||||||
| Property | Type | Required | Example | Support | Description | Default |
|
| Property | Type | Required | Example | Support | Description | Default |
|
||||||
| ------------ | ------- | -------- | --------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
|
| ------------ | ------- | -------- | --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
||||||
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
| url | string | Yes | https://registry.npmjs.org/ | all | The registry url | npmjs |
|
||||||
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
| ca | string | No | ~./ssl/client.crt' | all | SSL path certificate | No default |
|
||||||
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
| timeout | string | No | 100ms | all | set new timeout for the request | 30s |
|
||||||
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
| maxage | string | No | 10m | all | limit maximun failure request | 2m |
|
||||||
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
| fail_timeout | string | No | 10m | all | defines max time when a request becomes a failure | 5m |
|
||||||
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
| max_fails | number | No | 2 | all | limit maximun failure request | 2 |
|
||||||
| cache | boolean | No | [true,false] | >= 2.1 | avoid cache tarballs | true |
|
| cache | boolean | No | [true,false] | >= 2.1 | cache all remote tarballs in storage | true |
|
||||||
| auth | list | No | see below | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | disabled |
|
| auth | list | No | [see below](uplinks.md#auth-property) | >= 2.5 | assigns the header 'Authorization' [more info](http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules) | disabled |
|
||||||
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
| headers | list | No | authorization: "Bearer SecretJWToken==" | all | list of custom headers for the uplink | disabled |
|
||||||
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
| strict_ssl | boolean | No | [true,false] | >= 3.0 | If true, requires SSL certificates be valid. | true |
|
||||||
|
|
||||||
|
#### Auth property
|
||||||
|
|
||||||
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
The `auth` property allows you to use an auth token with an uplink. Using the default environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Loading…
Reference in a new issue