【问题标题】:Which version name should be given to a branched node module?应该为分支节点模块指定哪个版本名称?
【发布时间】:2022-02-04 09:39:10
【问题描述】:

我在我的 git 存储库中克隆了一个节点模块。

这里是 package.json 的一个例子:

{
  "name": "sample-module",
  "version": "4.5.6",
  "description": "An example of module.",
  "directories": {
    "test": "tests"
  },
...

完成自定义后,我想设置一个新版本

有什么好的做法可以做到这一点吗?

可能的新版本:


  "version": "4.5.6.1",
  "version": "4.5.6-mybrand-1.0",
  "version": "4.5.6_1.0",

【问题讨论】:

    标签: node.js version-control package.json


    【解决方案1】:

    我更喜欢语义版本控制。 Read Here

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-01-12
    • 2019-01-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多