Skip to content

Commit

Permalink
fix: optional fields from publishConfig (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz authored Oct 8, 2024
1 parent 0bec646 commit 3366dd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types/packagejson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ export interface PackageJson {
/**
* The registry that will be used if the package is published.
*/
registry: string;
registry?: string;
/**
* The tag that will be used if the package is published.
*/
tag: string;
tag?: string;
/**
* The access level that will be used if the package is published.
*/
access: "public" | "restricted";
access?: "public" | "restricted";
/**
* **pnpm-only**
*
Expand Down

0 comments on commit 3366dd8

Please sign in to comment.