@react-three/drei 11.0.0-alpha.4 → 11.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  [![Storybook](https://img.shields.io/static/v1?message=Storybook&style=flat&colorA=000000&colorB=000000&label=&logo=storybook&logoColor=ffffff)](https://drei.pmnd.rs/)
2
+ [![](https://img.shields.io/badge/chromatic-171c23.svg?style=flat&colorA=000000&colorB=000000&logo=chromatic&logoColor=ffffff)](https://www.chromatic.com/library?appId=64a019f36ecd3751d0ada612&branch=master)
2
3
  [![Version](https://img.shields.io/npm/v/@react-three/drei?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/@react-three/drei)
3
4
  [![Downloads](https://img.shields.io/npm/dt/@react-three/drei.svg?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/@react-three/drei)
4
5
  [![Discord Shield](https://img.shields.io/discord/740090768164651008?style=flat&colorA=000000&colorB=000000&label=discord&logo=discord&logoColor=ffffff)](https://discord.com/channels/740090768164651008/741751532592038022)
@@ -92,8 +93,23 @@ https://pmndrs.github.io/drei
92
93
 
93
94
  ### INSTALL
94
95
 
96
+ Pre-requisites:
97
+
98
+ - Install [nvm](https://github.com/nvm-sh/nvm), then:
99
+ ```sh
100
+ $ nvm install
101
+ $ nvm use
102
+ $ node -v # make sure your version satisfies package.json#engines.node
103
+ ```
104
+ nb: if you want this node version to be your default nvm's one: `nvm alias default node`
105
+ - Install yarn, with:
106
+ ```sh
107
+ $ corepack enable
108
+ $ corepack prepare --activate # it reads "packageManager"
109
+ $ yarn -v # make sure your version satisfies package.json#engines.yarn
110
+ ```
111
+
95
112
  ```sh
96
- $ corepack enable
97
113
  $ yarn install
98
114
  ```
99
115