refactor(boot): narrow legacy-links exports and refresh resolution JSDoc

isPackagedExecutable has one caller in its own module; the installation traversal comment names the runtime resolver instead of the removed fallback directory.
This commit is contained in:
imccyu committed 2026-09-19 14:12:02 +08:00
1 parent 938b62c0aa
commit d71b8a2f1c
2 files changed
+2 -2

No files matched your search

@@ -6,7 +6,7 @@ import { realpathSync } from 'node:fs'
* Return whether the process reads application modules from pkg's virtual filesystem.
* @returns whether pkg owns the module filesystem.
*/
export function isPackagedExecutable(): boolean {
function isPackagedExecutable(): boolean {
return (process as NodeJS.Process & { pkg?: unknown }).pkg !== undefined
}
+1 -1
View File
@@ -204,7 +204,7 @@ function profileDependencyNames(manifest: ProfileManifest): string[] {
return [...Object.keys(manifest.dependencies ?? {}), ...Object.keys(manifest.peerDependencies ?? {})]
}
/** Resolve the installation generation that every profile must find through the fallback directory. */
/** Resolve the installation packages that the runtime resolver supplies to every profile. */
function resolveModuleFallbackEntries(
installAnchor: string, skippedBundles: ReadonlySet<string>,
): {