From 77977d89cac12d36f432c1ead483f51ad6e62e26 Mon Sep 17 00:00:00 2001 From: Edoardo Scibona <12040076+velut@users.noreply.github.com> Date: Sun, 21 Apr 2024 00:34:02 +0200 Subject: [PATCH] refactor: remove overrides fixed in PackageJson --- src/get-package-manifest.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/get-package-manifest.ts b/src/get-package-manifest.ts index a29ba37..03d4edd 100644 --- a/src/get-package-manifest.ts +++ b/src/get-package-manifest.ts @@ -108,9 +108,6 @@ export const PackageManifest = PackageJson.extend({ */ homepage: z.coerce.string().optional(), - /** Configuration values for scripts. */ - config: z.record(z.unknown()).optional(), - /** Deprecation message. @@ -119,13 +116,6 @@ export const PackageManifest = PackageJson.extend({ and with coercion it becomes either `"true"` or `"false"`. */ deprecated: z.coerce.string().optional(), - - /** - Main entry point for the package when used in a browser environment. - @see {@link https://docs.npmjs.com/cli/v10/configuring-npm/package-json#browser} - @see {@link https://gist.github.com/defunctzombie/4339901/49493836fb873ddaa4b8a7aa0ef2352119f69211} - */ - browser: z.union([z.string(), z.record(z.union([z.string(), z.boolean()]))]).optional(), }); /**