@storybook/cli 7.0.0-alpha.38 → 7.0.0-alpha.39

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
@@ -23,12 +23,26 @@ See the command-line help with `-h` for details.
23
23
 
24
24
  ## [Yarn](https://github.com/yarnpkg/yarn) support
25
25
 
26
- The CLI supports yarn. If you have installed yarn in your system and your project has `yarn.lock` file, it'll detect it and use `yarn` instead of `npm`.
26
+ The CLI supports yarn. If you have installed yarn in your system and your project has a `yarn.lock` file, it'll detect it and use `yarn` to install dependencies.
27
27
 
28
- If you don't want to use `yarn` always you can use the `--use-npm` option like this:
28
+ If you don't want to use `yarn` always you can use the `--package-manager` option like this:
29
29
 
30
30
  ```sh
31
- npx sb init --use-npm
31
+ npx sb init --package-manager=npm
32
+ ```
33
+
34
+ If you would like to force a particular version of yarn, you can use the `--package-manager` flag with a value of `yarn1` or `yarn2`.
35
+
36
+ ---
37
+
38
+ ## [PNPM](https://pnpm.io/) support
39
+
40
+ The CLI supports pnpm. If you have installed pnpm in your system and your project has a `pnpm-lock.yaml` file, it'll detect it and use `pnpm` to install dependencies.
41
+
42
+ If you don't have a lock file and would like to force pnpm to be used, you can use the `--package-manager` option like this:
43
+
44
+ ```sh
45
+ npx sb init --package-manager=pnpm
32
46
  ```
33
47
 
34
48
  ---