MCPcopy Create free account

hub / github.com/SBoudrias/Inquirer.js / functions

Functions422 in github.com/SBoudrias/Inquirer.js

↓ 2 callersFunctionparseJSON
(content: string)
tools/isolate-monorepo-package/src/index.ts:19
↓ 2 callersFunctionpinDependencies
(options: { cwd?: string; dependencyNames: string[]; })
tools/package/src/pin/index.ts:36
↓ 2 callersFunctionprompt
( config, context = {}, )
packages/core/src/lib/create-prompt.ts:73
↓ 2 callersFunctionreadFile
(filepath: string)
tools/setup-packages/src/utils/fs.ts:4
↓ 2 callersFunctionreadPackageJsonFile
(filepath: string)
tools/package/src/package-json.ts:61
↓ 2 callersMethodreadTemporaryFile
()
packages/external-editor/src/index.ts:179
↓ 2 callersFunctionreadline
()
packages/core/src/lib/hook-engine.ts:71
↓ 2 callersFunctionreadlineWidth
()
packages/core/src/lib/utils.ts:45
↓ 2 callersFunctionrejectPending
(error: unknown)
packages/inquirer/src/utils/observable.ts:318
↓ 2 callersFunctionreportObserverError
(error: unknown)
packages/inquirer/src/utils/observable.ts:85
↓ 2 callersFunctionresolveDependencyPackageJson
( name: string, fromDirectory = process.cwd(), )
tools/package/src/package-json.ts:69
↓ 2 callersFunctionresolvePackageJson
(dependencyName: string, packageDir: string)
tools/package/src/lint/index.ts:34
↓ 2 callersFunctionresolvePending
(result: IteratorResult<T>)
packages/inquirer/src/utils/observable.ts:312
↓ 2 callersMethodrunAsync
(callback?: StringCallback)
packages/external-editor/src/index.ts:107
↓ 2 callersFunctionsettlePrompt
(settle: () => void)
packages/core/src/lib/create-prompt.ts:113
↓ 2 callersFunctionsetupPackages
({ check, cwd = process.cwd(), }: { check: boolean; cwd?: string; })
tools/setup-packages/src/index.ts:21
↓ 2 callersFunctiontoDist
(file: string, ext: string)
tools/setup-packages/src/rules/build.ts:10
↓ 2 callersFunctiontoError
(error: unknown)
packages/inquirer/src/utils/observable.ts:106
↓ 2 callersFunctionvalidateRootPackage
(rootPkg: PackageJson)
tools/setup-packages/src/rules/root.ts:9
↓ 2 callersFunctionwalkUp
* Call `probe` on `fromDirectory`, then on each parent directory, until it * returns a path or the filesystem root is reached.
tools/package/src/package-json.ts:31
↓ 2 callersFunctionwithEditableTerminal
(create: () => Value)
packages/testing/src/with-editable-terminal.ts:10
↓ 2 callersFunctionwithUpdates
( fn: (...args: Args) => R, )
packages/core/src/lib/hook-engine.ts:76
↓ 2 callersFunctionwrapActualPromptModule
( screenInstance: Screen, actual: ActualModule, )
packages/testing/src/mock-module.ts:78
↓ 2 callersFunctionwrapActualPromptsBarrel
( screenInstance: Screen, actual: Record<string, unknown>, )
packages/testing/src/mock-module.ts:100
↓ 2 callersFunctionwrapContent
( content: string, width: number, )
packages/core/src/lib/utils.ts:22
↓ 2 callersFunctionwrapPrompt
( prompt: Prompt<Value, Config> | { default: Prompt<Value, Config> }, )
packages/testing/src/vitest.ts:42
↓ 2 callersFunctionwrapped
(...args: Args)
packages/core/src/lib/hook-engine.ts:79
↓ 2 callersFunctionwriteJson
(filepath: string, value: unknown)
tools/setup-packages/src/index.vitest.ts:20
↓ 2 callersFunctionwriteJson
(filepath: string, value: unknown)
tools/package/src/pin/index.vitest.ts:20
↓ 2 callersFunctionwriteJson
(filepath: string, value: unknown)
tools/package/src/normalize/index.vitest.ts:20
↓ 1 callersMethod#waitForNextRender
()
packages/testing/src/screen.ts:121
↓ 1 callersFunctionabort
()
packages/core/src/lib/create-prompt.ts:137
↓ 1 callersFunctionapply
( pkg: PackageJson, overrides: { tsconfig?: TsConfigJson; dir?: string } = {}, )
tools/setup-packages/src/rules/build.vitest.ts:8
↓ 1 callersFunctionapplyJsoncUpdates
* Patch a JSONC document in place with the properties of `updated`, preserving * comments and formatting: unchanged entries are left untouched, chang
tools/setup-packages/src/utils/jsonc.ts:18
↓ 1 callersFunctionarmUncaughtErrorCapture
()
packages/inquirer/inquirer.vitest.ts:96
↓ 1 callersFunctionask
()
packages/inquirer/examples/recursive.ts:9
↓ 1 callersFunctionaskNextDemo
()
packages/demo/src/index.ts:38
↓ 1 callersFunctionboolToString
(value: boolean)
packages/confirm/src/index.ts:88
↓ 1 callersFunctionbound
(num: number)
packages/core/src/lib/pagination/use-pagination.ts:112
↓ 1 callersFunctioncanonicalJson
* Canonical serialization used to compare two JSON values modulo ordering: * object keys are sorted, array elements are sorted, and keys with an * `
tools/setup-packages/src/utils/jsonc.ts:61
↓ 1 callersFunctioncaptureStderr
()
tools/package/src/bin.vitest.ts:35
↓ 1 callersFunctioncheck
(checked: boolean)
packages/checkbox/src/index.ts:119
↓ 1 callersMethodcheckCursorPos
()
packages/core/src/lib/screen-manager.ts:106
↓ 1 callersFunctionclearLocaleEnv
()
packages/i18n/test/auto-detect.vitest.ts:9
↓ 1 callersFunctioncollectDependencies
* Recursively collect all dependencies for a package
tools/isolate-monorepo-package/src/index.ts:194
↓ 1 callersFunctioncollectWorkspaceDependencies
( packageName: string, workspaceMap: Map<string, WorkspaceInfo>, verbose = false, )
tools/isolate-monorepo-package/src/index.ts:229
↓ 1 callersFunctioncreateLeakyQuestionSource
()
packages/inquirer/inquirer.vitest.ts:129
↓ 1 callersFunctioncreateObservableController
()
packages/inquirer/src/utils/observable.ts:216
↓ 1 callersFunctioncreatePromptModule
(opt?: StreamOptions)
packages/inquirer/src/index.ts:102
↓ 1 callersFunctioncreateRequireFrom
(fromDirectory: string)
tools/package/src/package-json.ts:23
↓ 1 callersFunctioncreateStore
(rl: InquirerReadline)
packages/core/src/lib/hook-engine.ts:28
↓ 1 callersFunctioncreateTestPromptModule
(options: StreamOptions = {})
packages/inquirer/inquirer.vitest.ts:84
↓ 1 callersFunctioncycle
(render: () => void)
packages/core/src/lib/hook-engine.ts:48
↓ 1 callersFunctiondeepMerge
(...objects: Partial<T>[])
packages/core/src/lib/make-theme.ts:15
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/input.ts:9
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/confirm.ts:3
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/password.ts:3
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/loader.ts:15
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/expand.ts:3
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/select.ts:33
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/editor.ts:3
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/rawlist.ts:3
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/number.ts:3
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/search.ts:23
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/checkbox.ts:3
↓ 1 callersFunctiondemo
()
packages/demo/src/demos/timeout.ts:3
↓ 1 callersFunctiondetectLocale
()
packages/i18n/src/index.ts:41
↓ 1 callersFunctiondiffJsonPaths
( current: unknown, updated: unknown, propertyPath: string[] = [], )
tools/setup-packages/src/utils/jsonc.ts:92
↓ 1 callersFunctiondiscoverWorkspaces
( rootDir: string, verbose = false, )
tools/isolate-monorepo-package/src/index.ts:79
↓ 1 callersMethoddone
({ clearContent }: { clearContent: boolean })
packages/core/src/lib/screen-manager.ts:114
↓ 1 callersFunctionedit
(text = '', fileOptions?: FileOptions)
packages/external-editor/src/index.ts:37
↓ 1 callersFunctioneditorAction
(error: undefined | Error, value?: string)
packages/editor/editor.vitest.ts:44
↓ 1 callersFunctionencounter1
()
packages/inquirer/examples/hierarchical.ts:31
↓ 1 callersFunctionencounter2a
()
packages/inquirer/examples/hierarchical.ts:52
↓ 1 callersFunctionencounter2b
()
packages/inquirer/examples/hierarchical.ts:73
↓ 1 callersFunctionengines
(node?: string)
tools/setup-packages/src/rules/metadata.vitest.ts:38
↓ 1 callersFunctionerrorCode
(error: unknown)
tools/package/src/package-json.ts:17
↓ 1 callersFunctionerrorCode
(error: unknown)
tools/package/src/workspaces.ts:20
↓ 1 callersFunctionerrorMessage
(error: unknown)
packages/inquirer/inquirer.vitest.ts:115
↓ 1 callersFunctionexitHouse
()
packages/inquirer/examples/hierarchical.ts:12
↓ 1 callersFunctionfail
(error: unknown)
packages/core/src/lib/use-keypress.ts:22
↓ 1 callersFunctionfetchAsyncQuestionProperty
* Resolve a question property value if it is passed as a function. * This method will overwrite the property on the question object with the received
packages/inquirer/src/ui/prompt.ts:62
↓ 1 callersFunctionfetchResults
()
packages/search/src/index.ts:148
↓ 1 callersFunctionfindNodeModulesPackageJson
(name: string, fromDirectory: string)
tools/package/src/package-json.ts:54
↓ 1 callersFunctionfindPackageJson
(fromDirectory: string)
tools/package/src/package-json.ts:47
↓ 1 callersFunctionformatPath
(propertyPath: string[])
tools/setup-packages/src/utils/jsonc.ts:76
↓ 1 callersFunctiongetBooleanValue
(value: string)
packages/confirm/src/index.ts:96
↓ 1 callersFunctiongetCallSites
()
packages/core/src/lib/create-prompt.ts:47
↓ 1 callersFunctiongetDefaultKeybindings
()
packages/core/src/lib/key.ts:16
↓ 1 callersFunctiongetDefaultTheme
()
packages/core/src/lib/theme.ts:224
↓ 1 callersMethodgetFullOutput
()
packages/testing/src/buffered-stream.ts:44
↓ 1 callersFunctiongetListSearch
( choices: ReadonlyArray< Separator | { value: string; name?: string; disabled?: boolean | string } >,
packages/search/search.vitest.ts:23
↓ 1 callersFunctiongetObservableSymbol
()
packages/inquirer/src/utils/observable.ts:59
↓ 1 callersMethodgetQuestions
( questions: PromptSession<A>, )
packages/inquirer/src/ui/prompt.ts:245
↓ 1 callersFunctiongetSelectedChoice
( input: string, choices: ReadonlyArray<Separator | NormalizedChoice<Value>>, )
packages/rawlist/src/index.ts:97
↓ 1 callersFunctionhandleChange
()
packages/core/src/lib/hook-engine.ts:35
↓ 1 callersFunctionhasRuntimeDependency
(pkg: PackageJson, dependencyName: string)
tools/package/src/peer-dependencies.ts:35
↓ 1 callersFunctionheight
(content: string)
packages/core/src/lib/screen-manager.ts:17
↓ 1 callersFunctioninWorkspace
(cwd: string, file: string)
tools/setup-packages/src/index.vitest.ts:54
↓ 1 callersMethodinput
()
packages/testing/src/screen.ts:27
← previousnext →101–200 of 422, ranked by callers