We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d922b0 commit feb41e8Copy full SHA for feb41e8
1 file changed
after.js
@@ -16,15 +16,15 @@ module.exports = async function({
16
17
const choices = [
18
{title: 'No'},
19
- {value: 'npm i', title: 'Yes, use npm'}
+ {value: 'npm', title: 'Yes, use npm'}
20
];
21
22
if (isAvailable('yarn')) {
23
choices.push({value: 'yarn', title: 'Yes, use yarn'});
24
}
25
26
if (isAvailable('pnpm')) {
27
- choices.push({value: 'pnpm i', title: 'Yes, use pnpm'});
+ choices.push({value: 'pnpm', title: 'Yes, use pnpm'});
28
29
30
const result = await prompts.select({
@@ -33,7 +33,7 @@ module.exports = async function({
33
});
34
35
if (result) {
36
- await run(result);
+ await run(result, ['install']);
37
38
39
const c = ansiColors;
0 commit comments