mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
New release scripts. Learn more at https://github.com/facebook/react/blob/master/scripts/release/README.md
25 lines
438 B
JavaScript
25 lines
438 B
JavaScript
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
const clear = require('clear');
|
|
const {confirm} = require('../utils');
|
|
const theme = require('../theme');
|
|
|
|
const run = async () => {
|
|
clear();
|
|
|
|
console.log(
|
|
theme.caution(
|
|
'This script does not run any automated tests.' +
|
|
'You should run them manually before creating a canary release.'
|
|
)
|
|
);
|
|
|
|
await confirm('Do you want to proceed?');
|
|
|
|
clear();
|
|
};
|
|
|
|
module.exports = run;
|