mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
Changed the deprecated installation method (#3321)
Altered the `npm` global installation command i.e. `npm i -g` and `npm install --global` to `npm i --location=global` and `npm install --location=global` respectively. Also added methods for installing using `yarn` and `pnpm`
This commit is contained in:
parent
e630954923
commit
37da9e0f61
17
README.md
17
README.md
@ -44,7 +44,18 @@ Google Cloud Storage** or create your own plugin.
|
|||||||
Install with npm:
|
Install with npm:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install --global verdaccio@6-next
|
npm install --location=global verdaccio@6-next
|
||||||
|
```
|
||||||
|
With `yarn`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn global add verdaccio@6-next
|
||||||
|
```
|
||||||
|
|
||||||
|
With `pnpm`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm i -g verdaccio@6-next
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
@ -68,8 +79,8 @@ Furthermore, you can read the [**Debugging Guidelines**](https://github.com/verd
|
|||||||
You can develop your own [plugins](https://verdaccio.org/docs/plugins) with the [verdaccio generator](https://github.com/verdaccio/generator-verdaccio-plugin). Installing [Yeoman](https://yeoman.io/) is required.
|
You can develop your own [plugins](https://verdaccio.org/docs/plugins) with the [verdaccio generator](https://github.com/verdaccio/generator-verdaccio-plugin). Installing [Yeoman](https://yeoman.io/) is required.
|
||||||
|
|
||||||
```
|
```
|
||||||
npm install -g yo
|
npm install --location=global yo
|
||||||
npm install -g generator-verdaccio-plugin
|
npm install --location=global generator-verdaccio-plugin
|
||||||
```
|
```
|
||||||
|
|
||||||
Learn more [here](https://verdaccio.org/docs/dev-plugins) how to develop plugins. Share your plugins with the community.
|
Learn more [here](https://verdaccio.org/docs/dev-plugins) how to develop plugins. Share your plugins with the community.
|
||||||
|
Loading…
Reference in New Issue
Block a user