PkgManagerOpts
Defined in: packages/core/src/presets/pkg-manager.ts:25
Options for pkgManager.
Properties
Section titled “Properties”fetcher?
Section titled “fetcher?”
optionalfetcher?: (url) =>Promise<Response>
Defined in: packages/core/src/presets/pkg-manager.ts:35
HTTP fetcher used to back the /net/http and /net/https mounts. When
omitted, no HTTP registry mounts are installed.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<Response>
importEsm?
Section titled “importEsm?”
optionalimportEsm?: (source) =>Promise<unknown>
Defined in: packages/core/src/presets/pkg-manager.ts:41
Platform-specific ESM loader used to evaluate fetched package code. Optional at build time — boot replaces it with the PlatformCapabilities implementation. Provide explicitly only for testing.
Parameters
Section titled “Parameters”source
Section titled “source”string
Returns
Section titled “Returns”Promise<unknown>
sources?
Section titled “sources?”
optionalsources?:string[]
Defined in: packages/core/src/presets/pkg-manager.ts:30
Registry URLs seeded into /etc/pkg/sources.list, one per line. Each URL
is a trusted code origin (see the trust contract on pkgManager).