@beisen/tms-react

0.4.70 • Public • Published

Talent Ui 2.0 模板项目

run

yarn             安装依赖
npm run start    构建项目
npm run dev      运行项目
npm run analysis 运行代码分析

项目打包发版步骤

master分支更改后以后

  • npm run build-prod //dist下有文件

  • git add/commit

  • git push // 提交build之后的文件

  • git tag version // 打新的tag

  • git push --tags // 提交tag

  • npm view // 查看新包是否发布成功

该项目任何分支均可构建版本发布至npm,当master被占用,需要hotfix时,可使用hotfix分支

  • git checkout 0.3.0 // 在当前线上使用的版本上进行修改
  • git branch -D hotfix // 删除本地hotfix分支
  • git checkout -b hotfix // 根据当前版本生成新的hotfix 分支
  • 修改代码
  • git commit -am "" // 提交改动代码
  • npm run build-prod // 编译生成压缩文件
  • git add/ commit // 提交
  • git push -f origin hotfix // 覆盖远程hotfix分支
  • git tag // 生成新tag
  • git push --tags // 提交tag
  • git checkout master
  • git merge hotfix // 上线之后需要将改动merge 到master上

Readme

Keywords

none

Package Sidebar

Install

npm i @beisen/tms-react

Weekly Downloads

11

Version

0.4.70

License

MIT

Unpacked Size

14.3 MB

Total Files

729

Last publish

Collaborators

  • albert-zhang
  • liugenpeng
  • beisencorp
  • lgm
  • neozw