Skip to content

Commit

Permalink
docs: avoid using yo 5.x for plugin developer (#4617)
Browse files Browse the repository at this point in the history
* docs: avoid using yo 5.x for plugin developer

* Update v5 and v6

---------

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
  • Loading branch information
gweesin and mbtools committed May 11, 2024
1 parent 81da03a commit d2ef7f1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion website/docs/plugin-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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).
Expand Down
8 changes: 7 additions & 1 deletion website/versioned_docs/version-5.x/plugin-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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).
Expand Down
8 changes: 7 additions & 1 deletion website/versioned_docs/version-6.x/plugin-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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).
Expand Down

0 comments on commit d2ef7f1

Please sign in to comment.