SYMBOL INDEX (117 symbols across 61 files) FILE: src/catalog/detect.ts function getCatalogProvider (line 5) | function getCatalogProvider(agent: Agent): CatalogProvider | null { FILE: src/catalog/handler.ts function splitPackagesAndFlags (line 16) | function splitPackagesAndFlags(args: string[]): { packages: string[], fl... function getDepType (line 28) | function getDepType(flags: string[]): DepType { function resolveVersion (line 36) | async function resolveVersion(pkgName: string): Promise { function resolveCatalogForPackage (line 41) | async function resolveCatalogForPackage( function handleCatalogInstall (line 63) | async function handleCatalogInstall( FILE: src/catalog/package-json.ts function findClosestPackageJson (line 4) | function findClosestPackageJson(cwd: string): string | null { function detectIndent (line 17) | function detectIndent(content: string): string { type DepType (line 22) | type DepType = 'dependencies' | 'devDependencies' | 'peerDependencies' function updatePackageJsonCatalogRefs (line 24) | function updatePackageJsonCatalogRefs( FILE: src/catalog/pnpm.ts function findPnpmWorkspaceYaml (line 6) | function findPnpmWorkspaceYaml(cwd: string): string | null { method detect (line 20) | async detect(cwd: string): Promise { method findPackage (line 57) | findPackage(config: CatalogConfig, pkgName: string): CatalogInfo | undef... method addPackage (line 61) | async addPackage(config: CatalogConfig, catalogName: string, pkgName: st... FILE: src/catalog/prompt.ts constant SKIP (line 5) | const SKIP = '__skip__' constant CREATE_NEW (line 6) | const CREATE_NEW = '__create_new__' type CatalogSelection (line 8) | interface CatalogSelection { function promptSelectCatalog (line 12) | async function promptSelectCatalog( function promptNewCatalogName (line 54) | async function promptNewCatalogName(): Promise { FILE: src/catalog/types.ts type CatalogInfo (line 1) | interface CatalogInfo { type CatalogConfig (line 6) | interface CatalogConfig { type CatalogProvider (line 13) | interface CatalogProvider { function getCatalogRef (line 19) | function getCatalogRef(catalogName: string): string { FILE: src/commands/ni.ts method suggest (line 56) | async suggest(input: string, choices: Choice[]) { FILE: src/commands/nr.ts method suggest (line 48) | async suggest(input: string, choices: Choice[]) { method onState (line 54) | onState(state) { FILE: src/commands/nun.ts method suggest (line 50) | async suggest(input: string, choices: Choice[]) { FILE: src/completion.ts function getCompletionSuggestions (line 49) | function getCompletionSuggestions(args: string[], ctx: RunnerContext | u... FILE: src/config.ts type Config (line 18) | interface Config { function getConfig (line 36) | async function getConfig(): Promise { function getDefaultAgent (line 65) | async function getDefaultAgent(programmatic?: boolean) { function getGlobalAgent (line 72) | async function getGlobalAgent() { function getRunAgent (line 77) | async function getRunAgent() { function getUseSfw (line 82) | async function getUseSfw() { function getCatalog (line 87) | async function getCatalog() { FILE: src/detect.ts type DetectOptions (line 10) | interface DetectOptions { function detect (line 23) | async function detect({ autoInstall, programmatic, cwd }: DetectOptions ... FILE: src/environment.ts type EnvironmentOptions (line 3) | interface EnvironmentOptions { constant DEFAULT_ENVIRONMENT_OPTIONS (line 7) | const DEFAULT_ENVIRONMENT_OPTIONS: EnvironmentOptions = { function getEnvironmentOptions (line 11) | function getEnvironmentOptions(): EnvironmentOptions { FILE: src/fetch.ts type NpmPackage (line 6) | interface NpmPackage { type NpmRegistryResponse (line 19) | interface NpmRegistryResponse { function fetchNpmPackages (line 23) | async function fetchNpmPackages(pattern: string): Promise { FILE: src/fs.ts function getPackageJSON (line 6) | function getPackageJSON(ctx?: RunnerContext): any { FILE: src/monorepo.ts constant IGNORE_PATHS (line 11) | const IGNORE_PATHS = [ function findPackages (line 19) | function findPackages(ctx?: RunnerContext) { function promptSelectPackage (line 38) | async function promptSelectPackage(ctx?: RunnerContext, command?: string... FILE: src/package.ts type PackageScript (line 5) | interface PackageScript { function readWorkspaceScripts (line 11) | async function readWorkspaceScripts(ctx: RunnerContext | undefined, args... function readPackageScripts (line 31) | function readPackageScripts(ctx: RunnerContext | undefined): PackageScri... FILE: src/parse.ts class UnsupportedCommand (line 7) | class UnsupportedCommand extends Error { method constructor (line 8) | constructor({ agent, command }: { agent: Agent, command: Command }) { function getCommand (line 13) | function getCommand( function serializeCommand (line 128) | function serializeCommand(command?: ResolvedCommand) { FILE: src/runner.ts constant DEBUG_SIGN (line 18) | const DEBUG_SIGN = '?' constant PROGRAMMATIC_SIGN (line 19) | const PROGRAMMATIC_SIGN = '--programmatic' type RunnerContext (line 21) | interface RunnerContext { type ExtendedResolvedCommand (line 27) | interface ExtendedResolvedCommand extends ResolvedCommand { type RunOptions (line 31) | interface RunOptions { type Runner (line 47) | type Runner = (agent: Agent, args: string[], ctx?: RunnerContext) => Pro... function runCli (line 49) | async function runCli(fn: Runner, options: DetectOptions & RunOptions & ... function getCliCommand (line 71) | async function getCliCommand( function run (line 102) | async function run(fn: Runner, args: string[], options: DetectOptions & ... FILE: src/storage.ts type Storage (line 5) | interface Storage { function load (line 13) | async function load(fn?: (storage: Storage) => Promise | boolea... function dump (line 28) | async function dump() { FILE: src/utils.ts constant CLI_TEMP_DIR (line 9) | const CLI_TEMP_DIR = join(os.tmpdir(), 'antfu-ni') function remove (line 11) | function remove(arr: T[], v: T) { function exclude (line 19) | function exclude(arr: T[], ...v: T[]) { function cmdExists (line 23) | function cmdExists(cmd: string) { type TempFile (line 27) | interface TempFile { function openTemp (line 35) | async function openTemp(): Promise { function writeFileSafe (line 65) | async function writeFileSafe( function limitText (line 89) | function limitText(text: string, maxWidth: number) { function terminalLink (line 95) | function terminalLink(text: string, url: string, options?: { fallback?: ... function formatPackageWithUrl (line 109) | function formatPackageWithUrl(pkg: string, url?: string, limits = 80) { FILE: test/na/bun.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/na/deno.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/na/npm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/na/pnpm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/na/yarn.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/na/yarn@berry.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/ni/bun.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/ni/deno.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/ni/interactive.spec.ts function niRunner (line 26) | async function niRunner(agent: Agent, args: string[], ctx?: RunnerContex... FILE: test/ni/npm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/ni/pnpm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/ni/yarn.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/ni/yarn@berry.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nlx/bun.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nlx/deno.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nlx/npm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nlx/pnpm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nlx/yarn.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nlx/yarn@berry.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nr/bun.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nr/deno.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nr/nodeRunAgent.spec.ts function _ (line 9) | function _(arg: string, expected: ResolvedCommand) { function expectError (line 19) | function expectError(arg: string) { FILE: test/nr/npm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nr/pnpm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nr/yarn.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nr/yarn@berry.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nun/bun.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nun/deno.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nun/npm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nun/pnpm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nun/yarn.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nun/yarn@berry.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nup/bun.spec.ts function _ (line 5) | function _(arg: string, expected: string | null) { FILE: test/nup/deno.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nup/npm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nup/pnpm.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nup/yarn.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/nup/yarn@berry.spec.ts function _ (line 5) | function _(arg: string, expected: string) { FILE: test/programmatic/detect.spec.ts function detectTest (line 10) | function detectTest(fixture: string, agent: string) { FILE: test/programmatic/runCli.spec.ts function runCliTest (line 12) | function runCliTest(fixtureName: string, agent: string, runner: Runner, ...