0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

docs: avoid using yo 5.x for plugin developer (#4617)

* docs: avoid using yo 5.x for plugin developer

* Update v5 and v6

---------

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
Gweesin Chan 2024-05-12 04:23:56 +08:00 committed by GitHub
parent 81da03a4e8
commit d2ef7f1aea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 3 deletions

View file

@ -10,7 +10,7 @@ Verdaccio is a pluggable application, with the objective to help developers to g
To install the generator, as first step you must install the _yeoman_ command `yo`.
```bash
npm install -g yo
npm install -g yo@4
```
then, install the custom generator running the following in your terminal.
@ -19,6 +19,12 @@ then, install the custom generator running the following in your terminal.
npm i -g generator-verdaccio-plugin
```
:::caution
`generator-verdaccio-plugin` is not compatible with yeoman version 5 yet. You must use version 4 for it to function correctly.
:::
## Using the generator {#using-the-generator}
Use `yeoman` is quite straighforward, you can read more information about it [here](https://yeoman.io/learning/index.html).

View file

@ -10,7 +10,7 @@ Verdaccio is a pluggable application, with the objective to help developers to g
To install the generator, as first step you must install the _yeoman_ command `yo`.
```bash
npm install -g yo
npm install -g yo@4
```
then, install the custom generator running the following in your terminal.
@ -19,6 +19,12 @@ then, install the custom generator running the following in your terminal.
npm i -g generator-verdaccio-plugin
```
:::caution
`generator-verdaccio-plugin` is not compatible with yeoman version 5 yet. You must use version 4 for it to function correctly.
:::
## Using the generator {#using-the-generator}
Use `yeoman` is quite straighforward, you can read more information about it [here](https://yeoman.io/learning/index.html).

View file

@ -10,7 +10,7 @@ Verdaccio is a pluggable application, with the objective to help developers to g
To install the generator, as first step you must install the _yeoman_ command `yo`.
```bash
npm install -g yo
npm install -g yo@4
```
then, install the custom generator running the following in your terminal.
@ -19,6 +19,12 @@ then, install the custom generator running the following in your terminal.
npm i -g generator-verdaccio-plugin
```
:::caution
`generator-verdaccio-plugin` is not compatible with yeoman version 5 yet. You must use version 4 for it to function correctly.
:::
## Using the generator {#using-the-generator}
Use `yeoman` is quite straighforward, you can read more information about it [here](https://yeoman.io/learning/index.html).