Socket
Socket
Sign inDemoInstall

upgrade-uniapp-version

Package Overview
Dependencies
12
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    upgrade-uniapp-version

Automatically update the version number of uni-app project, then tag and push to the server of Git


Version published
Maintainers
1
Created

Readme

Source

upgrade-uniapp-version

处理uni-app版本更新时候manifest.json版本号的自动更新

遵循 SemVer 规范 - 由 Github 起草的一个具有指导意义的,统一的版本号表示规则。

标准版本号

SemVer规范的标准版本号采用 X.Y.Z 的格式,其中 X、Y 和 Z 为非负的整数,且禁止在数字前方补零。X 是主版本号、Y 是次版本号、而 Z 为修订号。每个元素必须以数值来递增。

  • 主版本号(major):当你做了不兼容的API 修改

  • 次版本号(minor):当你做了向下兼容的功能性新增

  • 修订号(patch):当你做了向下兼容的问题修正。

例如:1.9.1 -> 1.10.0 -> 1.11.0

安装

需要进行全局安装,

npm install -g upgrade-uniapp-version

配置及使用

uni-version <patch|minor|major>

Keywords

FAQs

Last updated on 20 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc