packageEntries(
name: string,
target: string
): Record<string, string>
Build the two import map entries a package needs to resolve both itself and its subpaths.
Deno's importMap resolution requires a trailing-slash entry
for subpath imports, and a
jsr: or npm: trailing-slash target only resolves
in the jsr:/ or npm:/ form.
Exact target for name.