9wares-react 中文文档教程

发布于 8年前 浏览 26 项目主页 更新于 3年前

9Wares React

CircleCI

NPM 项目使项目之间共享通用 javascript 文件更加容易。 还支持版本控制库更改。

Using in another project

`npm install --save 9wares-react

在现有应用程序上,只需更新 package.json 文件中的版本标签并执行 npm install 即可更新。

Running Test App

  • npm start - runs on http://localhost:6425/

Building a Release

  • npm test - make sure all tests pass
  • npm run build - will package it to the dist folder
  • Everything must be committed by this point
  • npm version patch|minor|major - to bump the (appropriate) version

这将创建一个需要推送的新版本的 git 标签。

git push origin v0.0.16

或者,您可以通过这种方式将“所有”本地标签推送到服务器……

git push origin --tags

您可以使用删除不需要的本地标签以下。 如果创建的版本标签有错误并需要重建但未部署或推送,则很有帮助。

git 标签 -d v0.0.10

9Wares React

CircleCI

NPM project to make sharing common javascript files between projects easier. Also supports versioning library changes.

Using in another project

`npm install --save 9wares-react

On an existing application, just update the version tag in the package.json file and perform the npm install to have it updated.

Running Test App

  • npm start - runs on http://localhost:6425/

Building a Release

  • npm test - make sure all tests pass
  • npm run build - will package it to the dist folder
  • Everything must be committed by this point
  • npm version patch|minor|major - to bump the (appropriate) version

This will create a git tag of the new version that needs to be pushed.

git push origin v0.0.16

Alternatively, you can push "all" the local tags to the server this way…

git push origin --tags

You can removed undesired local tags using below. Helpful if a version tag was created that had bugs and needed to be rebuilt but wasn't deployed or pushed.

git tag -d v0.0.10

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文