diff --git a/src/get-abbreviated-packument.ts b/src/get-abbreviated-packument.ts index d072467..e7ca3f0 100644 --- a/src/get-abbreviated-packument.ts +++ b/src/get-abbreviated-packument.ts @@ -3,8 +3,8 @@ import { z } from "zod"; import { assertValidPackageName } from "./assert-valid-package-name"; import { DistTags } from "./dist-tags"; import { fetchData } from "./fetch-data"; +import { PackageManifest } from "./get-package-manifest"; import { npmRegistryUrl } from "./npm-registry"; -import { PackageManifest } from "./package-manifest"; export const AbbreviatedPackument = z.object({ /** Package name. */ diff --git a/src/package-manifest.ts b/src/get-package-manifest.ts similarity index 100% rename from src/package-manifest.ts rename to src/get-package-manifest.ts diff --git a/src/index.ts b/src/index.ts index 963e937..28a64be 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ TODO: export { PackageJson } from "zod-package-json"; export { AbbreviatedPackument, getAbbreviatedPackument } from "./get-abbreviated-packument"; +export { PackageManifest } from "./get-package-manifest"; export { RegistryMetadata, getRegistryMetadata } from "./get-registry-metadata"; export { RegistrySigningKeys, getRegistrySigningKeys } from "./get-registry-signing-keys"; export { npmRegistryDownloadsApiUrl, npmRegistryUrl } from "./npm-registry"; -export { PackageManifest } from "./package-manifest";