Skip to content

Commit

Permalink
chore: apply automated updates
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 8, 2024
1 parent e2dc735 commit e1234ea
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/types/packagejson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export interface PackageJson {
* The url to your project’s issue tracker and / or the email address to which issues should be reported. These are helpful for people who encounter issues with your package.
*/
bugs?:
| string
| {
url?: string;
email?: string;
};
| string
| {
url?: string;
email?: string;
};

/**
* You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you’re placing on it.
Expand All @@ -49,15 +49,15 @@ export interface PackageJson {
* For GitHub, GitHub gist, Bitbucket, or GitLab repositories you can use the same shortcut syntax you use for npm install:
*/
repository?:
| string
| {
type: string;
url: string;
/**
* If the `package.json` for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives:
*/
directory?: string;
};
| string
| {
type: string;
url: string;
/**
* If the `package.json` for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives:
*/
directory?: string;
};

/**
* The `scripts` field is a dictionary containing script commands that are run at various times in the lifecycle of your package.
Expand Down Expand Up @@ -299,10 +299,10 @@ export interface PackageJson {
export type PackageJsonPerson =
| string
| {
name: string;
email?: string;
url?: string;
};
name: string;
email?: string;
url?: string;
};

type PackageJsonExportKey =
| "."
Expand All @@ -316,9 +316,9 @@ type PackageJsonExportKey =

type PackageJsonExportsObject = {
[P in PackageJsonExportKey]?:
| string
| PackageJsonExportsObject
| Array<string | PackageJsonExportsObject>;
| string
| PackageJsonExportsObject
| Array<string | PackageJsonExportsObject>;
};

export type PackageJsonExports =
Expand Down

0 comments on commit e1234ea

Please sign in to comment.