Commit f764e435 by Jason Zhou

remove mode choice since new mode will not be ready in the near future

parent c0bbfd4f
......@@ -36,29 +36,10 @@ const VERSION = '1.1.1'
const run = async () => {
console.info(BANNER)
const { mode } = await inquirer.prompt([
{
name: 'mode',
type: 'list',
message: [
colors.title('Which mode would like to choose:'),
colors.item(
' 🚝 chill - webpack 4, ES2018 output, cheap-eval-source-map'
),
colors.item(' 🚀 mad max - coming soon ...\n'), // add extra \n for good looking
// ' 🚀 mad max - webpack 4, ES2018 output, no source map, no backend log',
''
].join('\n'),
// choices: ['chill', 'mad max']
choices: ['chill']
}
])
// add extra \n for good looking
console.log('\n')
log.title('📝 Update config files')
updateConfigs(mode)
updateConfigs()
log.title('💯 Update legacy codes')
updateCodes()
const { willUpdatePackages } = await inquirer.prompt([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment