(packageName = null)
| 80 | } |
| 81 | |
| 82 | async smoketestAndCommit(packageName = null) { |
| 83 | const packageJSONs = await glob('packages/*/*/package.json'); |
| 84 | await yarn('lint'); |
| 85 | await yarn('build'); |
| 86 | await git('add', 'package.json', 'yarn.lock', ...packageJSONs); |
| 87 | await git( |
| 88 | 'commit', |
| 89 | '-m', |
| 90 | `build(${this.commitType}): upgrade ${packageName || this.name} to ${this.commitVersion}`, |
| 91 | ); |
| 92 | } |
| 93 | |
| 94 | async upgrade() { |
| 95 | if (this.isMajorVersionBump() || this.isMinorVersionBump()) { |