Skip to content

Commit

Permalink
refactor: remove overrides fixed in PackageJson
Browse files Browse the repository at this point in the history
  • Loading branch information
velut committed Apr 20, 2024
1 parent 82a17d2 commit 77977d8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/get-package-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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(),
});

/**
Expand Down

0 comments on commit 77977d8

Please sign in to comment.