1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Add block comments to task iteratees

This commit is contained in:
Chauncey McAskill
2022-03-29 18:47:53 -04:00
parent c9a9209b4b
commit 7742bbb9d0
5 changed files with 49 additions and 0 deletions

View File

@@ -100,6 +100,17 @@ export default async function bumpVersions(versionOptions = null) {
const queue = new Map();
/**
* @async
* @param {object} entry - The entrypoint to process.
* @param {string} entry.outfile - The file to write to.
* @param {?string} [entry.label] - The task label.
* Defaults to the outfile name.
* @param {?string} [entry.format] - The version number format.
* @param {?string} [entry.key] - The JSON field name assign the version number to.
* @param {?string|number} [entry.pretty] - The white space to use to format the JSON file.
* @return {Promise}
*/
loconfig.tasks.versions.forEach(({
outfile,
label = null,