markdown 更新Storybook NPM包

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 更新Storybook NPM包相关的知识,希望对你有一定的参考价值。

## Steps

1. Make sure local storybook is updated
    1. `git fetch`
    2. `git pull`

2. Make sure your local npm package is updated
3. Remove the file/folder that has been updated in storybook
4. Replace the removed files with the updated files in storybook
5. Update the version # of package.json
6. Rebuild the package
    1. `npm run build`
7. Add and commit
8. Run `npm publish` (login with credentials if needed)
9. push to branch
10. go to frontend project and run `npm-check -u`
11. update the package, git add and commit and push to release/next

以上是关于markdown 更新Storybook NPM包的主要内容,如果未能解决你的问题,请参考以下文章

Storybook + Vue.js + Sass + npm7 工作区无法编译

markdown 从git安装npm包

markdown NPM安装包保存

npm run build-storybook 失败并显示“模块解析失败:意外令牌 (20:25)”

markdown Powershell无法识别与NPM全局包相关的命令

`npm run storybook` 在新的反应项目中失败