@42.nl/react-error-store 中文文档教程
About
存储错误并监听它们的变化。
Installation
npm install @42.nl/react-error-store --save
Documentation
查看文档。
Developing
开发新功能时,请确保不要更新 package.json
的 version 只要在 master
上发布版本,就会发生这种情况 释放者。
创建一个 PR 以将您的更改提交给主分支,维护者 将审查您的工作并决定该功能是否值得或是否 虫子蒸发了。
Releasing
起草新版本就像运行 npm run release
一样简单。 此命令在后台运行 (https://github.com/sindresorhus/np)[np],它将指导您完成起草发布的过程。
发布后的清单:
- [] Make sure a tag is created in GitHub
- [] Make sure the release is created in GitHub.
- [] Make sure the release is on NPM.
About
Storing errors and listening to their changes.
Installation
npm install @42.nl/react-error-store --save
Documentation
See the documentation.
Developing
When developing a new feature, make sure you do not update the package.json
's version this will happen whenever a release is made on master
by the releasers.
Create a PR to submit your changes to the master branch, the maintainers will review your work and decide if the feature warrented or if the bug is vaporized.
Releasing
Drafting a new release is as simple as running npm run release
. This command runs (https://github.com/sindresorhus/np)[np] under the hood, which will guide you through the process of drafting a release.
A checklist for after the release:
- [] Make sure a tag is created in GitHub
- [] Make sure the release is created in GitHub.
- [] Make sure the release is on NPM.