Skip to content

Commit

Permalink
Update Verdaccio service documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximDevoir committed Oct 15, 2019
1 parent ca20fda commit 10632f8
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions docs/docs/docker/verdaccio.md
Expand Up @@ -4,7 +4,10 @@ title: Verdaccio
sidebar_label: Verdaccio
---

[Verdaccio](https://github.com/verdaccio/verdaccio) is a local private npm
> **Note**: The Verdaccio Docker service is discontinued and has been replaced
> with `tasks/registry.sh`.
[Verdaccio](https://github.com/verdaccio/verdaccio) is a local private package
registry. It is primarily used to publish local development packages which are,
in turn, used by e2e and integration testing.

Expand All @@ -16,5 +19,27 @@ username: `cna`

password: `local-registry`

> **Note**: The Verdaccio docker service is discontinued and will be removed in
> future versions of Create Nom App.
## How to use

From a terminal, load the `registry.sh` script from `tasks`.

```sh
# Project root
. ./tasks/registry.sh
```

### Starting the Local Registry

Run `startLocalRegistry`

### Stopping the Local Registry

Run `stopLocalRegistry`

You may need to verify that your registry config has changed with
`_printRegistryInformation`.

The current registries should not be set to the Verdaccio registry. If
`registry.sh` is unable to revert to your old registry information, run
`useNPMRegistry` or `useYarnRegistry` to set your configuration to their
registries.

0 comments on commit 10632f8

Please sign in to comment.