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:
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
|
||||
}
|
||||
|
||||
|
||||
@@ -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>,
|
||||
): {
|
||||
|
||||
Reference in new issue
Block a user