You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.ui.log('Note: lock files are not cross compatible between package managers. Choose Yarn here only if you intend to use Yarn for future package installs. Alternatively, remove either yarn.lock or package-lock.json from the project directory before installing new packages.');
24
+
options=[
25
+
{
26
+
displayName: 'Yes, use Yarn',
27
+
description: 'Installs all server, client and tooling dependencies needed to build the project using Yarn.',
28
+
value: 'yarn'
29
+
},
30
+
{
31
+
displayName: 'Yes, use NPM',
32
+
description: 'Installs all server, client and tooling dependencies needed to build the project using NPM.',
33
+
value: 'npm'
34
+
},
35
+
{
36
+
displayName: 'No',
37
+
description: 'Completes the new project wizard without installing dependencies.',
38
+
value: 'no'
39
+
}
40
+
];
41
+
}else{
42
+
options=[
43
+
{
44
+
displayName: 'Yes',
45
+
description: 'Installs all server, client and tooling dependencies needed to build the project.',
46
+
value: 'yes'
47
+
},
48
+
{
49
+
displayName: 'No',
50
+
description: 'Completes the new project wizard without installing dependencies.',
51
+
value: 'no'
52
+
}
53
+
];
54
+
}
55
+
56
+
returnthis.ui.question('Would you like to install the project dependencies?',options).then(answer=>{
0 commit comments