π File detail
utils/nativeInstaller/index.ts
π― 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)
checkInstallcleanupNpmInstallationscleanupOldVersionscleanupShellAliasesinstallLatestlockCurrentVersionremoveInstalledSymlinktype 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'