πŸ“„ File detail

utils/nativeInstaller/index.ts

🧩 .tsπŸ“ 19 linesπŸ’Ύ 456 bytesπŸ“ text
← Back to All Files

🎯 Use case

This file lives under β€œutils/”, which covers cross-cutting helpers (shell, tempfiles, settings, messages, process input, …). On the API surface it exposes checkInstall, cleanupNpmInstallations, cleanupOldVersions, cleanupShellAliases, and installLatest (and more) β€” mainly functions, hooks, or classes. It composes internal code from installer (relative imports). What the file header says: Native Installer - Public API This is the barrel file that exports only the functions actually used by external modules. External modules should only import from this file.

Generated from folder role, exports, dependency roots, and inline comments β€” not hand-reviewed for every path.

🧠 Inline summary

Native Installer - Public API This is the barrel file that exports only the functions actually used by external modules. External modules should only import from this file.

πŸ“€ Exports (heuristic)

  • checkInstall
  • cleanupNpmInstallations
  • cleanupOldVersions
  • cleanupShellAliases
  • installLatest
  • lockCurrentVersion
  • removeInstalledSymlink
  • type SetupMessage

πŸ–₯️ Source preview

/**
 * Native Installer - Public API
 *
 * This is the barrel file that exports only the functions actually used by external modules.
 * External modules should only import from this file.
 */

// Re-export only the functions that are actually used
export {
  checkInstall,
  cleanupNpmInstallations,
  cleanupOldVersions,
  cleanupShellAliases,
  installLatest,
  lockCurrentVersion,
  removeInstalledSymlink,
  type SetupMessage,
} from './installer.js'