Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wildcat
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jason Zhou
wildcat
Commits
f764e435
Commit
f764e435
authored
Oct 01, 2018
by
Jason Zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove mode choice since new mode will not be ready in the near future
parent
c0bbfd4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
20 deletions
+1
-20
index.js
bin/index.js
+1
-20
No files found.
bin/index.js
View file @
f764e435
...
...
@@ -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
([
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment