()
| 55 | } |
| 56 | |
| 57 | get commitVersion() { |
| 58 | if (this.isMajorVersionBump()) { |
| 59 | return `^${this.latestVersion}`; |
| 60 | } else if (this.isMinorVersionBump()) { |
| 61 | return `~${this.latestVersion}`; |
| 62 | } else { |
| 63 | return this.latestVersion; |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | get minorVersionLocked() { |
| 68 | return packageJSON[this.type][this.name].startsWith('~'); |
nothing calls this directly
no test coverage detected