File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = pkg => {
2
2
const prompts = [
3
3
{
4
- type : ' confirm' ,
5
- name : ' scaffold' ,
6
- message : ' Add support for base components?' ,
7
- default : false ,
8
- description : ' In addition to deleting all pre-built components, it will add lodash and the necessary configuration for supporting base components.' ,
4
+ type : " confirm" ,
5
+ name : " scaffold" ,
6
+ message : " Add support for base components?" ,
7
+ default : true ,
8
+ description : " In addition to deleting all pre-built components, it will add lodash and the necessary configuration for supporting base components." ,
9
9
} ,
10
10
{
11
- type : ' confirm' ,
12
- name : ' tailwind' ,
13
- message : ' Add support for tailwind?' ,
14
- default : false ,
15
- description : ' This will install tailwind and add the necessary configuration files.' ,
11
+ type : " confirm" ,
12
+ name : " tailwind" ,
13
+ message : " Add support for tailwind?" ,
14
+ default : true ,
15
+ description : " This will install tailwind and add the necessary configuration files." ,
16
16
}
17
17
]
18
18
19
19
if ( '@vue/eslint-config-prettier' in ( pkg . devDependencies || { } ) ) {
20
20
prompts . push ( {
21
- type : ' confirm' ,
22
- name : ' prettier' ,
23
- message : ' Add prettier configuration?' ,
24
- when : true ,
25
- description : ' This will add a prettier configuration file and add a vue/plugin-recommended plugin to your eslint configuration file.' ,
21
+ type : " confirm" ,
22
+ name : " prettier" ,
23
+ message : " Add prettier configuration?" ,
24
+ default : true ,
25
+ description : " This will add a prettier configuration file and add a vue/plugin-recommended plugin to your eslint configuration file." ,
26
26
} ) ;
27
27
}
28
28
You can’t perform that action at this time.
0 commit comments