15 lines
No EOL
373 B
JavaScript
15 lines
No EOL
373 B
JavaScript
#!/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}})`);
|
|
}; |