beachball
Advanced tools
Comparing version 2.28.0 to 2.29.0
# Change Log - beachball | ||
This log was last generated on Tue, 09 Aug 2022 06:34:20 GMT and should not be manually modified. | ||
This log was last generated on Wed, 10 Aug 2022 08:03:08 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 2.29.0 | ||
Wed, 10 Aug 2022 08:03:08 GMT | ||
### Minor changes | ||
- Update typescript to 4.3 (elcraig@microsoft.com) | ||
### Patches | ||
- Always use console.log not process.stdout for logging (elcraig@microsoft.com) | ||
- Moving non essential and retried commands to git from gitFailFast (viditganpi10@gmail.com) | ||
## 2.28.0 | ||
Tue, 09 Aug 2022 06:34:20 GMT | ||
Tue, 09 Aug 2022 06:34:24 GMT | ||
@@ -11,0 +24,0 @@ ### Minor changes |
@@ -26,3 +26,3 @@ "use strict"; | ||
'--diff-filter=d', | ||
'--relative', | ||
'--relative', // results will include path relative to the cwd, i.e. only file names. | ||
], '*.json', changePath); | ||
@@ -29,0 +29,0 @@ allChangeFiles |
@@ -22,3 +22,3 @@ "use strict"; | ||
prerelease: 'Changes', | ||
none: '', | ||
none: '', // not used | ||
}; | ||
@@ -25,0 +25,0 @@ exports.defaultRenderers = { |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
@@ -106,3 +106,6 @@ "use strict"; | ||
console.log(`deleting temporary publish branch ${publishBranch}`); | ||
workspace_tools_1.gitFailFast(['branch', '-D', publishBranch], { cwd }); | ||
const deletionResult = workspace_tools_1.git(['branch', '-D', publishBranch], { cwd }); | ||
if (!deletionResult.success) { | ||
console.warn(`[WARN]: deletion of publish branch ${publishBranch} has failed!\n${deletionResult.stderr}`); | ||
} | ||
} | ||
@@ -109,0 +112,0 @@ }); |
@@ -33,12 +33,11 @@ "use strict"; | ||
if (options.fetch !== false) { | ||
try { | ||
if (options.depth) { | ||
workspace_tools_1.gitFailFast(['fetch', remote, remoteBranch, `--depth=${options.depth}`], { cwd }); | ||
} | ||
else { | ||
workspace_tools_1.gitFailFast(['fetch', remote, remoteBranch], { cwd }); | ||
} | ||
let fetchResult; | ||
if (options.depth) { | ||
fetchResult = workspace_tools_1.git(['fetch', remote, remoteBranch, `--depth=${options.depth}`], { cwd }); | ||
} | ||
catch (err) { | ||
console.warn(`[WARN ${tryNumber}/${BUMP_PUSH_RETRIES}]: fetch from ${branch} has failed!\n${err}`); | ||
else { | ||
fetchResult = workspace_tools_1.git(['fetch', remote, remoteBranch], { cwd }); | ||
} | ||
if (!fetchResult.success) { | ||
console.warn(`[WARN ${tryNumber}/${BUMP_PUSH_RETRIES}]: fetch from ${branch} has failed!\n${fetchResult.stderr}`); | ||
continue; | ||
@@ -45,0 +44,0 @@ } |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
@@ -30,3 +30,3 @@ "use strict"; | ||
} | ||
process.stdout.write(`Validating no private package among package dependencies`); | ||
console.log(`Validating no private package among package dependencies`); | ||
for (const [dep, usedBy] of Object.entries(allDeps)) { | ||
@@ -39,3 +39,3 @@ if (packageInfos[dep] && packageInfos[dep].private === true) { | ||
if (!hasErrors) { | ||
process.stdout.write(' OK!\n'); | ||
console.log(' OK!\n'); | ||
} | ||
@@ -42,0 +42,0 @@ return !hasErrors; |
@@ -16,3 +16,3 @@ "use strict"; | ||
const changeFilesDeletedSinceRef = workspace_tools_1.getChangesBetweenRefs(branch, 'HEAD', [ | ||
'--diff-filter=D', | ||
'--diff-filter=D', // showing only deleted files from the diff. | ||
], `${changePath}/*.json`, root); | ||
@@ -19,0 +19,0 @@ // if this value is undefined, git has failed to execute the command above. |
{ | ||
"name": "beachball", | ||
"version": "2.28.0", | ||
"version": "2.29.0", | ||
"description": "The Sunniest Semantic Version Bumper", | ||
@@ -75,3 +75,3 @@ "repository": { | ||
"ts-jest": "27.1.5", | ||
"typescript": "3.9.10", | ||
"typescript": "4.3.5", | ||
"verdaccio": "4.13.2", | ||
@@ -78,0 +78,0 @@ "verdaccio-memory": "8.5.2", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
433387
6974