@@ -3,7 +3,7 @@ import { addComponentsDir, addImportsDir, addPlugin, addServerHandler, addServer
33import { createConsola } from 'consola'
44import { join } from 'pathe'
55import chalk from 'chalk'
6- import { prompt } from 'prompts'
6+ import prompts from 'prompts'
77import * as execa from 'execa'
88
99const logger = createConsola ( {
@@ -179,7 +179,7 @@ export default defineNuxtModule<ModuleOptions>({
179179 error ( `Could not find ${ edgeColor ( 'EdgeDB' ) } CLI.` , true )
180180 if ( activePrompts . installCliPrompt )
181181 return
182- activePrompts . installCliPrompt = prompt (
182+ activePrompts . installCliPrompt = prompts (
183183 {
184184 type : 'confirm' ,
185185 name : 'value' ,
@@ -219,7 +219,7 @@ export default defineNuxtModule<ModuleOptions>({
219219 logger . log ( ` ${ chalk . red ( '➜' ) } Could not find ${ edgeColor ( 'EdgeDB' ) } configuration file.` , true )
220220 if ( activePrompts . initPrompt )
221221 return
222- activePrompts . initPrompt = prompt (
222+ activePrompts . initPrompt = prompts (
223223 {
224224 type : 'confirm' ,
225225 name : 'value' ,
@@ -304,7 +304,7 @@ export default defineNuxtModule<ModuleOptions>({
304304 if ( activePrompts . queriesPrompt )
305305 return
306306
307- activePrompts . queriesPrompt = prompt (
307+ activePrompts . queriesPrompt = prompts (
308308 {
309309 type : 'confirm' ,
310310 name : 'value' ,
@@ -343,7 +343,7 @@ export default defineNuxtModule<ModuleOptions>({
343343 if ( options . watchPrompt ) {
344344 if ( activePrompts . migrationPrompt )
345345 return
346- activePrompts . migrationPrompt = prompt (
346+ activePrompts . migrationPrompt = prompts (
347347 {
348348 type : 'confirm' ,
349349 name : 'value' ,
@@ -389,7 +389,7 @@ export default defineNuxtModule<ModuleOptions>({
389389 if ( options . watchPrompt ) {
390390 if ( activePrompts . schemaPrompt )
391391 return
392- activePrompts . schemaPrompt = prompt (
392+ activePrompts . schemaPrompt = prompts (
393393 {
394394 type : 'confirm' ,
395395 name : 'value' ,
0 commit comments