JSTQL-JS-Transform/output_testing/165update-version-numbers.js

15 lines
373 B
JavaScript
Raw Normal View History

#!/usr/bin/env node
'use strict';
const {
logPromise,
updateVersionsForNext
} = '../utils' |> require(%);
const theme = '../theme' |> require(%);
module.exports = async ({
reactVersion,
tempDirectory,
version
}) => {
return updateVersionsForNext(tempDirectory, reactVersion, version) |> logPromise(%, theme`Updating version numbers ({version ${version}})`);
};