upgrade docs changes

This commit is contained in:
jonniebigodes 2023-01-19 17:47:05 +00:00
parent 4b0346ba6b
commit 1dc20dd637
3 changed files with 16 additions and 3 deletions

View File

@ -38,9 +38,16 @@ In addition to the above, Storybook is under constant development, and we publis
To upgrade to the latest pre-release:
```sh
npx storybook@next upgrade --prerelease
```
<!-- prettier-ignore-start -->
<CodeSnippets
paths={[
'common/storybook-upgrade-prerelease.npm.js.mdx',
'common/storybook-upgrade-prerelease.pnpm.js.mdx',
]}
/>
<!-- prettier-ignore-end -->
If you'd like to downgrade to a stable version, manually edit the package version numbers in your `package.json` and re-install.

View File

@ -0,0 +1,3 @@
```shell
npx storybook@next upgrade --prerelease
```

View File

@ -0,0 +1,3 @@
```shell
pnpx storybook@next upgrade --prerelease
```